Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,561 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
load object from .$$m file? #398956
04/09/12 11:26
04/09/12 11:26
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
Does anyone know how to load object base from .$$m file? I have allot of objects im my level about 2500+ since it's a open terrain and mostly compose of trees for a flight and driving game. Problem is WMP to WMB compiler can't compile a level with so many objects. I use sivan's Mapbuilder to add the objects and it comes easy thanks allot to him.

Anyone know a similar code that i can use?

Re: load object from .$$m file? [Re: wrekWIRED] #398957
04/09/12 11:33
04/09/12 11:33
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
You probably want to wait for the next release (which is the actual release candidate) because it has the following change:

"The new map compiler with different memory management can now compile and light levels of theoretically unlimited size."

That could fix your problem wink


But basically you could also write a reader for those $$m files, as you can read about the format wink

Re: load object from .$$m file? [Re: Rei_Ayanami] #398971
04/09/12 15:37
04/09/12 15:37
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
It may take awhile before the new map compiler is release. I check mapbuilder's sample project that uses alternate way to add objects from a text file but a simple piece code that's bugging me. engine always tells me that 'file_exists' is undeclared identifier. the function works befor but now it keeps giving me the error on all my code. Tried reinstalling the but same problem. any idea?

Re: load object from .$$m file? [Re: wrekWIRED] #398972
04/09/12 17:12
04/09/12 17:12
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
hi,
I had no problem with compiling huge amount of entities, but will check it tomorrow. I'm planning to make the compiler options of MapBuilder be editable by a text file in next update.
file_exists must work, I tested it with latest release of both A7 and A8. Please use always the latest engine update! Maybe it requires in your script #include strio.c but probably not...


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: load object from .$$m file? [Re: sivan] #398998
04/10/12 03:56
04/10/12 03:56
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
Thats greate. I'll look forward into that update. Still can't get file_exists to work. Must be with some of my vc++ libraries causing error. I'm going to reformat my pc anyway.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1