Civ4SeaLevelInfo: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
Luthervian (talk | contribs) (reverted and removed spam) |
|||
Line 4: | Line 4: | ||
==Example== | |||
In the following example of code, please note that there is a specific order of all of the tags. You ''must'' list the tags in this order for the game to properly interpret your file. | |||
<SeaLevelInfos> | |||
<SeaLevelInfo> | |||
<Type>SEALEVEL_LOW</Type> | |||
<Description>TXT_KEY_SEALEVEL_LOW</Description> | |||
<iSeaLevelChange>-8</iSeaLevelChange> | |||
</SeaLevelInfo> | |||
</SeaLevelInfos> | |||
{{Civ4_XML_Files}} |
Revision as of 14:15, 2 July 2010
The Civ4SeaLevelInfo file declares the three types of sea levels used for determining the percentage of water during map generation.
All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.
Example
In the following example of code, please note that there is a specific order of all of the tags. You must list the tags in this order for the game to properly interpret your file.
<SeaLevelInfos> <SeaLevelInfo> <Type>SEALEVEL_LOW</Type> <Description>TXT_KEY_SEALEVEL_LOW</Description> <iSeaLevelChange>-8</iSeaLevelChange> </SeaLevelInfo> </SeaLevelInfos>