I want to know the structure of the map files, how they work (smd is easy but the other) because i want to write a script (top secret )
So i need how they were building (the .smt and sm ... dont know)
Where there are the inforamtion about height texture feature and so on and where can i read in and how can i compile it
SPring map files (smt and the other)
Moderator: Moderators
- thesleepless
- Posts: 417
- Joined: 24 Oct 2007, 04:49
Re: SPring map files (smt and the other)
if you know C++, read the source code for loading maps, it'll step you through the file one chunk at a time
Re: SPring map files (smt and the other)
There is also a nice map editor. Afaik it's open source so you can also look there.
Re: SPring map files (smt and the other)
oh no, i dont want to read the source (but i can code C++)
-
- Posts: 179
- Joined: 17 Jul 2007, 00:52
Re: SPring map files (smt and the other)
Then you are out of luck
I had no other choice to read it too.
But it is not very complex, and documented quite well inside the source files.
Just look here:
http://github.com/spring/spring/blob/2e ... /mapfile.h
and maybe here too:
http://github.com/spring/spring/blob/2e ... apFile.cpp
Maybe if I get bored at work I'll create an overview image
EDIT:
Done, maybe this helps a little:
HTML Version: http://saddam.ath.cx/mapfile.html
Or see attached images.
I had no other choice to read it too.
But it is not very complex, and documented quite well inside the source files.
Just look here:
http://github.com/spring/spring/blob/2e ... /mapfile.h
and maybe here too:
http://github.com/spring/spring/blob/2e ... apFile.cpp
Maybe if I get bored at work I'll create an overview image
EDIT:
Done, maybe this helps a little:
HTML Version: http://saddam.ath.cx/mapfile.html
Or see attached images.
- Attachments
-
- smtformat.png
- (7.03 KiB) Downloaded 16 times
-
- smfformat.png
- (59.55 KiB) Downloaded 13 times
Re: SPring map files (smt and the other)
thx, and have someone the COMPELTE source of mothersmap Conv?