Nuclide
Software Development Kit for id Technology (BETA)
Body Que

Dispatches copies of bodies, player corpses etc. More...

Detailed Description

Dispatches copies of bodies, player corpses etc.

The body que is a minor abstraction that limits the amount of bodies/corpses in an active game.

Functions

void BodyQue_Init (void)
 Initializes the BodyQue. More...
 
ncRenderableEntity BodyQue_Spawn (ncActor pl, float anim)
 Dispatches a copy of the target actor into the BodyQue. More...
 
ncRagdoll BodyQue_SpawnRagdoll (ncActor pl, float anim)
 Dispatches a copy of the target actor into the BodyQue. More...
 

Macros

#define CORPSES_MAX   autocvar_bodyque_maxBodies
 
#define RAGDOLLS_MAX   autocvar_bodyque_maxRagdolls
 
#define FORCE_RAGDOLLS   autocvar_bodyque_forceRagdolls
 

Variables

var bool autocvar_bodyque_forceRagdolls = false
 
var int autocvar_bodyque_maxBodies = 4i
 
var int autocvar_bodyque_maxRagdolls = 4i
 

Function Documentation

◆ BodyQue_Init()

void BodyQue_Init ( void  )

Initializes the BodyQue.

Called in server's initents()

◆ BodyQue_Spawn()

ncRenderableEntity BodyQue_Spawn ( ncActor  pl,
float  anim 
)

Dispatches a copy of the target actor into the BodyQue.

◆ BodyQue_SpawnRagdoll()

ncRagdoll BodyQue_SpawnRagdoll ( ncActor  pl,
float  anim 
)

Dispatches a copy of the target actor into the BodyQue.

Macro Definition Documentation

◆ CORPSES_MAX

#define CORPSES_MAX   autocvar_bodyque_maxBodies

◆ FORCE_RAGDOLLS

#define FORCE_RAGDOLLS   autocvar_bodyque_forceRagdolls

◆ RAGDOLLS_MAX

#define RAGDOLLS_MAX   autocvar_bodyque_maxRagdolls

Variable Documentation

◆ autocvar_bodyque_forceRagdolls

var bool autocvar_bodyque_forceRagdolls = false

◆ autocvar_bodyque_maxBodies

var int autocvar_bodyque_maxBodies = 4i

◆ autocvar_bodyque_maxRagdolls

var int autocvar_bodyque_maxRagdolls = 4i