SM3 Feature Placer

SM3 Feature Placer

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

SM3 Feature Placer

Post by Maelstrom »

Im going to attempt to make the SM3 Feature Placer thingy like people were asking for a while back. But first, some things i need to know:

1) How/where is the data stored for the map? How is each feature defined?

2) I heard somewhere that Spring is big/small endian, whatever windows isnt. So that means I would have to reverse all the numbers im outputting right?

3) Anything else i should know about features?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

An in game version using a group AI would be perfectly feasible.

*rummages around for a compiler*
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

nice :)

1)

I wrote a bit about it in the start position editor thread:
http://taspring.clan-sy.com/phpbb/viewt ... 491#128491

2)

Not really, basically all the spring formats are little endian. Even though spring supports both "endianesses", no big endian platform is currently supported. MacOS maybe, in the future.

3)

Not sure, they're pretty simple IMO ;)
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Post by LOrDo »

Good work Mael, but err...keep a close eye on the fatal bugs ok? Those seem to be your weakness in programming.

Suggestion: Since youve made so many tiny programs that are made the same way, perhaps one big program with all of those combined is in order? :P
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Maybe one day ill stick them in together, but besides the SMD editor, which programs have fatal bugs? I havnt heard about any besides in the SMD creator, and I lost the source to that so i cant fix it.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Sucess! I can reproduce the output of the program thats already out there. I now know how to write the files, now I just need to make the GUI. Over to the other thread for that one.

Thanks for the help!
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Post by LOrDo »

Well, I couldnt get your start position editor to work without crashing. And TBH, havent tried any others.
User avatar
Maelstrom
Posts: 1950
Joined: 23 Jul 2005, 14:52

Post by Maelstrom »

Reporting bugs FTW. No one ever told me they found a single bug in it. No one. If i dont know its broke, i cant bloody well fix it! Please, report bugs!
Post Reply

Return to “Engine”