Civ4UnitClassInfos
From Civilization Modding Wiki
The CIV4UnitClassInfos file contains data about the different classes of unit. A class is the underlying connection between a Unique Unit and the parent unit; ech civilisation can only have one unit type in each class
| Tag | Usage |
|---|---|
| UnitClassInfos | This begins and ends the file. Everything must go in between these two, or it will not work. |
| UnitClassInfo | Each different unit's data is enclosed in a seperate tag like this. |
| Type | The name of the unit; which must be unique |
| Description | The name of the class as displayed on the screen; used in the phrase 'replaces _____' |
| iMaxGlobalInstances | The number of this unit that can exist at one time in the world; -1 means no limit |
| iMaxTeamInstances | The number of this unit that can exist at one time in one team; -1 means no limit |
| iMaxPlayerInstances | The number of this unit that can exist at one time in each Civilisation; -1 means no limit |
| iInstanceCostModifier | The increase to the cost of the unit for every one that exists; normally 0 |
| DefaultUnit | The unit which all civilisations have for this class, unless they have a Unique Unit to replace it |