9 float lms_lowest_lives;
16 .void(entity inflictor, entity attacker, float damage, float deathtype, vector hitloc, vector force) event_damage;
21 // is this client a remote administrator?
38 .float attack_finished;
39 .float pain_finished; //Added by Supajoe
40 .float pain_frame; //"
41 .float statdraintime; // record the one-second intervals between draining health and armour when they're over 100
42 .float crouch; // Crouching or not?
44 .float strength_finished;
45 //.float speed_finished;
46 .float invincible_finished;
47 //.float slowmo_finished;
49 .vector finaldest, finalangle; //plat.qc stuff
52 .float t_length, t_width;
54 .vector destvec; // for rain
55 .float cnt; // for rain
75 //.float crylinkcount;
77 .float damageforcescale;
83 // for railgun damage (hitting multiple enemies)
85 .float railgunhitsolidbackup;
86 .vector railgunhitloc;
93 .float watersound_finished;
97 .float pauseregen_finished;
98 .float pauserothealth_finished;
99 .float pauserotarmor_finished;
100 .float attack_finished;
102 // definitions for weaponsystem
104 .entity weaponentity;
105 .entity exteriorweaponentity;
108 void(float wpn, float wrequest) weapon_action;
109 float(entity cl, float wpn, float andammo) client_hasweapon;
111 // VorteX: standalone think for weapons, so normal think on weaponentity can be reserved by weaponflashes (which needs update even player dies)
112 .float weapon_nextthink;
113 .void() weapon_think;
114 .vector shotdir, shotorg; // new generic aiming system for all weapons (not finished yet, can be removed)
115 float weapon_hasammo; // sets by WR_CHECKAMMO request
117 //float PLAYER_WEAPONSELECTION_DELAY = );
118 float PLAYER_WEAPONSELECTION_SPEED = 18;
119 vector PLAYER_WEAPONSELECTION_RANGE = '0 20 -40';
121 // weapon states (self.weaponentity.state)
122 float WS_CLEAR = 0; // no weapon selected
123 float WS_RAISE = 1; // raise frame
124 float WS_DROP = 2; // deselecting frame
125 float WS_INUSE = 3; // fire state
126 float WS_READY = 4; // idle frame
129 float WR_SETUP = 1; // setup weapon data
130 float WR_UPDATECOUNTS = 2; // update ammo display
131 float WR_IDLE = 3; // idle frame
132 float WR_DROP = 4; // deselect frame
133 float WR_RAISE = 5; // select frame
134 float WR_FIRE1 = 6; // primary fire frame
135 float WR_FIRE2 = 7; // secondary fire
136 float WR_FIRE3 = 8; // third fire
137 float WR_CHECKAMMO = 9; // checks ammo for weapon
138 float WR_CLEAR = 10; // runs afted deselecting frames, remove weapon parts (if presented). This useful for quake3-style chaingun
141 float WEP_LASER = 1; // float IT_LASER = 4096;
142 float WEP_SHOTGUN = 2; // float IT_SHOTGUN = 1;
143 float WEP_UZI = 3; // float IT_UZI = 2;
144 float WEP_GRENADE_LAUNCHER = 4; // float IT_GRENADE_LAUNCHER = 4;
145 float WEP_ELECTRO = 5; // float IT_ELECTRO = 8;
146 float WEP_CRYLINK = 6; // float IT_CRYLINK = 16;
147 float WEP_NEX = 7; // float IT_NEX = 32;
148 float WEP_HAGAR = 8; // float IT_HAGAR = 64;
149 float WEP_ROCKET_LAUNCHER = 9; // float IT_ROCKET_LAUNCHER = 128;
151 // For weapon cycling commands
155 void(entity e, float chan, string samp, float vol, float atten) sound = #8;
156 void(entity client, string s) stuffcmd = #21;
157 void(entity client, string s) sprint = #24;
158 vector(entity e, float sped) aim = #44;
159 void(entity client, string s) centerprint = #73;
160 void(entity e) setspawnparms = #78;
161 void(float to, float f) WriteByte = #52;
162 void(float to, float f) WriteChar = #53;
163 void(float to, float f) WriteShort = #54;
164 void(float to, float f) WriteLong = #55;
165 void(float to, float f) WriteCoord = #56;
166 void(float to, float f) WriteAngle = #57;
167 void(float to, string s) WriteString = #58;
168 void(float to, entity s) WriteEntity = #59;
169 .vector dest1, dest2;
170 void(entity clent) dropclient = #453;
173 float intermission_running;
174 float intermission_exittime;
175 float alreadychangedlevel;
178 .float isbot; // true if this client is actually a bot
183 .float welcomemessage_time;
184 .float welcomemessage_time2;
185 .string versionmessage;
190 .float vote_finished;
193 float VoteAllowed(string vote);
195 void VoteDo(entity voter);
196 void VoteTimeout(entity voter);
199 // Wazat's grappling hook
201 void GrapplingHookFrame();
202 void RemoveGrapplingHook(entity pl);
203 void SetGrappleHookBindings();
205 float GRAPHOOK_FIRE = 20;
206 float GRAPHOOK_RELEASE = 21;
207 // (note: you can change the hook impulse #'s to whatever you please)
210 // Laser target for laser-guided weapons
216 .float jump_interval; // laser refire
217 .string crosshair_static;