I wish I develop a improvement to allow modders to set contraint on map composition of terrain
It is usefull for OpenTFTD: first column on Island , first row of port, landing submarine base,
but I think that it is usefull to Siberia terrain too, if you have some interesting about reuse it. and plane crash on desert
There are two different issues at stake that can't be modded right now:
- How missions are generated and the terrain is chosen
- How the Battlescape is created
Solving the first issue would allow to use the following conditions for all missions:
* Multipart missions (condition only allowed for Cydonia mission)
* The UFO disappearing after reaching its target (only allowed to use for Terror Sites)
* Missions in northern/southern hemispheres (only allowed to use for UFO missions)
* Battlescape size is fixed for each mission, i.e., you can't choose between a 50x50 or a 60x60 battlescape for a terror site.
Allowing for all of this to be moddable (i.e. be applied to all missions and not restricted) would open more possibilities. There are also other conditions that could be created, such as assiging specific terrains for countries/regions.
The second issue is a bit more complicated to explain but while generating the Battlescape, the game does the following:
* Determines the location of the UFO (on craft assaults)
* Determines the location of the XCOM dropship
* Determines the location of roads (on terror sites)
* Fills the remaining space with map blocks, according to the parameters defined on the ruleset/mod
Now here, what would be interesting would be to actually create your own battlescape generation rules. Some examples:
* Allow the road generation rules to be applied to any terrains, and have more than 1 road.
* Allow for specific map blocks to be placed on specific locations of the battlescape (center, corners, sides, etc.) rather than randomly
* Set particular conditions for map blocks, i.e., if URBAN99.MAP is used, then the generator can only use URBAN98 and 97 on the adjacent spaces
This second issue is a bit more complicated for modders since they would have to create their own specific rules.