MoodAnimationLayer_t
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 96 bytes (0x60)Alignment: 8 bytesModule: animationsystemBinary: !GlobalTypes
Metadata: MPropertyArrayElementNameKey m_sName
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- MoodAnimationLayer_t
Relationship diagram (2 edges)
classDiagram
MoodAnimationLayer_t *-- MoodAnimation_t
MoodAnimationLayer_t *-- CRangeFloatMemory layout
12 fields, 12 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
MoodAnimationLayer_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_sName | CUtlString | MPropertyDescription Name of the layer MPropertyFriendlyName Name | |
0x8 | m_bActiveListening | bool | MPropertyDescription Sets the mood's animation buckets to be active when the character is listening MPropertyFriendlyName Active When Listening | |
0x9 | m_bActiveTalking | bool | MPropertyDescription Sets the mood's animation buckets to be active when the character is talking MPropertyFriendlyName Active When Talking | |
0x10 | m_layerAnimations | CUtlVector< MoodAnimation_t > | MPropertyDescription List of animations to choose from | |
0x28 | m_flIntensity | CRangeFloat | MPropertyAttributeRange 0 1 MPropertyDescription Intensity of the animation | |
0x30 | m_flDurationScale | CRangeFloat | MPropertyDescription Multiplier of the animation duration | |
0x38 | m_bScaleWithInts | bool | MPropertyDescription When scaling an animation, grab the scale value as in int. Used for gestures/postures to control number of looping sections | |
0x3c | m_flNextStart | CRangeFloat | MPropertyDescription Time before the next animation can start | |
0x44 | m_flStartOffset | CRangeFloat | MPropertyDescription Time from the start of the mood before an animation can start | |
0x4c | m_flEndOffset | CRangeFloat | MPropertyDescription Time from the end of the mood when an animation cannot play | |
0x54 | m_flFadeIn | float32 | MPropertyDescription Fade in time of the animation | |
0x58 | m_flFadeOut | float32 | MPropertyDescription Fade out time of the animation |
KV3 class defaults
{
"m_sName": "",
"m_bActiveListening": true,
"m_bActiveTalking": true,
"m_layerAnimations":
[
],
"m_flIntensity": 1.000000,
"m_flDurationScale": 1.000000,
"m_bScaleWithInts": false,
"m_flNextStart": 1.000000,
"m_flStartOffset": 0.000000,
"m_flEndOffset": 0.000000,
"m_flFadeIn": 0.200000,
"m_flFadeOut": 0.200000
}