Skip to content

DeadBodies

The corpse animations left where an infantryman finishes a death sequence.

Specification
Applies to
global rules
File
rules.ini
Section
[AudioVisual]
Value
typelist
When omitted
(empty)
rules.ini
[AudioVisual]
DeadBodies=MYDEATH_A,MYDEATH_B ; AnimTypes registered in [Animations]

An infantryman who plays a death sequence to its last frame has one entry created at his center and is then deleted. Two deaths reach it: the gun death a warhead with InfDeath=1 causes and the explosion death InfDeath=2 causes. The engine also lists a second explosion death and a grenade death, but nothing ever starts either one, and the fire death is taken only by a Doggie=yes infantryman, who is deleted without a corpse. The entry is drawn from the whole list with equal weight.

Most deaths never get this far. A soldier who was already falling and comes down in water, a prone Cyborg=yes infantryman and a jumpjet infantryman are all deleted before a sequence is chosen at all, and several of the InfDeath cases delete the soldier outright as well, so the corpse list covers only the deaths that are animated where the soldier stood.