https://modiki.civfanatics.com/index.php?title=Civ4ClimateInfo&feed=atom&action=historyCiv4ClimateInfo - Revision history2024-03-29T12:19:42ZRevision history for this page on the wikiMediaWiki 1.38.2https://modiki.civfanatics.com/index.php?title=Civ4ClimateInfo&diff=13976&oldid=prevDeanej: Created page with "The '''Civ4ClimateInfo''' file defines the climates that can be used to generate a map. All tags must be opened and closed; the first is the "open", the second the "close" tag. ..."2012-09-24T02:29:29Z<p>Created page with "The '''Civ4ClimateInfo''' file defines the climates that can be used to generate a map. All tags must be opened and closed; the first is the "open", the second the "close" tag. ..."</p>
<p><b>New page</b></p><div>The '''Civ4ClimateInfo''' file defines the climates that can be used to generate a map.<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 />
!ClimateInfo<br />
|Main bracket for each entry<br />
|-<br />
!Type<br />
|Name used in other files<br />
|}<br />
<br />
<br />
===Text===<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 />
!Description<br />
|Name displayed in game<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 />
!iDesertPercent<br />
|Percent of tiles that are desert<br />
|-<br />
!iJungleLatitude<br />
|Maximum latitude (units unknown) for jungle to appear<br />
|-<br />
!iPeakPercent<br />
|Percent of tiles that are peaks<br />
|}<br />
<br />
<br />
===Floats===<br />
<br />
All of these tags have decimal values.<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 />
!fSnowLatitudeChange<br />
|Increase in minimum latitude for snow<br />
|-<br />
!fTundraLatitudeChange<br />
|Increase in minimum latitude for tundra<br />
|-<br />
!fGrassLatitudeChange<br />
|Increase in maximum latitude for grassland<br />
|-<br />
!fDesertBottomLatitudeChange<br />
|Increase in maximum southern latitude for desert<br />
|-<br />
!fDesertTopLatitudeChange<br />
|Increase in maximum northern latitude for desert<br />
|-<br />
!fIceLatitude<br />
|Percentage of map for the latitude for ice<br />
|-<br />
!fRandIceLatitude<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 />
<ClimateInfo><br />
<Type>CLIMATE_COLD</Type><br />
<Description>TXT_KEY_CLIMATE_COLD</Description><br />
<iDesertPercentChange>-10</iDesertPercentChange><br />
<iJungleLatitude>6</iJungleLatitude><br />
<iHillRange>5</iHillRange><br />
<iPeakPercent>25</iPeakPercent><br />
<fSnowLatitudeChange>-0.1</fSnowLatitudeChange><br />
<fTundraLatitudeChange>-0.15</fTundraLatitudeChange><br />
<fGrassLatitudeChange>0.0</fGrassLatitudeChange><br />
<fDesertBottomLatitudeChange>0.0</fDesertBottomLatitudeChange><br />
<fDesertTopLatitudeChange>-0.1</fDesertTopLatitudeChange><br />
<fIceLatitude>0.9</fIceLatitude><br />
<fRandIceLatitude>0.5</fRandIceLatitude><br />
</ClimateInfo><br />
<br />
{{Civ4_XML_Files}}</div>Deanej