Xonotic
damageeffects.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef CSQC
7 #include <common/vehicles/all.qh>
8 #include <common/weapons/_all.qh>
9 
10 int autocvar_cl_damageeffect;
11 float autocvar_cl_damageeffect_ticrate;
12 float autocvar_cl_damageeffect_bones;
13 bool autocvar_cl_damageeffect_distribute;
14 float autocvar_cl_damageeffect_lifetime;
15 float autocvar_cl_damageeffect_lifetime_min;
16 float autocvar_cl_damageeffect_lifetime_max;
17 
18 int w_deathtype;
19 float w_issilent, w_random;
20 vector w_org, w_backoff;
21 
22 .float damageforcescale;
23 const float MIN_DAMAGEEXTRARADIUS = 2;
24 const float MAX_DAMAGEEXTRARADIUS = 16;
25 .float damageextraradius;
26 .void(entity this, float thisdmg, int hittype, vector org, vector thisforce) event_damage;
27 #endif
const float MIN_DAMAGEEXTRARADIUS
Definition: damage.qh:138
float damageextraradius
Definition: damage.qh:140
float damageforcescale
Definition: damage.qh:137
entity() spawn
float w_deathtype
Definition: damage.qh:97
vector(float skel, float bonenum) _skel_get_boneabs_hidden
const float MAX_DAMAGEEXTRARADIUS
Definition: damage.qh:139