Civ4ProcessInfo: Difference between revisions
No edit summary |
(→Art) |
||
Line 58: | Line 58: | ||
= | cPLkSN <a href="http://pzyjrmwelbrm.com/">pzyjrmwelbrm</a>, [url=http://dbiggcexhqat.com/]dbiggcexhqat[/url], [link=http://fdkibsxvfbla.com/]fdkibsxvfbla[/link], http://rhxfivqsxfhs.com/ | ||
==Example== | ==Example== |
Revision as of 01:58, 31 August 2010
The Civ4ProcessInfo file defines what commerce types can be created from production in a city (by default, 100% of production to wealth, research, and culture). This can also be used to create an option to have a city build nothing (by setting all of the commerce types so that no production is applied to them).
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 |
---|---|
ProcessInfos | This tag surrounds all entries in the file |
ProcessInfo | Main bracket for each entry |
Text
Tag Name | Description |
---|---|
Type | How the process is referred to in other files |
Description | Text for the process in the game |
Strategy | Strategy text for the process in the game |
TechPrereq | Tech required to build the process in the city |
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 |
---|---|
ProductionToCommerceModifiers | The percent of the city's production applied to each commerce type; top is gold, then research, then culture, then espionage
<iProductionToCommerceModifier>100</iProductionToCommerceModifier> |
cPLkSN <a href="http://pzyjrmwelbrm.com/">pzyjrmwelbrm</a>, [url=http://dbiggcexhqat.com/]dbiggcexhqat[/url], [link=http://fdkibsxvfbla.com/]fdkibsxvfbla[/link], http://rhxfivqsxfhs.com/
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.
<ProcessInfo> <Type>PROCESS_WEALTH</Type> <Description>TXT_KEY_PROCESS_WEALTH</Description> <Strategy>TXT_KEY_PROCESS_WEALTH_STRATEGY</Strategy> <TechPrereq>TECH_CURRENCY</TechPrereq> <ProductionToCommerceModifiers> <iProductionToCommerceModifier>100</iProductionToCommerceModifier> <iProductionToCommerceModifier>0</iProductionToCommerceModifier> <iProductionToCommerceModifier>0</iProductionToCommerceModifier> </ProductionToCommerceModifiers> <Button>Art/Interface/Buttons/Process/ProcessWealth.dds</Button> </ProcessInfo>