pepper2000
King
- Joined
- Apr 14, 2013
- Messages
- 899
With my earlier issue on terrains, I had forgotten about Dancing Hoskuld's warning about having PEAK and HILL at the end of the file. That's probably what prevented it from working. At least it's nice that we can have a mountainous Venus without defining terrains especially for that.
To fix the problem, I did the following:
1) Remove the SLIMY_COAST, SLIMY_OCEAN, PEAK, and HILL terrains from Assets\XML\Terrain\CIV4TerrainInfos.xml. Through trial and error, I found that SLIMY_COAST and SLIMY_OCEAN had also better come after the others.
2) Define new terrains in my modmod as before.
3) Create a new folder Assets\Modules\zTerrains
4) Copy C2C_CIV4TerrainSchema.xml and create a new file, which I called Tail_CIV4TerrainInfos.xml, and place the SLIMY_COAST, SLIMY_OCEAN, PEAK, and HILL terrains there.
5) Don't forget to load this file in MLF_CIV4ModularLoadingControls.xml
It appears to me that, due to the load order issue, it is impossible to define a new terrain in a modmod that is entirely contained in the My_Mods folder. Therefore, my request is that Steps 1, 3, 4, and 5 above be committed to the SVN. Unless there is a better solution that I haven't found.
If all goes well, the next version of my space colonization mod will have terrains for all eight planets, plus Asteroid Surface and Kuiper Belt Object.
To fix the problem, I did the following:
1) Remove the SLIMY_COAST, SLIMY_OCEAN, PEAK, and HILL terrains from Assets\XML\Terrain\CIV4TerrainInfos.xml. Through trial and error, I found that SLIMY_COAST and SLIMY_OCEAN had also better come after the others.
2) Define new terrains in my modmod as before.
3) Create a new folder Assets\Modules\zTerrains
4) Copy C2C_CIV4TerrainSchema.xml and create a new file, which I called Tail_CIV4TerrainInfos.xml, and place the SLIMY_COAST, SLIMY_OCEAN, PEAK, and HILL terrains there.
5) Don't forget to load this file in MLF_CIV4ModularLoadingControls.xml
It appears to me that, due to the load order issue, it is impossible to define a new terrain in a modmod that is entirely contained in the My_Mods folder. Therefore, my request is that Steps 1, 3, 4, and 5 above be committed to the SVN. Unless there is a better solution that I haven't found.
If all goes well, the next version of my space colonization mod will have terrains for all eight planets, plus Asteroid Surface and Kuiper Belt Object.