Armor
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
| Input | Meaning | Engine constant | Stored value |
|---|---|---|---|
none | Unarmored target class. | ARMOR_NONE | 0 |
wood | Wood and other light structural armor. | ARMOR_WOOD | 1 |
light | Light vehicle armor. | ARMOR_ALUMINUM | 2 |
heavy | Heavy vehicle armor. | ARMOR_STEEL | 3 |
concrete | Concrete building armor. | ARMOR_CONCRETE | 4 |
No enum values match this filter.
Used by
ArmorINI key
Source files
Linked at revision 51b52aa38392.