Mapgen: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Spring 92.0 will contain a simple map generator. To test it, spring has to be started with a script.txt which contains the line: | |||
<code><pre> | <code><pre> | ||
[GAME] | |||
MapSeed=123; | MapSeed=123; | ||
</pre></code> | </pre></code> | ||
Where 123 can be replaced with any number to generate another map. | |||
MapName should not be present in script.txt | |||
The generated map will be fairly generic map, aimed at TA-like mods. | |||
It currently takes into account the amount of players and the allies. | |||
Future work will add lua bindings, allowing maps to be generated from lua. | |||
This way, mods could supply their own map generator. | |||
for details see: | for details see: | ||
https://github.com/ | * {{Sourcelinkhash|974e5b42c5bcde30a704218448aa288764642d55}} | ||
* https://github.com/MadrMan/spring/commits/mapgen | |||
[[Category: Development]] | [[Category: Development]] | ||
Latest revision as of 03:21, 23 August 2013
Spring 92.0 will contain a simple map generator. To test it, spring has to be started with a script.txt which contains the line:
[GAME]
MapSeed=123;
Where 123 can be replaced with any number to generate another map. MapName should not be present in script.txt
The generated map will be fairly generic map, aimed at TA-like mods. It currently takes into account the amount of players and the allies.
Future work will add lua bindings, allowing maps to be generated from lua. This way, mods could supply their own map generator.
for details see: