The Civ4UnitCombatInfos file defines the unit combat types used by units in the game. In Vanilla and Warlords this is located in Civ4BasicInfos.
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.
These tags typically bracket other tags, sometimes the entire file, and are generally used to specify more than one piece of data.
|UnitCombatInfos||This tag surrounds all entries in the file|
|UnitCombatInfo||Main bracket for each entry|
|Type||How the unit combat is referred to in other files|
|Description||The text used for the unit combat in the game|
These tags are directly related to the rendering of art for the entry.
|Button||The button used for the unit combat type in the game|
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.
<UnitCombatInfo> <Type>UNITCOMBAT_MELEE</Type> <Description>TXT_KEY_UNITCOMBAT_MELEE</Description> <Button>,Art/Interface/Buttons/Promotions/Shock.dds,Art/Interface/Buttons/Promotions_Atlas.dds,4,5</Button> </UnitCombatInfo>