Object category
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 token | Editor description |
|---|---|
VIP | VIP/Agent |
Recon | Recon Vehicle |
AFV | Armored Fighting Vehicle |
IFV | Infantry Fighting Vehicle |
LRFS | Indirect Fire Support |
Support | Misc. Support Vehicle |
Transport | Transport Vehicle |
AirPower | Air Combat Support |
AirLift | Air Transport |
Values
11 of 11
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
Soldier | Combat soldier. | CATEGORY_SOLDIER | 0 |
Civilian | Noncombatant civilian. | CATEGORY_CIVILIAN | 1 |
VIP | VIP, agent, or commando. | CATEGORY_VIP | 2 |
Recon | Reconnaissance vehicle. | CATEGORY_RECON | 3 |
AFV | Armored fighting vehicle. | CATEGORY_AFV | 4 |
IFV | Infantry fighting vehicle. | CATEGORY_IFV | 5 |
LRFS | Indirect or long-range fire support. | CATEGORY_ARTY | 6 |
Support | Miscellaneous support vehicle. | CATEGORY_SUPPORT | 7 |
Transport | Ground transport vehicle. | CATEGORY_TRANSPORT | 8 |
AirPower | Air combat support. | CATEGORY_AIRSUPPORT | 9 |
AirLift | Air transport. | CATEGORY_AIRTRANSPORT | 10 |
No enum values match this filter.
Used by
CategoryINI key
Source files
Linked at revision 59fae722af8c.