Fraidycat
Makes the soldier panic at its first hit and run instead of fighting.
- Applies to
- InfantryType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no
Fear is a value from 0 to 255 that rises when a soldier is shot at and falls by one each logic frame. At 10 a soldier goes to ground, unless it is a dog or a human player’s soldier on the move. An ordinary soldier’s first hit from an attacker raises it to 100. 200 is panic, and 255 is the ceiling.
A Fraidycat=yes soldier panics in two cases:
- a hit from an attacker while its fear is below
100sets fear to200; - firing its last round of
Ammosets fear to255, and an Attack or Hunt mission changes to Guard.
An armed Fraidycat=yes soldier therefore stops fighting when its clip is empty. It reloads a full clip once its fear has fallen back to 0.
While its fear is above 10, a Fraidycat=yes soldier that stands still with no destination scatters on every logic frame. A computer-owned one also scatters in place of an idle animation while its fear is above 10, and on one idle animation in eleven even with no fear at all.
A Fraidycat=yes soldier also obeys scatters that other soldiers ignore, including while it holds a target or is moving. It still ignores them during a mission with Scatter=no. A human player’s one outside a team obeys them only when PlayerScatter is on or it has earned the scatter ability.