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)
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;
116void marker_think(
entity this)
137 setorigin(
err, where);
150 setorigin(
err, where);
163 setorigin(
err, where);
173MODEL(TUR_C512,
"models/turrets/c512.md3");
179void paint_target(
entity onwho,
float f_size,
vector v_color,
float f_time)
183 e.scale = (f_size/512);
186 setorigin(e, onwho.origin +
'0 0 1');
190 e.velocity = (v_color * 32);
192 e.colormod = v_color;
196void 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');
203 setorigin(e, onwho.origin +
'0 0 1');
207 e.velocity = (v_color * 32);
208 e.avelocity_x = -128;
210 e.colormod = v_color;
214void 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');
220 setorigin(e, where +
'0 0 1');
222 e.velocity =
'0 0 0';
223 e.colormod = v_color;
float frame
primary framegroup animation (strength = 1 - lerpfrac - lerpfrac3 - lerpfrac4)
void WarpZone_tracebox_antilag(entity source, vector v1, vector mi, vector ma, vector v2, float nomonst, entity forent, float lag)
#define ANTILAG_LATENCY(e)
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define setmodel(this, m)
float turret_tag_fire_update(entity this)
void FireImoBeam(entity this, vector start, vector end, vector smin, vector smax, float bforce, float f_dmg, float f_velfactor, int deathtype)
float trace_dphitq3surfaceflags
void SUB_Remove(entity this)
Remove entity.
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
#define IL_EACH(this, cond, body)
#define IL_CLEAR(this)
Remove all elements.
vector WarpZone_TransformVelocity(entity wz, vector v)
vector WarpZone_UnTransformOrigin(entity wz, vector v)
entity WarpZone_trace_firstzone
entity WarpZone_trace_transform
#define MODEL(name, path)
void set_movetype(entity this, int mt)
ClientState CS(Client this)
void SUB_SetFade(entity ent, float vanish_time, float fading_time)
IntrusiveList g_railgunhit