How do you script vegetation into the map like wheat. Do you put [vegetation]? I don't know the "right phrasing" for the scripting of plants.
vegetation=wheat
vegetation=wheat
I dunno, maybe this is what you are looking for?
http://docs.openclonk.org/en/sdk/script/fn/PlaceVegetation.html
http://docs.openclonk.org/en/sdk/script/fn/PlaceVegetation.html
I am not 100% sure, but wheat should have a Place() function. So if you want ten wheat in your scenario, you can just do Wheat->Place(10)
Don't use the [Vegetation] section of the scenario.txt, it's outdated.
All plants can be inserted via script (so Initialize in your scenario preferably) by using Plant->Place(x); where Plant is the id and x the amount (there are more parameters, just look it up in the plants library - maybe some of the plants even add something to the function in their own script).
All plants can be inserted via script (so Initialize in your scenario preferably) by using Plant->Place(x); where Plant is the id and x the amount (there are more parameters, just look it up in the plants library - maybe some of the plants even add something to the function in their own script).
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill