CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/baseanimating.h /game/server/baseanimating.h]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/baseanimating.h /game/server/baseanimating.h]''' | ||
'''VScript : [https://developer.valvesoftware.com/wiki/Team_Fortress_2/Scripting/Script_Functions#CBaseAnimating Script_Functions#CBaseAnimating]''' | |||
== [[Classes|Class Structure]] == | == [[Classes|Class Structure]] == | ||
Revision as of 12:59, 17 September 2023
Overview
All entities with models inherit from this class, even if they don't have any animations.
Source location : /game/server/baseanimating.h
VScript : Script_Functions#CBaseAnimating
Class Structure
- CBaseEntity
- CBaseAnimating
SendProps
| Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_nForceBone | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_vecForce | Vector | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nSkin | Integer | The skin for this entity's model. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nBody | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nHitboxSet | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flModelScale | Float | The scale of this entity's model. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nSequence | Integer | The animation sequence this entity's model is playing. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flPlaybackRate | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_bClientSideAnimation | Boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_bClientSideFrameReset | Boolean | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nNewSequenceParity | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nResetEventsParity | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_nMuzzleFlashParity | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hLightingOrigin | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_hLightingOriginRelative | Integer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_fadeMinDist | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_fadeMaxDist | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flFadeScale | Float | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Entity DataMaps
| Name | Type | Description |
|---|---|---|
| InputBecomeRagdoll | ||
| InputIgnite | ||
| InputIgniteHitboxFireScale | ||
| InputIgniteLifetime | ||
| InputIgniteNumHitboxFires | ||
| InputSetLightingOrigin | ||
| InputSetLightingOriginRelative | ||
| InputSetModel | ||
| InputSetModelScale | ||
| InputSetCycle | ||
| InputSetPlaybackRate | ||
| m_OnIgnite | ||
| m_bClientSideAnimation | ||
| m_bClientSideFrameReset | ||
| m_bSequenceFinished | ||
| m_bSequenceLoops | ||
| m_fBoneCacheFlags | ||
| m_fadeMaxDist | ||
| m_fadeMinDist | ||
| m_flCycle | ||
| m_flDissolveStartTime | ||
| m_flEncodedController | ||
| m_flFadeScale | ||
| m_flGroundSpeed | ||
| m_flLastEventCheck | ||
| m_flModelScale | ||
| m_flPlaybackRate | ||
| m_flPoseParameter | ||
| m_hLightingOrigin | ||
| m_hLightingOriginRelative | ||
| m_iIKCounter | ||
| m_iszLightingOrigin | ||
| m_iszLightingOriginRelative | ||
| m_nBody | ||
| m_nHitboxSet | ||
| m_nMuzzleFlashParity | ||
| m_nNewSequenceParity | ||
| m_nResetEventsParity | ||
| m_nSequence | ||
| m_nSkin | ||
| m_pIk |