CBaseAnimating: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 217: | Line 217: | ||
| style="width: 50%;" |'''m_flCycle''' | | style="width: 50%;" |'''m_flCycle''' | ||
| style="width: 15%;" |Float | | style="width: 15%;" |Float | ||
| style="width: 35%;" | | | style="width: 35%;" |0 - 1 How far along is the animation, 1 being finished. Changing this does nothing. | ||
|- | |- | ||
| colspan="3" style="padding: 0 auto; margin: 0 auto;" | | | colspan="3" style="padding: 0 auto; margin: 0 auto;" | | ||
Revision as of 18:09, 7 October 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. (For players, see: CTFPlayer.m_nForcedSkin) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. (For player viewmodel anims, see CBasePlayer.m_hViewModel.m_nSequence) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| m_flPlaybackRate | Float | Modifier for how fast this animation will play. (Default: 1)
Changing this value will change the animation point to where it would have been if it were playing at the new playback rate the entire time. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 |