https://modiki.civfanatics.com/index.php?title=Civ4UpKeepInfo&feed=atom&action=historyCiv4UpKeepInfo - Revision history2024-03-28T13:16:59ZRevision history for this page on the wikiMediaWiki 1.38.2https://modiki.civfanatics.com/index.php?title=Civ4UpKeepInfo&diff=13950&oldid=prevDeanej: Created page with "The '''Civ4UpKeepInfo''' file defines the upkeep levels for civics. All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes insi..."2012-09-23T03:43:52Z<p>Created page with "The '''Civ4UpKeepInfo''' file defines the upkeep levels for civics. All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes insi..."</p>
<p><b>New page</b></p><div>The '''Civ4UpKeepInfo''' file defines the upkeep levels for civics.<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 />
!UpkeepInfo<br />
|Main bracket for each entry<br />
|-<br />
!Type<br />
|Name referred to 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 />
|Text for the upkeep<br />
|-<br />
!Strategy<br />
|Unknown<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 />
!iPopulationPercent<br />
|Unknown<br />
|-<br />
!iCityPercent<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 />
<UpkeepInfo><br />
<Type>UPKEEP_LOW</Type><br />
<Description>TXT_KEY_UPKEEP_LOW</Description><br />
<Strategy>TXT_KEY_UPKEEP_LOW_HELP</Strategy><br />
<iPopulationPercent>8</iPopulationPercent><br />
<iCityPercent>40</iCityPercent><br />
</UpkeepInfo><br />
<br />
{{Civ4_XML_Files}}</div>Deanej