Skip to content

Object category

INI referenceEnumsCategoryType

Classification tokens carried by infantry, vehicle, aircraft and building types, which only the dropship loadout screen reads.

Engine enum
CategoryType
Input form
Named token

Only one of the eleven ever decides anything. The dropship loadout screen leaves an InfantryType marked Civilian out of the cameos a player may pick from, and does even that only where the scenario supplies no allowable-units list of its own; nothing the engine itself calls compares against the other ten.

Each category carries two spellings and answers to both. The short token is the one the engine writes back out; the longer description is the wording an editor shows, and it is matched the same way with case ignored. A name that is neither leaves the type with no category at all rather than falling back on the previous one. Soldier and Civilian spell the two forms alike, so the table pairs the remaining nine — read it in either direction, since a rules file may carry the long form where a modder expects the short.

Short tokenEditor description
VIPVIP/Agent
ReconRecon Vehicle
AFVArmored Fighting Vehicle
IFVInfantry Fighting Vehicle
LRFSIndirect Fire Support
SupportMisc. Support Vehicle
TransportTransport Vehicle
AirPowerAir Combat Support
AirLiftAir Transport

Values

11 of 11

InputMeaningEngine constantStored value
SoldierCombat soldier.CATEGORY_SOLDIER0
CivilianNoncombatant civilian.CATEGORY_CIVILIAN1
VIPVIP, agent, or commando.CATEGORY_VIP2
ReconReconnaissance vehicle.CATEGORY_RECON3
AFVArmored fighting vehicle.CATEGORY_AFV4
IFVInfantry fighting vehicle.CATEGORY_IFV5
LRFSIndirect or long-range fire support.CATEGORY_ARTY6
SupportMiscellaneous support vehicle.CATEGORY_SUPPORT7
TransportGround transport vehicle.CATEGORY_TRANSPORT8
AirPowerAir combat support.CATEGORY_AIRSUPPORT9
AirLiftAir transport.CATEGORY_AIRTRANSPORT10

Used by

Source files

Linked at revision 59fae722af8c.