19 RDENT_CHANGED_ORIGIN_X,
20 RDENT_CHANGED_ORIGIN_Y,
21 RDENT_CHANGED_ORIGIN_Z,
22 RDENT_CHANGED_ANGLES_X,
23 RDENT_CHANGED_ANGLES_Y,
24 RDENT_CHANGED_ANGLES_Z,
25 RDENT_CHANGED_MODELINDEX,
28 RDENT_CHANGED_SOLIDMOVETYPE,
31 RDENT_CHANGED_EFFECTS,
34 RDENT_CHANGED_VELOCITY,
35 RDENT_CHANGED_ANGULARVELOCITY,
36 RDENT_CHANGED_RENDERCOLOR,
37 RDENT_CHANGED_RENDERAMT,
38 RDENT_CHANGED_RENDERMODE,
39 RDENT_CHANGED_CONTROLLER
40} nsrenderableentity_changed_t;
61 RFX_SLOWWIDEPULSE = 3,
62 RFX_FASTWIDEPULSE = 4,
65 RFX_SLOWBECOMESOLID = 7,
66 RFX_FASTBECOMESOLID = 8,
69 RFX_FASTERSTROBE = 11,
72 RFX_CONSTANTGLOW = 14,
81var
int autocvar_rm_unlit_additive = TRUE;
82var
int autocvar_rm_unlit_texture = TRUE;
99 virtual void SpawnKey(
string,
string);
101 virtual void Input(entity,
string,
string);
103 virtual void Save(
float);
104 virtual void Restore(
string,
string);
186 PREDICTED_FLOAT(m_flBoneControl1)
187 PREDICTED_FLOAT(m_flBoneControl2)
188 PREDICTED_FLOAT(m_flBoneControl3)
189 PREDICTED_FLOAT(m_flBoneControl4)
190 PREDICTED_FLOAT(m_flBoneControl5)
191 PREDICTED_FLOAT_N(modelflags)
192 PREDICTED_INT(m_iBody)
193 PREDICTED_FLOAT_N(colormap)
194 PREDICTED_VECTOR_N(glowmod)
195 PREDICTED_FLOAT_N(frame1time)
197 PREDICTED_FLOAT(m_iRenderFX)
198 PREDICTED_FLOAT(m_iRenderMode)
199 PREDICTED_FLOAT(m_flRenderAmt)
200 PREDICTED_VECTOR(m_vecRenderColor)
201 PREDICTED_VECTOR(m_vecAxialScale)
204 PREDICTED_INT(m_iMuzzleModel)
205 PREDICTED_INT(m_iMuzzlePart)
206 PREDICTED_FLOAT(m_flMuzzleScale)
211 nonvirtual
void _UpdateBoneCount();
216 nonvirtual
void _UpdateGeomset();
NSEntity is the lowest of the user-accessible entity class.
Definition: NSEntity.h:54
This entity represents any NSEntity with advanced rendering properties.
Definition: NSRenderableEntity.h:94
nonvirtual float GetRenderAmt(void)
Returns the render amount of the entity.
Definition: NSRenderableEntity.qc:923
nonvirtual float GetRenderMode(void)
Returns the render mode of the entity.
Definition: NSRenderableEntity.qc:911
nonvirtual void RenderFXPass(void)
Called by predraw(); and will set the appropriate rendering specific fields.
virtual void RendererRestarted()
Client: Called when video resources need to be allocated or reloaded for the entity.
Definition: NSRenderableEntity.qc:45
nonvirtual void SetBody(int)
Sets the bodygroup of the entity.
Definition: NSRenderableEntity.qc:815
nonvirtual float GetBoneControl4(void)
Returns the value of the entity's bone controller #4.
Definition: NSRenderableEntity.qc:953
nonvirtual void SetBoneControl1(float)
Sets the value of the bone controller #1.
Definition: NSRenderableEntity.qc:863
nonvirtual void SetAxialScale(vector)
Sets the axial, anisotropic scale of an entity, affecting the individual axis (forward,...
Definition: NSRenderableEntity.qc:893
nonvirtual float GetBoneControl1(void)
Returns the value of the entity's bone controller #1.
Definition: NSRenderableEntity.qc:935
nonvirtual int GetBodyInGroup(int)
Returns the body within a given group.
Definition: NSRenderableEntity.qc:905
nonvirtual void SetBoneControl5(float)
Sets the value of the bone controller #5.
Definition: NSRenderableEntity.qc:887
nonvirtual void SetRenderColor(vector)
Sets the render color of the entity.
Definition: NSRenderableEntity.qc:852
nonvirtual void SetBoneControl3(float)
Sets the value of the bone controller #3.
Definition: NSRenderableEntity.qc:875
nonvirtual void RenderGLQuakeShadow(void)
virtual void postdraw(void)
Client: Run after the rendering of 3D world is complete.
virtual float SendEntity(entity, float)
Called by the engine whenever we need to send a client an update about this entity.
Definition: NSRenderableEntity.qc:165
virtual void RenderDebugSkeleton(void)
virtual void HandleAnimEvent(float, int, string)
Callback for any model event that gets triggered while playing a framegroup.
Definition: NSRenderableEntity.qc:971
nonvirtual void SetRenderAmt(float)
Sets the render amount of the entity.
Definition: NSRenderableEntity.qc:846
nonvirtual float GetRenderFX(void)
Returns the render FX of the entity.
Definition: NSRenderableEntity.qc:917
nonvirtual void SetBoneControl4(float)
Sets the value of the bone controller #4.
Definition: NSRenderableEntity.qc:881
nonvirtual void SetBoneControl2(float)
Sets the value of the bone controller #2.
Definition: NSRenderableEntity.qc:869
virtual void EvaluateEntity(void)
Run each tic after physics are run to determine if we need to send updates over the network.
Definition: NSRenderableEntity.qc:112
nonvirtual void Event_SpawnDefBone(string, string)
Definition: NSRenderableEntity.qc:1138
nonvirtual void SetBodyInGroup(int, int)
Sets the body inside of a specific group.
Definition: NSRenderableEntity.qc:825
nonvirtual float GetBoneControl5(void)
Returns the value of the entity's bone controller #5.
Definition: NSRenderableEntity.qc:959
nonvirtual void SetRenderFX(float)
Sets the render FX type of the entity.
Definition: NSRenderableEntity.qc:834
virtual void ReceiveEntity(float, float)
Client: Handles network updates from the server for the associated entity.
nonvirtual int GetBody(void)
Returns the bodygroup of the entity.
Definition: NSRenderableEntity.qc:899
virtual void Restore(string, string)
Similar to NSIO::SpawnKey but for save-game fields.
Definition: NSRenderableEntity.qc:1084
virtual void SpawnKey(string, string)
This method handles entity key/value pairs on map load.
Definition: NSRenderableEntity.qc:1222
virtual float predraw(void)
nonvirtual float GetBoneControl3(void)
Returns the value of the entity's bone controller #3.
Definition: NSRenderableEntity.qc:947
virtual void Input(entity, string, string)
Called when we are being prompted by another object/function with an input message.
Definition: NSRenderableEntity.qc:1164
nonvirtual vector GetRenderColor(void)
Returns the render color of the entity.
Definition: NSRenderableEntity.qc:929
nonvirtual float GetBoneControl2(void)
Returns the value of the entity's bone controller #2.
Definition: NSRenderableEntity.qc:941
virtual void Save(float)
Handles saving a copy of this entity to a given filehandle.
Definition: NSRenderableEntity.qc:1063
virtual void Respawn(void)
Server: Called when the entity first spawns or when game-logic requests the entity to return to its o...
Definition: NSRenderableEntity.qc:794
nonvirtual void RenderAxialScale(void)
nonvirtual vector GetAxialScale(void)
Returns the axial/anisotropic scale of the entity, same as input format (forward, right,...
Definition: NSRenderableEntity.qc:965
virtual void MakeStatic(void)
Tells the engine to make the entity static, effectively making it inaccessible.
Definition: NSRenderableEntity.qc:91
nonvirtual void Event_SpawnDefAttachment(string, float)
Definition: NSRenderableEntity.qc:1151
nonvirtual void SetRenderMode(float)
Sets the render mode type of the entity.
Definition: NSRenderableEntity.qc:840
void NSRenderableEntity(void)
Definition: NSRenderableEntity.qc:18
typedef enumflags
Defines the valid alignment flags for text fields.
Definition: font.h:37