Mapgen: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
</pre></code> | </pre></code> | ||
where MapSeed is a random number and MapName a string for the mapname. The map have to not exist. | where MapSeed is a random number and MapName a string for the mapname. The map have to not exist. Currently it only can generate a Greenfield like map. | ||
Revision as of 22:06, 9 January 2013
since version 92.0 spring contains a simple map generator. To test it, spring has to be started with a script.txt which contains two lines:
MapName=gen-123;
MapSeed=123;
where MapSeed is a random number and MapName a string for the mapname. The map have to not exist. Currently it only can generate a Greenfield like map.
for details see:
https://github.com/spring/spring/commit/974e5b42c5bcde30a704218448aa288764642d55