Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 20:05
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, kzhao, alibaba, 7th_zorro), 650 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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