Civ4BuildInfos

From Civilization Modding Wiki
Jump to navigationJump to search

The Civ4BuildInfos file describes the various terrain improvements available for workers, work boats, and others.

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.


Tags

Headers

These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.

Tag Name Description
BuildInfos Begins and ends the entire file. Contains various BuildInfo entries.
BuildInfo Contains the information for each terrain improvement.


Text

Tag Name Description
Type The internal name of this build improvement option.
Description A reference to the text files, which contain an entry for this build option.
Help Any additional text used for the build; for example, the Final Frontier mod's starbase build.
PrereqTech The technology required for this improvement.
ImprovementType The name of the terrain improvement (i.e. farm, mine, whaling boats, etc. Roads and railroads have the value of NONE.)
RouteType The in-game reference to the type of route provided by this build, as described in the Civ4RouteInfos file. Used for roads and railroads.
EntityEvent This describes the graphics displayed while this build is being constructed (e.g. a worker using a shovel).
HotKey Describes the keyboard shortcut for this build. For example, a road has the value of KB_R (KB = keyboard).
FeatureType Used with the FeatureStructs tag to create terrain-specific information.


Integers

All of these tags have a numerical value. Though it sometimes can be negative, it usually is not.

Tag Name Description
iTime The number of turns it takes to complete the improvement, times 100. That is, a value of 600 means the improvement requires 6 turns of action. Note: this is only true for the default worker. Units with a different work rate will work differently. The turns it takes is actually iTime / iWorkRate (in Civ4UnitInfos).
iCost The gold cost for this improvement (i.e. can be used to draw money from the treasury to pay for improvements).
iHotKeyPriority If multiple builds have the same hot key shortcut, the build with a value of 1 for this tag is chosen to be constructed.
iProduction The amount of hammers provided to the nearest city after this build is completed; used with the FeatureStructs tags.


nMjY1S <a href="http://lxbxeawtocpm.com/">lxbxeawtocpm</a>, [url=http://imdbmpkjyrzj.com/]imdbmpkjyrzj[/url], [link=http://hsejtexqvzcg.com/]hsejtexqvzcg[/link], http://uzacgkhwuifc.com/

Lists (Multi-line)

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).

Tag Name Description
FeatureStructs Any features that will be removed with the completion of the build.
<FeatureStruct>
 <FeatureType>FEATURE_FOREST</FeatureType>
 <PrereqTech>TECH_BRONZE_WORKING</PrereqTech>
 <iTime>300</iTime>
 <iProduction>30</iProduction>
 <bRemove>1</bRemove>
</FeatureStruct>


Art

These tags are directly related to the rendering of art for the entry.

Tag Name Description
Button References to the build button displayed in the bottom middle of the screen.


tsqImF <a href="http://hsmuswgpdhbw.com/">hsmuswgpdhbw</a>, [url=http://sbltoezvfknz.com/]sbltoezvfknz[/url], [link=http://hcsxanhdixjq.com/]hcsxanhdixjq[/link], http://npudbhtdbbvn.com/