Adding new terrain for intermediate xml users

euskingc

Chieftain
Joined
Oct 22, 2008
Messages
72
I started writing a full tutorial, but had a crash near the end, so the world get's a quick reference on the most important pitfall when adding new terrain instead.

When adding your new <TerrainInfo> entry, make sure you place it BEFORE the coast entry, or all the new terrain will start behaving very strangely. They'll basically show the wrong graphics and the first two new entries will try to sink into the earth. Everything after that will "shuffle left two paces", if you get my drift.

I haven't figure out why yet, so if anyone in the know knows and wants to share what they know, then please... tell us what you know. :lol:
 
Hill has to be the last and Peak the one before that because they are not the same as the rest. They represent 2 of the four basic terrains Mountains, Hills, Coast and Ocean. I have not had any trouble as long as I leave those two last.
 
Top Bottom