asw_client_corpse

From Source Entities
Jump to navigation Jump to search

Code classes:

asw_client_corpse is a point entity present in Asw.pngAlien Swarm. It creates a ragdoll (like prop_ragdoll) that is non-solid and completely clientside, which greatly reduces networking traffic. The name of the entity tells its best use: dead colonist bodies. To do: Exactly how different is this from a prop_ragdoll with the Debris flag checked?

Keyvalues[edit | edit source]

Ragdoll Sequence (ragdollsequence) <string>
The ragdoll will spawn in the pose of this animation's first frame. Confirm: Does not work (according to the FGD).
Start Fade Distance (fademindist) <float>
Distance at which the entity starts fading. If less than 0, the entity will disappear instantly when the End Fade Distance is hit. The value will scale appropriately if the entity is in a 3D Skybox.
End Fade Distance (fademaxdist) <float>
Distance at which the entity ends fading. If less than 0, the entity won't disappear at all. The value will scale appropriately if the entity is in a 3D Skybox.
Fade Scale (fadescale) <float>
If specified in the worldspawn, or if the game is running below DirectX 8, entities will fade out even if the fade distances above aren't specified. This value gives more control over when this happens: numbers smaller than 1 cause the entity to fade out at further distances, and greater than 1 cause it to fade out at closer distances. Using 0 turns off the forced fade altogether. See also $noforcedfade.