Civ4CommerceInfo
From Civilization Modding Wiki
Revision as of 08:21, 19 May 2009 by 81.208.107.20 (talk) (Created page with 'Tags are either text tags (no prefix; they should contain letters), boolean (prefixed by a b, can be 1 [on] or 0 [off]) or integer (prefixed by i, containing numbers) {| class=...')
Tags are either text tags (no prefix; they should contain letters), boolean (prefixed by a b, can be 1 [on] or 0 [off]) or integer (prefixed by i, containing numbers)
Tag | Usage | Default values |
---|---|---|
CommerceInfos | This begins and ends the file. Everything must go in between these two, or it will not work. | |
CommerceInfo | Encloses the entry for each commerce type | |
Type | The name that can be used in other files and in the SDK to refer to a particular commerce type. | |
Description | References the Text which contains the commerce description (eg: "gold", or "research"). The text is specified in any of the Assets\XML\Text files. | |
iInitialPercent | The percent value given to a commerce type when the game starts. | 100 for research, 0 for the others. |
iInitialHappiness | Sets the happiness received by this commerce type. Each n% to that commerce type provides a happy face. | 10 for culture, 0 for the others |
iAIWeightPercent | Sets the importance that this Commerce type has for the AI. | 100 for gold, 125 for research, 25 for culture and espionage |
bFlexiblePercent | Sets wheter a commerce type can be given a % of your total commerce. "Flexible" commerce types have their percent slider on the main screen. "Non-Flexible" commerce types might require certain techs to be given a percent slider (like Currency for gold). | 1 for research and espionage, 0 for gold and culture |
Button | The path of a dds file that contains the image for that commerce type. |