https://modiki.civfanatics.com/index.php?title=Civ4TerrainSettings&feed=atom&action=historyCiv4TerrainSettings - Revision history2024-03-29T09:33:02ZRevision history for this page on the wikiMediaWiki 1.38.2https://modiki.civfanatics.com/index.php?title=Civ4TerrainSettings&diff=14191&oldid=prevDeanej: Created page with "The '''Civ4TerrainSettings''' file defines various settings relating to the landscape. All tags must be opened and closed; the first is the "open", the second the "close" tag. I..."2013-01-14T19:42:35Z<p>Created page with "The '''Civ4TerrainSettings''' file defines various settings relating to the landscape. All tags must be opened and closed; the first is the "open", the second the "close" tag. I..."</p>
<p><b>New page</b></p><div>The '''Civ4TerrainSettings''' file defines various settings relating to the landscape.<br />
<br />
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. <br />
<br />
<font color=red>This page is missing information.<br />
Do not remove this notice until it is complete.</font><br />
<br />
<br />
==Tags==<br />
===Headers===<br />
<br />
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!LandscapeInfo<br />
|Main bracket for each entry<br />
|-<br />
!Type<br />
|Name used in other files<br />
|}<br />
<br />
<br />
===Integers===<br />
<br />
All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!iWaterHeight<br />
|Unknown<br />
|-<br />
!iFogR<br />
|Unknown<br />
|-<br />
!iFogG<br />
|Unknown<br />
|-<br />
!iFogB<br />
|Unknown<br />
|-<br />
!iPlotsPerCellX<br />
|Unknown<br />
|-<br />
!iPlotsPerCellY<br />
|Unknown<br />
|-<br />
!iGameCellSizeX<br />
|Unknown<br />
|-<br />
!iGameCellSizeY<br />
|Unknown<br />
|}<br />
<br />
<br />
===Floats===<br />
<br />
All of these tags have a decimal value.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!fTextureScaleX<br />
|Unknown<br />
|-<br />
!fTextureScaleY<br />
|Unknown<br />
|-<br />
!fZScale<br />
|Unknown<br />
|-<br />
!fPeakScale<br />
|Unknown<br />
|-<br />
!fHillScale<br />
|Unknown<br />
|}<br />
<br />
<br />
===Boolean===<br />
<br />
All of these can either be 1 (on, or true) or 0 (off, or false). Be careful, as you can wind up with a double-negative, which the game will interpret as "True".<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!bRandomMap<br />
|Unknown<br />
|-<br />
!bTerrainShader<br />
|Unknown<br />
|-<br />
!bUseLightmap<br />
|Unknown<br />
|}<br />
<br />
<br />
===Lists (Multi-line)===<br />
<br />
All List tags consist of an opening/closing tag, which is shown here, and then each entry within it is another tag with the same name as the parent tag, minus the "s" (i.e. singular, rather than plural).<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!HeightMap<br />
|Unknown<br />
|-<br />
!TerrainMap<br />
|Unknown<br />
|-<br />
!NormalMap<br />
|Unknown<br />
|-<br />
!BlendMap<br />
|Unknown<br />
|}<br />
<br />
<br />
===Art===<br />
<br />
These tags are directly related to the rendering of art for the entry.<br />
<br />
{| border="1" style="text-align:left" cellpadding="3" cellspacing="0"<br />
|-<br />
! style="background:#efefef;" | Tag Name<br />
! style="background:#efefef;" | Description<br />
|-<br />
!SkyArt<br />
|Unknown<br />
|}<br />
<br />
<br />
==Example==<br />
<br />
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.<br />
<br />
<LandscapeInfo><br />
<Type>LANDSCAPE_DEFAULT</Type><br />
<iWaterHeight>49</iWaterHeight><br />
<bRandomMap>1</bRandomMap><br />
<HeightMap/><br />
<TerrainMap/><br />
<NormalMap/><br />
<BlendMap/><br />
<SkyArt>Art/Terrain/Sky/Sky.NIF</SkyArt><br />
<iFogR>0</iFogR><br />
<iFogG>0</iFogG><br />
<iFogB>0</iFogB><br />
<fTextureScaleX>2.0</fTextureScaleX><br />
<fTextureScaleY>2.0</fTextureScaleY><br />
<iPlotsPerCellX>4</iPlotsPerCellX><br />
<iPlotsPerCellY>4</iPlotsPerCellY><br />
<iGameCellSizeX>17</iGameCellSizeX><br />
<iGameCellSizeY>17</iGameCellSizeY><br />
<fZScale>1.0</fZScale><br />
<bTerrainShader>1</bTerrainShader><br />
<bUseLightmap>0</bUseLightmap><br />
<fPeakScale>0.44</fPeakScale><br />
<fHillScale>0.13</fHillScale><br />
</LandscapeInfo><br />
<br />
{{Civ4_XML_Files}}</div>Deanej