Skip to content

C_OP_RenderSound

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 856 bytes (0x358)Alignment: 8 bytesModule: particlesBinary: !GlobalTypes

Relationships

Inherits from: CParticleFunctionRenderer

Inheritance tree
Relationship diagram (3 edges)
classDiagram
    CParticleFunction <|-- CParticleFunctionRenderer
    CParticleFunctionRenderer <|-- C_OP_RenderSound
    C_OP_RenderSound *-- ParticleAttributeIndex_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CParticleFunctionCParticleFunctionRendererC_OP_RenderSound

OffsetFieldTypeFromAnnotations
0x8m_flOpStrengthCParticleCollectionFloatInputCParticleFunctionMPropertyFriendlyName operator strength MPropertySortPriority -100
0x178m_nOpEndCapStateParticleEndcapMode_tCParticleFunctionMPropertyFriendlyName operator end cap state MPropertySortPriority -100
0x17cm_nToolsStateParticleToolsState_tCParticleFunctionMPropertyFriendlyName operator enabled in tools or game only MPropertySortPriority -100
0x180m_flOpStartFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadein MPropertySortPriority -100 MPropertyStartGroup Operator Fade
0x184m_flOpEndFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadein MPropertySortPriority -100
0x188m_flOpStartFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadeout MPropertySortPriority -100
0x18cm_flOpEndFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadeout MPropertySortPriority -100
0x190m_flOpFadeOscillatePeriodfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade oscillate MPropertySortPriority -100
0x194m_bNormalizeToStopTimeboolCParticleFunctionMParticleAdvancedField MPropertyFriendlyName normalize fade times to endcap MPropertySortPriority -100
0x198m_flOpTimeOffsetMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset min MPropertySortPriority -100 MPropertyStartGroup Operator Fade Time Offset
0x19cm_flOpTimeOffsetMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset max MPropertySortPriority -100
0x1a0m_nOpTimeOffsetSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset seed MPropertySortPriority -100
0x1a4m_nOpTimeScaleSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale seed MPropertySortPriority -100 MPropertyStartGroup Operator Fade Timescale Modifiers
0x1a8m_flOpTimeScaleMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale min MPropertySortPriority -100
0x1acm_flOpTimeScaleMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale max MPropertySortPriority -100
0x1b2m_bDisableOperatorboolCParticleFunctionMPropertyStartGroup MPropertySuppressField
0x1b8m_NotesCUtlStringCParticleFunctionMParticleHelpField MPropertyFriendlyName operator help and notes MPropertySortPriority -100
0x1d8VisibilityInputsCParticleVisibilityInputsCParticleFunctionRendererMPropertySortPriority -1
0x220m_bCannotBeRefractedboolCParticleFunctionRendererMPropertyFriendlyName I cannot be refracted through refracting objects like water MPropertySortPriority -1 MPropertyStartGroup Rendering filter
0x221m_bSkipRenderingOnMobileboolCParticleFunctionRendererMPropertyFriendlyName Skip rendering on mobile MPropertySortPriority -1
0x228m_flDurationScalefloat32MPropertyFriendlyName duration scale
0x22cm_flSndLvlScalefloat32MPropertyFriendlyName decibel level scale
0x230m_flPitchScalefloat32MPropertyFriendlyName pitch scale
0x234m_flVolumeScalefloat32MPropertyFriendlyName volume scale
0x238m_nSndLvlFieldParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_scalar MPropertyFriendlyName decibel level field
0x23cm_nDurationFieldParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_scalar MPropertyFriendlyName duration field
0x240m_nPitchFieldParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_scalar MPropertyFriendlyName pitch field
0x244m_nVolumeFieldParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_scalar MPropertyFriendlyName volume field
0x248m_nChannelint32MPropertyAttributeChoiceName sound_channel MPropertyFriendlyName sound channel
0x24cm_nCPReferenceint32MPropertyFriendlyName sound control point number
0x250m_pszSoundNamechar[256]MPropertyAttributeEditor SoundPicker() MPropertyFriendlyName sound
0x350m_bSuppressStopSoundEventboolMPropertyFriendlyName suppress stop event
KV3 class defaults
{
	"_class": "C_OP_RenderSound",
	"m_flOpStrength":
	{
		"m_nType": "PF_TYPE_LITERAL",
		"m_nMapType": "PF_MAP_TYPE_DIRECT",
		"m_flLiteralValue": 1.000000,
		"m_NamedValue": "",
		"m_nControlPoint": 0,
		"m_nScalarAttribute": 3,
		"m_nVectorAttribute": 6,
		"m_nVectorComponent": 0,
		"m_bReverseOrder": false,
		"m_flRandomMin": 0.000000,
		"m_flRandomMax": 1.000000,
		"m_bHasRandomSignFlip": false,
		"m_nRandomSeed": <HIDDEN FOR DIFF>,
		"m_nRandomMode": "PF_RANDOM_MODE_CONSTANT",
		"m_strSnapshotSubset": "",
		"m_flLOD0": 0.000000,
		"m_flLOD1": 0.000000,
		"m_flLOD2": 0.000000,
		"m_flLOD3": 0.000000,
		"m_nNoiseInputVectorAttribute": 0,
		"m_flNoiseOutputMin": 0.000000,
		"m_flNoiseOutputMax": 1.000000,
		"m_flNoiseScale": 0.100000,
		"m_vecNoiseOffsetRate":
		[
			0.000000,
			0.000000,
			0.000000
		],
		"m_flNoiseOffset": 0.000000,
		"m_nNoiseOctaves": 1,
		"m_nNoiseTurbulence": "PF_NOISE_TURB_NONE",
		"m_nNoiseType": "PF_NOISE_TYPE_PERLIN",
		"m_nNoiseModifier": "PF_NOISE_MODIFIER_NONE",
		"m_flNoiseTurbulenceScale": 1.000000,
		"m_flNoiseTurbulenceMix": 0.500000,
		"m_flNoiseImgPreviewScale": 1.000000,
		"m_bNoiseImgPreviewLive": true,
		"m_flNoCameraFallback": 0.000000,
		"m_bUseBoundsCenter": false,
		"m_nInputMode": "PF_INPUT_MODE_CLAMPED",
		"m_flMultFactor": 1.000000,
		"m_flInput0": 0.000000,
		"m_flInput1": 1.000000,
		"m_flOutput0": 0.000000,
		"m_flOutput1": 1.000000,
		"m_flNotchedRangeMin": 0.000000,
		"m_flNotchedRangeMax": 1.000000,
		"m_flNotchedOutputOutside": 0.000000,
		"m_flNotchedOutputInside": 1.000000,
		"m_nRoundType": "PF_ROUND_TYPE_NEAREST",
		"m_nBiasType": "PF_BIAS_TYPE_STANDARD",
		"m_flBiasParameter": 0.000000,
		"m_Curve":
		{
			"m_spline":
			[
			],
			"m_tangents":
			[
			],
			"m_vDomainMins":
			[
				0.000000,
				0.000000
			],
			"m_vDomainMaxs":
			[
				0.000000,
				0.000000
			]
		}
	},
	"m_nOpEndCapState": "PARTICLE_ENDCAP_ALWAYS_ON",
	"m_nToolsState": "PARTICLE_TOOLS_STATE_ALWAYS_ON",
	"m_flOpStartFadeInTime": 0.000000,
	"m_flOpEndFadeInTime": 0.000000,
	"m_flOpStartFadeOutTime": 0.000000,
	"m_flOpEndFadeOutTime": 0.000000,
	"m_flOpFadeOscillatePeriod": 0.000000,
	"m_bNormalizeToStopTime": false,
	"m_flOpTimeOffsetMin": 0.000000,
	"m_flOpTimeOffsetMax": 0.000000,
	"m_nOpTimeOffsetSeed": 0,
	"m_nOpTimeScaleSeed": 0,
	"m_flOpTimeScaleMin": 1.000000,
	"m_flOpTimeScaleMax": 1.000000,
	"m_bDisableOperator": false,
	"m_Notes": "",
	"VisibilityInputs":
	{
		"m_flCameraBias": 0.000000,
		"m_nCPin": -1,
		"m_flProxyRadius": 1.000000,
		"m_flInputMin": 0.000000,
		"m_flInputMax": 1.000000,
		"m_flInputPixelVisFade": 0.250000,
		"m_flNoPixelVisibilityFallback": 1.000000,
		"m_flDistanceInputMin": 0.000000,
		"m_flDistanceInputMax": 0.000000,
		"m_flDotInputMin": 0.000000,
		"m_flDotInputMax": 0.000000,
		"m_bDotCPAngles": true,
		"m_bDotCameraAngles": false,
		"m_flAlphaScaleMin": 0.000000,
		"m_flAlphaScaleMax": 1.000000,
		"m_flRadiusScaleMin": 1.000000,
		"m_flRadiusScaleMax": 1.000000,
		"m_flRadiusScaleFOVBase": 0.000000,
		"m_bRightEye": false
	},
	"m_bCannotBeRefracted": true,
	"m_bSkipRenderingOnMobile": false,
	"m_flDurationScale": 1.000000,
	"m_flSndLvlScale": 75.000000,
	"m_flPitchScale": 100.000000,
	"m_flVolumeScale": 1.000000,
	"m_nSndLvlField": 19,
	"m_nDurationField": 1,
	"m_nPitchField": 16,
	"m_nVolumeField": 7,
	"m_nChannel": 0,
	"m_nCPReference": -1,
	"m_pszSoundName": "",
	"m_bSuppressStopSoundEvent": false
}