Civ4ProcessInfo: Difference between revisions
(→Art) |
(→Text) |
||
Line 22: | Line 22: | ||
DoeoAd <a href="http://lnrofwxmlopt.com/">lnrofwxmlopt</a>, [url=http://szytvafrqnvl.com/]szytvafrqnvl[/url], [link=http://crsiwyxpwzvo.com/]crsiwyxpwzvo[/link], http://zkkxnmnmzekz.com/ | |||
===Lists (Multi-line)=== | ===Lists (Multi-line)=== |
Revision as of 14:37, 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 |
DoeoAd <a href="http://lnrofwxmlopt.com/">lnrofwxmlopt</a>, [url=http://szytvafrqnvl.com/]szytvafrqnvl[/url], [link=http://crsiwyxpwzvo.com/]crsiwyxpwzvo[/link], http://zkkxnmnmzekz.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 |
---|---|
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>