Hello, I wish to suggest a feature that could benefit all modders.
In playing mods like XCF and XPiratez, sometimes the mission can spawn on a texture having no terrain, thus the mars terrain is always the one used to replace of all the missing maps in the mission. Thus this can ruins the show or mission.
I propose of having a defaultTerrain feature in mapscript. If the mapscript encounters a texture having no terrain, the defaultTerrain would be used instead.
Sample code
- type: DESERTSAMPLE
commands:
- type: addUFO
defaultTerrain: URBAN #If texture has no terrain then URBAN is used instead.
- type: addCraft
defaultTerrain: URBAN #If texture has no terrain then URBAN is used instead.
- type: addBlock
size: 2
executions: 3
defaultTerrain: URBAN #If texture has no terrain then URBAN is used instead.
- type: fillArea
defaultTerrain: URBAN #If texture has no terrain then URBAN is used instead.