Skip to content

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 *-- CRangeFloat
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

12 fields, 12 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

MoodAnimationLayer_t

OffsetFieldTypeFromAnnotations
0x0m_sNameCUtlStringMPropertyDescription Name of the layer MPropertyFriendlyName Name
0x8m_bActiveListeningboolMPropertyDescription Sets the mood's animation buckets to be active when the character is listening MPropertyFriendlyName Active When Listening
0x9m_bActiveTalkingboolMPropertyDescription Sets the mood's animation buckets to be active when the character is talking MPropertyFriendlyName Active When Talking
0x10m_layerAnimationsCUtlVector< MoodAnimation_t >MPropertyDescription List of animations to choose from
0x28m_flIntensityCRangeFloatMPropertyAttributeRange 0 1 MPropertyDescription Intensity of the animation
0x30m_flDurationScaleCRangeFloatMPropertyDescription Multiplier of the animation duration
0x38m_bScaleWithIntsboolMPropertyDescription When scaling an animation, grab the scale value as in int. Used for gestures/postures to control number of looping sections
0x3cm_flNextStartCRangeFloatMPropertyDescription Time before the next animation can start
0x44m_flStartOffsetCRangeFloatMPropertyDescription Time from the start of the mood before an animation can start
0x4cm_flEndOffsetCRangeFloatMPropertyDescription Time from the end of the mood when an animation cannot play
0x54m_flFadeInfloat32MPropertyDescription Fade in time of the animation
0x58m_flFadeOutfloat32MPropertyDescription 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
}