jdmonin / JSettlers2

Java Settlers project home, downloads, and GPLv3 source code. To download the latest version as a JAR, see https://github.com/jdmonin/JSettlers2/releases/latest .
http://nand.net/jsettlers/
GNU General Public License v3.0
157 stars 63 forks source link

[modding] new maps with rulesets #46

Closed kotc closed 3 years ago

kotc commented 5 years ago

would be great if particular map be stored/loaded as a text config for example as a set of rules + letters map. [config] name=some name rule1=val1 rule2=val2 [map] sslllss sllwLs

for map tiles: s - sea S - sea or random land (without gold) l - random land (without gold) L - random land (with gold) w/e/c/o/h/g - wood, wheat, clay, ore, sheep, gold upper case of above - random land or gold

additional features:

jdmonin commented 5 years ago

Very interesting idea, thank you!

jdmonin commented 3 years ago

Thanks again, I'm adding this to the roadmap/todo list in Readme.developer.md.

Meanwhile, for saving and loading a game, v2.3 added a json savegame format and *SAVEGAME*, *LOADGAME* debug commands. It's a complex format with extra server setup needed, but it may be useful depending on goals. Details in Readme.developer.md.