]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/mutator_buffs.qh
66540b87604e3a5b897a25cd019a16f36ff716be
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_buffs.qh
1 // buff specific variables \\
2 //
3 // ammo
4 .float buff_ammo_prev_infitems;
5 // invisible
6 .float buff_invisible_prev_alpha;
7 // flight
8 .float buff_flight_prev_gravity;
9 // jump
10 .float stat_jumpheight;
11 const float STAT_MOVEVARS_JUMPVELOCITY = 250; // engine hack
12 // disability
13 .float buff_disability_time;
14 .float buff_disability_effect_time;
15
16 // buff definitions
17 .float buff_active;
18 .float buff_activetime;
19 .float buff_activetime_updated;
20 .entity buff_waypoint;
21 .float oldbuffs; // for updating effects
22 .entity buff_model; // controls effects (TODO: make csqc)
23
24 #define BUFF_MIN ('-16 -16 -20')
25 #define BUFF_MAX ('16 16 20')
26
27 // client side options
28 .float cvar_cl_buffs_autoreplace;