Skip to content

Armor

INI referenceEnumsArmorType

Armor classes used when warheads calculate their effectiveness against a target.

Engine enum
ArmorType
Input form
Named token

Armor names are matched without regard to case. A mod cannot add a sixth class. How much damage a warhead deals to each class is set by that warhead’s Verses list, which has one entry per class in the order shown above.

The wood class is also tested outside Verses. A Wood=yes warhead can reduce a wall overlay whose class is wood, and only a terrain object whose class is wood can catch fire. Armor covers both.

Values

5 of 5

InputMeaningEngine constantStored value
noneUnarmored target class.ARMOR_NONE0
woodWood and other light structural armor.ARMOR_WOOD1
lightLight vehicle armor.ARMOR_ALUMINUM2
heavyHeavy vehicle armor.ARMOR_STEEL3
concreteConcrete building armor.ARMOR_CONCRETE4

Used by

Source files

Linked at revision 51b52aa38392.