const float ENT_CLIENT_ACCURACY = 30;
const float ENT_CLIENT_SHOWNAMES = 31;
const float ENT_CLIENT_WARPZONE_TELEPORTED = 32;
+const float ENT_CLIENT_MODEL = 33;
const float ENT_CLIENT_TURRET = 40;
const float ENT_CLIENT_AUXILIARYXHAIR = 50;
PROPERTY(16, ReadByte, WriteByte, skin) \
PROPERTY(32, ReadInt24_t, WriteInt24_t, effects) \
PROPERTY_SCALED(64, ReadByte, WriteByte, alpha, 255, 0, 255) \
- /* no attachment support */ \
- /* no rtlight support */ \
- /* no glow support */ \
- /* no colormod support */ \
PROPERTY_SCALED(128, ReadByte, WriteByte, glowmod_x, 32, 0, 255) \
PROPERTY_SCALED(128, ReadByte, WriteByte, glowmod_y, 32, 0, 255) \
PROPERTY_SCALED(128, ReadByte, WriteByte, glowmod_z, 32, 0, 255)
float CSQCModel_Send(entity to, float sf)
{
- WriteByte(MSG_ENTITY, ENT_CS_CSQCMODEL);
+ WriteByte(MSG_ENTITY, ENT_CLIENT_MODEL);
WriteShort(MSG_ENTITY, sf);
#define PROPERTY(flag,r,w,f) \
#undef PROPERTY_SCALED
#undef PROPERTY
+ // if it is the local player, prediction and make sure camera gets set up by it
// interpolation
// draw it
}