48void modeleffect_spawn(
string m,
float s,
float f,
vector o,
vector v,
vector ang,
vector angv,
float s0,
float s2,
float a,
float t1,
float t2)
50 entity e =
new(modeleffect);
62 e.scale = s0 / max6(-e.mins.x, -e.mins.y, -e.mins.z, e.maxs.x, e.maxs.y, e.maxs.z);
66 e.scale2 =
s2 / max6(-e.mins.x, -e.mins.y, -e.mins.z, e.maxs.x, e.maxs.y, e.maxs.z);
69 float sz =
max(e.scale, e.scale2);
70 setsize(e, e.mins * sz, e.maxs * sz);
113 entity e =
new(modeleffect);
114 e.model =
"from network";
115 e.modelindex = ReadShort();
120 setorigin(e, e.origin);
133 e.scale1 = ReadShort() / 256.0;
134 e.scale2 = ReadShort() / 256.0;
137 e.teleport_time =
time;
143 if (!isnew)
delete(e);
float frame1time
start time of framegroup animation
float frame
primary framegroup animation (strength = 1 - lerpfrac - lerpfrac3 - lerpfrac4)
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
IntrusiveList g_drawables
const float ALPHA_MIN_VISIBLE
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
#define NET_HANDLE(id, param)
#define ReadAngleVector()
#define WriteHeader(to, id)
#define REGISTER_NET_LINKED(id)
void Net_LinkEntity(entity e, bool docull, float dt, bool(entity this, entity to, int sendflags) sendfunc)
void modeleffect_spawn(string m, float s, float f, vector o, vector v, vector ang, vector angv, float s0, float s2, float a, float t1, float t2)
void ModelEffect_Draw(entity this)
bool modeleffect_SendEntity(entity this, entity to, int sf)
spree_inf s1 s2 s3loc s2 spree_inf s1 s2 s3loc s2 spree_inf s1 s2 s3loc s2 s1 s2loc s1 s2loc s1 s2loc s1 s2loc s1 s2loc s1 s2loc s1 s2 f1points s1 s2
#define make_pure(e)
direct use is