9 float turret_tag_fire_update(
entity this)
13 LOG_DEBUG(
"Call to turret_tag_fire_update with this.tur_head missing!");
28 float bforce,
float f_dmg,
float f_velfactor,
int deathtype)
32 vector force = dir * bforce;
79 it.solid = it.railgunhitsolidbackup;
95 Damage(it, this, this, f_dmg, deathtype, DMG_NOWEP, it.railgunhitloc, it.railgunforce);
97 it.velocity = it.velocity * f_velfactor;
100 it.railgunhitloc =
'0 0 0';
102 it.railgunhit =
false;
103 it.railgundistance = 0;
116 void marker_think(
entity this)
140 err.nextthink =
time;
143 err.cnt = lifetime +
time;
146 void mark_info(
vector where,
float lifetime)
148 entity err =
new(info_marker);
153 err.nextthink =
time;
156 err.cnt = lifetime +
time;
161 entity err =
new(mark_misc);
166 err.nextthink =
time;
169 err.cnt = lifetime +
time;
173 MODEL(TUR_C512,
"models/turrets/c512.md3");
179 void paint_target(
entity onwho,
float f_size,
vector v_color,
float f_time)
183 e.scale = (f_size/512);
190 e.velocity = (v_color * 32);
192 e.colormod = v_color;
196 void paint_target2(
entity onwho,
float f_size,
vector v_color,
float f_time)
200 e.scale = (f_size/512);
201 setsize(e,
'0 0 0',
'0 0 0');
207 e.velocity = (v_color * 32);
208 e.avelocity_x = -128;
210 e.colormod = v_color;
214 void paint_target3(
vector where,
float f_size,
vector v_color,
float f_time)
218 e.scale = (f_size/512);
219 setsize(e,
'0 0 0',
'0 0 0');
222 e.velocity =
'0 0 0';
223 e.colormod = v_color;
#define IL_EACH(this, cond, body)
#define IL_CLEAR(this)
Remove all elements.
float trace_dphitq3surfaceflags
IntrusiveList g_railgunhit
ClientState CS(Client this)
vector WarpZone_UnTransformOrigin(entity wz, vector v)
#define setmodel(this, m)
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
entity WarpZone_trace_firstzone
vector WarpZone_TransformVelocity(entity wz, vector v)
#define MODEL(name, path)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
entity WarpZone_trace_transform
float frame
primary framegroup animation (strength = 1 - lerpfrac - lerpfrac3 - lerpfrac4)
#define ANTILAG_LATENCY(e)
void SUB_SetFade(entity ent, float vanish_time, float fading_time)
void WarpZone_tracebox_antilag(entity source, vector v1, vector mi, vector ma, vector v2, float nomonst, entity forent, float lag)
void set_movetype(entity this, int mt)