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;
101 virtual void SpawnKey(
string,
string);
103 virtual void Input(entity,
string,
string);
105 virtual void Save(
float);
106 virtual void Restore(
string,
string);
188 NETWORKED_FLOAT(m_studioBoneController1)
189 NETWORKED_FLOAT(m_studioBoneController2)
190 NETWORKED_FLOAT(m_studioBoneController3)
191 NETWORKED_FLOAT(m_studioBoneController4)
192 NETWORKED_FLOAT(m_studioBoneController5)
193 NETWORKED_FLOAT_N(modelflags)
194 NETWORKED_INT(m_geomsetField)
195 NETWORKED_FLOAT_N(colormap)
196 NETWORKED_VECTOR_N(glowmod)
197 NETWORKED_FLOAT_N(frame1time)
199 NETWORKED_FLOAT(m_renderFX)
200 NETWORKED_FLOAT(m_renderMode)
201 NETWORKED_FLOAT(m_renderAmount)
202 NETWORKED_VECTOR(m_renderColor)
203 NETWORKED_VECTOR(m_axialScale)
206 NETWORKED_INT(m_iMuzzleModel)
207 NETWORKED_INT(m_iMuzzlePart)
208 NETWORKED_FLOAT(m_flMuzzleScale)
211 float m_modelEventTime;
213 nonvirtual
void _UpdateBoneCount();
216 float m_studioBoneController1Spin;
217 float m_studioBoneController2Spin;
218 float m_studioBoneController3Spin;
219 float m_studioBoneController4Spin;
220 float m_studioBoneController5Spin;
224 string m_muzzPartSmoke;
226 vector m_muzzRelativeOffset;
227 float m_fiJointMuzzle;
228 float m_fiJointBarrel;
230 nonvirtual
void _UpdateGeomset();
ncEntity is the lowest of the user-accessible entity class.
Definition: Entity.h:75
This entity represents any ncEntity with advanced rendering properties.
Definition: RenderableEntity.h:94
nonvirtual void SetBoneController1(float)
Sets the value of the bone controller #1.
Definition: RenderableEntity.qc:959
nonvirtual vector GetRenderColor(void)
Returns the render color of the entity.
Definition: RenderableEntity.qc:1025
nonvirtual int GetBodyInGroup(int)
Returns the body within a given group.
Definition: RenderableEntity.qc:1001
virtual void EvaluateEntity(void)
Run each tic after physics are run to determine if we need to send updates over the network.
Definition: RenderableEntity.qc:133
virtual void Save(float)
Handles saving a copy of this entity to a given filehandle.
Definition: RenderableEntity.qc:1267
nonvirtual void Event_SpawnDefAttachment(string, float)
Definition: RenderableEntity.qc:1343
virtual void SpawnKey(string, string)
This method handles entity key/value pairs on map load.
Definition: RenderableEntity.qc:1429
virtual void Restore(string, string)
Similar to ncIO::SpawnKey() but for save-game fields.
Definition: RenderableEntity.qc:1285
nonvirtual void SetAxialScale(vector)
Sets the axial, anisotropic scale of an entity, affecting the individual axis (forward,...
Definition: RenderableEntity.qc:989
nonvirtual void SetRenderFX(float)
Sets the render FX type of the entity.
Definition: RenderableEntity.qc:930
nonvirtual float GetRenderFX(void)
Returns the render FX of the entity.
Definition: RenderableEntity.qc:1013
virtual void ReloadVideoResources()
Client: Called when video resources need to be allocated or reloaded for the entity.
Definition: RenderableEntity.qc:46
nonvirtual float GetBoneController2(void)
Returns the value of the entity's bone controller #2.
Definition: RenderableEntity.qc:1037
nonvirtual vector GetAxialScale(void)
Returns the axial/anisotropic scale of the entity, same as input format (forward, right,...
Definition: RenderableEntity.qc:1061
nonvirtual void SetBoneController2(float)
Sets the value of the bone controller #2.
Definition: RenderableEntity.qc:965
nonvirtual void SetBoneController4(float)
Sets the value of the bone controller #4.
Definition: RenderableEntity.qc:977
nonvirtual void SetBody(int)
Sets the bodygroup of the entity.
Definition: RenderableEntity.qc:911
nonvirtual void RenderGLQuakeShadow(void)
virtual void MakeStatic(void)
Tells the engine to make the entity static, effectively making it inaccessible.
Definition: RenderableEntity.qc:112
nonvirtual void SetRenderAmt(float)
Sets the render amount of the entity.
Definition: RenderableEntity.qc:942
virtual float predraw(void)
nonvirtual void SetRenderMode(float)
Sets the render mode type of the entity.
Definition: RenderableEntity.qc:936
nonvirtual float GetRenderAmt(void)
Returns the render amount of the entity.
Definition: RenderableEntity.qc:1019
nonvirtual void RenderFXPass(void)
Called by predraw(); and will set the appropriate rendering specific fields.
nonvirtual void SetBodyInGroup(int, int)
Sets the body inside of a specific group.
Definition: RenderableEntity.qc:921
virtual void postdraw(void)
Client: Run after the rendering of 3D world is complete.
nonvirtual int GetBody(void)
Returns the bodygroup of the entity.
Definition: RenderableEntity.qc:995
nonvirtual void RenderAxialScale(void)
nonvirtual float GetBoneController5(void)
Returns the value of the entity's bone controller #5.
Definition: RenderableEntity.qc:1055
virtual void ReceiveEntity(float, float)
Client: Handles network updates from the server for the associated entity.
virtual void OnRemoveEntity(void)
Handles what happens before the entity gets removed from the client game.
Definition: RenderableEntity.qc:90
nonvirtual float GetBoneController3(void)
Returns the value of the entity's bone controller #3.
Definition: RenderableEntity.qc:1043
nonvirtual void SetBoneController3(float)
Sets the value of the bone controller #3.
Definition: RenderableEntity.qc:971
virtual void RenderDebugSkeleton(void)
void ncRenderableEntity(void)
Definition: RenderableEntity.qc:18
nonvirtual float GetRenderMode(void)
Returns the render mode of the entity.
Definition: RenderableEntity.qc:1007
nonvirtual void Event_SpawnDefBone(string, string)
Definition: RenderableEntity.qc:1330
nonvirtual void SetRenderColor(vector)
Sets the render color of the entity.
Definition: RenderableEntity.qc:948
virtual void HandleAnimEvent(float, int, string)
Callback for any model event that gets triggered while playing a framegroup.
Definition: RenderableEntity.qc:1067
nonvirtual float GetBoneController1(void)
Returns the value of the entity's bone controller #1.
Definition: RenderableEntity.qc:1031
virtual void Respawn(void)
Server: Called when the entity first spawns or when game-logic requests the entity to return to its o...
Definition: RenderableEntity.qc:889
nonvirtual void SetBoneController5(float)
Sets the value of the bone controller #5.
Definition: RenderableEntity.qc:983
virtual void Input(entity, string, string)
Called when we are being prompted by another object/function with an input message.
Definition: RenderableEntity.qc:1356
virtual float SendEntity(entity, float)
Called by the engine whenever we need to send a client an update about this entity.
Definition: RenderableEntity.qc:196
nonvirtual float GetBoneController4(void)
Returns the value of the entity's bone controller #4.
Definition: RenderableEntity.qc:1049
typedef enumflags
Defines the valid alignment flags for text fields.
Definition: font.h:37