UnitMode

An alternate unit mode (§M8P-2.3 / §FID-4): a named set of stat overrides a unit can switch into — siege (range/damage/immobile), burrow, lift-off, transform-fighter, all from one system. overrideMask selects which base stats this mode replaces. The active mode index lives on RtsUnit (checksummed); the override values are sim-affecting (hashed). name is appearance (never hashed). Immobility falls out of a speed override of 0.

In the namespace octomy::rts. Declared in src/libs/librts/rts/sim/RtsTypes.hpp.

Detailed description

In this section