dalek master
Apr 01, 2006, 02:41 PM
Ive been trying to make a mod, with lots of different types of terrain :)
Ive managed to change some to make them look different etc, but whenever I start up the game (under "custom game" choice), it'll crash if Ive added a totaly new terrain altogether using CIV4TerrainInfos.xml. Is there somewhere else I have to go to be able to use these in the worldbuilder and scenarios, without the game crashing when it trys to boot a new game?
Do I have to edit the way the game organises its terrain (I shudder), or twiddle soemtihng else, or what?
TheLopez
Apr 01, 2006, 02:44 PM
What are the errors that you are getting?
dalek master
Apr 01, 2006, 02:48 PM
What are the errors that you are getting?
just ends with a message telling me the game has not worked, to be honest, I realy just need advice on how to make new terrain.
surt
Apr 01, 2006, 08:07 PM
CIV4ArtDefines_Terrain.xml
in the xml/art directory.
I'm guessing that's mandatory.
I wouldn't be too surprised to find out that the terrains are hardcoded somewhere though.
Paasky
Apr 02, 2006, 03:20 AM
Have you tested these by adding them in the worldbuilder into some default maps? To see if new terrains can be added at all.
dalek master
Apr 02, 2006, 04:09 AM
Have you tested these by adding them in the worldbuilder into some default maps? To see if new terrains can be added at all.
I can't load a scenario at all, this is ofcourse in the mod.
Zuul
Apr 02, 2006, 09:13 AM
I dont think you can ever load maps/scenarios that was created without that terrain.
dalek master
Apr 04, 2006, 04:00 AM
No worries Ive got it sorted :)
Chalid
Apr 04, 2006, 05:01 AM
Would you be so kind and tell us what to do to add new terrains that work?
dalek master
Apr 04, 2006, 06:47 AM
Would you be so kind and tell us what to do to add new terrains that work?
Turns out it was another bit of the mod that was the problem, but here's how you add them, if it earns me back some dignity :sad:. Just copy and rename a new terrain at the bottom of the page, making sure you add a name for it in CIV4GameTextInfos_Objects.xml. Also, assign your terrain to an art tag (CIV4ArtDefines_Terrain.xml), so that it won't apear pink when you start it up.
This is enough to get a terrain into the game without the whole thing crashing. :blush:
Chalid
Apr 04, 2006, 07:11 AM
OK thanks. Maybe I made another error so that it didn't work for me the last time i tried... So i'll try this again as soon as i am back at home.