Skip to content

C_OP_RenderTrails

CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 18208 bytes (0x4720)Alignment: 8 bytesModule: particlesBinary: !GlobalTypes

Metadata: MGPUParticleFunction

Relationships

Inherits from: CBaseTrailRenderer

Inheritance tree
Relationship diagram (7 edges)
classDiagram
    CParticleFunction <|-- CParticleFunctionRenderer
    CParticleFunctionRenderer <|-- CBaseRendererSource2
    CBaseRendererSource2 <|-- CBaseTrailRenderer
    CBaseTrailRenderer <|-- C_OP_RenderTrails
    C_OP_RenderTrails *-- ParticleAttributeIndex_t
    C_OP_RenderTrails *-- CPerParticleFloatInput
    C_OP_RenderTrails *-- CParticleCollectionVecInput
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CParticleFunctionCParticleFunctionRendererCBaseRendererSource2CBaseTrailRendererC_OP_RenderTrails

OffsetFieldTypeFromAnnotations
0x8m_flOpStrengthCParticleCollectionFloatInputCParticleFunctionMPropertyFriendlyName operator strength MPropertySortPriority -100
0x180m_nOpEndCapStateParticleEndcapMode_tCParticleFunctionMPropertyFriendlyName operator end cap state MPropertySortPriority -100
0x184m_nToolsStateParticleToolsState_tCParticleFunctionMPropertyFriendlyName operator enabled in tools or game only MPropertySortPriority -100
0x188m_flOpStartFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadein MPropertySortPriority -100 MPropertyStartGroup Operator Fade
0x18cm_flOpEndFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadein MPropertySortPriority -100
0x190m_flOpStartFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadeout MPropertySortPriority -100
0x194m_flOpEndFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadeout MPropertySortPriority -100
0x198m_flOpFadeOscillatePeriodfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade oscillate MPropertySortPriority -100
0x19cm_bNormalizeToStopTimeboolCParticleFunctionMParticleAdvancedField MPropertyFriendlyName normalize fade times to endcap MPropertySortPriority -100
0x1a0m_flOpTimeOffsetMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset min MPropertySortPriority -100 MPropertyStartGroup Operator Fade Time Offset
0x1a4m_flOpTimeOffsetMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset max MPropertySortPriority -100
0x1a8m_nOpTimeOffsetSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset seed MPropertySortPriority -100
0x1acm_nOpTimeScaleSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale seed MPropertySortPriority -100 MPropertyStartGroup Operator Fade Timescale Modifiers
0x1b0m_flOpTimeScaleMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale min MPropertySortPriority -100
0x1b4m_flOpTimeScaleMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale max MPropertySortPriority -100
0x1bam_bDisableOperatorboolCParticleFunctionMPropertyStartGroup MPropertySuppressField
0x1c0m_NotesCUtlStringCParticleFunctionMParticleHelpField MPropertyAttributeEditor TextBlock() MPropertyFriendlyName operator help and notes MPropertySortPriority -100
0x1e0VisibilityInputsCParticleVisibilityInputsCParticleFunctionRendererMPropertySortPriority -1
0x228m_bCannotBeRefractedboolCParticleFunctionRendererMPropertyFriendlyName I cannot be refracted through refracting objects like water MPropertySortPriority -1 MPropertyStartGroup Rendering filter
0x230m_flRadiusScaleCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName radius scale MPropertySortPriority 700 MPropertyStartGroup +Renderer Modifiers
0x3a8m_flAlphaScaleCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName alpha scale MPropertySortPriority 700
0x520m_flRollScaleCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName rotation roll scale MPropertySortPriority 700
0x698m_nAlpha2FieldParticleAttributeIndex_tCBaseRendererSource2MPropertyAttributeChoiceName particlefield_scalar MPropertyFriendlyName per-particle alpha scale attribute MPropertySortPriority 700
0x6a0m_vecColorScaleCParticleCollectionRendererVecInputCBaseRendererSource2MPropertyFriendlyName color blend MPropertySortPriority 700
0xd78m_nColorBlendTypeParticleColorBlendType_tCBaseRendererSource2MPropertyFriendlyName color blend type MPropertySortPriority 700
0xd7cm_nShaderTypeSpriteCardShaderType_tCBaseRendererSource2MPropertyFriendlyName Shader MPropertySortPriority 600 MPropertyStartGroup +Material
0xd80m_strShaderOverrideCUtlStringCBaseRendererSource2MPropertyFriendlyName Custom Shader MPropertySortPriority 600 MPropertySuppressExpr m_nShaderType != SPRITECARD_SHADER_CUSTOM
0xd88m_flCenterXOffsetCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName X offset of center point MPropertySortPriority 600
0xf00m_flCenterYOffsetCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName Y offset of center point MPropertySortPriority 600
0x1078m_flBumpStrengthfloat32CBaseRendererSource2MPropertyFriendlyName Bump Strength MPropertySortPriority 600
0x107cm_nCropTextureOverrideParticleSequenceCropOverride_tCBaseRendererSource2MPropertyFriendlyName Sheet Crop Behavior MPropertySortPriority 600
0x1080m_vecTexturesInputCUtlLeanVector< TextureGroup_t >CBaseRendererSource2MParticleRequireDefaultArrayEntry MPropertyAutoExpandSelf MPropertyFriendlyName Textures MPropertySortPriority 600
0x1090m_flAnimationRatefloat32CBaseRendererSource2MPropertyAttributeRange 0 5 MPropertyFriendlyName animation rate MPropertySortPriority 500 MPropertyStartGroup Animation
0x1094m_nAnimationTypeAnimationType_tCBaseRendererSource2MPropertyFriendlyName animation type MPropertySortPriority 500
0x1098m_bAnimateInFPSboolCBaseRendererSource2MPropertyFriendlyName set animation value in FPS MPropertySortPriority 500
0x10a0m_flMotionVectorScaleUCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName motion vector scale U MPropertySortPriority 500
0x1218m_flMotionVectorScaleVCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName motion vector scale V MPropertySortPriority 500
0x1390m_flSelfIllumAmountCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange 0 2 MPropertyFriendlyName self illum amount MPropertySortPriority 400 MPropertyStartGroup Lighting and Shadows
0x1508m_flDiffuseAmountCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange 0 1 MPropertyFriendlyName diffuse lighting amount MPropertySortPriority 400
0x1680m_flDiffuseClampCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange 0 1 MPropertyFriendlyName diffuse max contribution clamp MPropertySortPriority 400 MPropertySuppressExpr mod != hlx
0x17f8m_nLightingControlPointint32CBaseRendererSource2MPropertyFriendlyName diffuse lighting origin Control Point MPropertySortPriority 400
0x17fcm_nOutputBlendModeParticleOutputBlendMode_tCBaseRendererSource2MPropertyFriendlyName output blend mode MPropertySortPriority 300 MPropertyStartGroup +Color and alpha adjustments
0x1800m_bGammaCorrectVertexColorsboolCBaseRendererSource2MPropertyFriendlyName Gamma-correct vertex colors MPropertySortPriority 300
0x1801m_bSaturateColorPreAlphaBlendboolCBaseRendererSource2MPropertyFriendlyName Saturate color pre alphablend MPropertySortPriority 300 MPropertySuppressExpr mod != dota && mod != hlx
0x1808m_flAddSelfAmountCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName add self amount over alphablend MPropertySortPriority 300
0x1980m_flDesaturationCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange 0 1 MPropertyFriendlyName desaturation amount MPropertySortPriority 300
0x1af8m_flOverbrightFactorCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName overbright factor MPropertySortPriority 300
0x1c70m_nHSVShiftControlPointint32CBaseRendererSource2MPropertyFriendlyName HSV Shift Control Point MPropertySortPriority 300
0x1c74m_nFogTypeParticleFogType_tCBaseRendererSource2MPropertyFriendlyName Apply fog to particle MPropertySortPriority 300
0x1c78m_flFogAmountCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName Fog Scale MPropertySortPriority 300 MPropertySuppressExpr mod != hlx
0x1df0m_bTintByFOWboolCBaseRendererSource2MPropertyFriendlyName Apply fog of war to color MPropertySortPriority 300 MPropertySuppressExpr mod != dota
0x1df1m_bTintByGlobalLightboolCBaseRendererSource2MPropertyFriendlyName Apply global light to color MPropertySortPriority 300 MPropertySuppressExpr mod != dota
0x1df4m_nPerParticleAlphaReferenceSpriteCardPerParticleScale_tCBaseRendererSource2MPropertyFriendlyName alpha reference MPropertySortPriority 300 MPropertyStartGroup Color and alpha adjustments/Alpha Reference
0x1df8m_nPerParticleAlphaRefWindowSpriteCardPerParticleScale_tCBaseRendererSource2MPropertyFriendlyName alpha reference window size MPropertySortPriority 300
0x1dfcm_nAlphaReferenceTypeParticleAlphaReferenceType_tCBaseRendererSource2MPropertyFriendlyName alpha reference type MPropertySortPriority 300
0x1e00m_flAlphaReferenceSoftnessCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange 0 1 MPropertyFriendlyName alpha reference softness MPropertySortPriority 300
0x1f78m_flSourceAlphaValueToMapToZeroCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange 0 1 MPropertyFriendlyName source alpha value to map to alpha of zero MPropertySortPriority 300
0x20f0m_flSourceAlphaValueToMapToOneCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange 0 1 MPropertyFriendlyName source alpha value to map to alpha of 1 MPropertySortPriority 300
0x2268m_bRefractboolCBaseRendererSource2MPropertyFriendlyName refract background MPropertySortPriority 200 MPropertyStartGroup Refraction
0x2269m_bRefractSolidboolCBaseRendererSource2MPropertyFriendlyName refract draws opaque - alpha scales refraction MPropertySortPriority 200 MPropertySuppressExpr !m_bRefract
0x226am_bRefract2PassesboolCBaseRendererSource2MPropertyFriendlyName refract in 2 passes - can refract particles behind, requires (MBOIT!) MPropertySortPriority 200 MPropertySuppressExpr mod != hlx || !m_bRefract
0x2270m_flRefractAmountCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyAttributeRange -2 2 MPropertyFriendlyName refract amount MPropertySortPriority 200 MPropertySuppressExpr !m_bRefract
0x23e8m_nRefractBlurRadiusint32CBaseRendererSource2MPropertyFriendlyName refract blur radius MPropertySortPriority 200 MPropertySuppressExpr !m_bRefract
0x23ecm_nRefractBlurTypeBlurFilterType_tCBaseRendererSource2MPropertyFriendlyName refract blur type MPropertySortPriority 200 MPropertySuppressExpr !m_bRefract
0x23f0m_bOnlyRenderInEffectsBloomPassboolCBaseRendererSource2MPropertyFriendlyName Only Render in effects bloom pass MPropertySortPriority 1100 MPropertyStartGroup
0x23f1m_bOnlyRenderInEffectsWaterPassboolCBaseRendererSource2MPropertyFriendlyName Only Render in effects water pass MPropertySortPriority 1050 MPropertySuppressExpr mod != csgo && mod != hlx
0x23f2m_bUseMixedResolutionRenderingboolCBaseRendererSource2MPropertyFriendlyName Use Mixed Resolution Rendering MPropertySortPriority 1200
0x23f3m_bOnlyRenderInEffecsGameOverlayboolCBaseRendererSource2MPropertyFriendlyName Only Render in effects game overlay pass MPropertySortPriority 1210 MPropertySuppressExpr mod != csgo
0x23f4m_stencilTestIDchar[128]CBaseRendererSource2MPropertyFriendlyName stencil test ID MPropertySortPriority 0 MPropertyStartGroup Stencil
0x2474m_bStencilTestExcludeboolCBaseRendererSource2MPropertyFriendlyName only write where stencil is NOT stencil test ID MPropertySortPriority 0
0x2475m_stencilWriteIDchar[128]CBaseRendererSource2MPropertyFriendlyName stencil write ID MPropertySortPriority 0
0x24f5m_bWriteStencilOnDepthPassboolCBaseRendererSource2MPropertyFriendlyName write stencil on z-buffer test success MPropertySortPriority 0
0x24f6m_bWriteStencilOnDepthFailboolCBaseRendererSource2MPropertyFriendlyName write stencil on z-buffer test failure MPropertySortPriority 0
0x24f7m_bReverseZBufferingboolCBaseRendererSource2MPropertyFriendlyName reverse z-buffer test MPropertySortPriority 900 MPropertyStartGroup Depth buffer control and effects
0x24f8m_bDisableZBufferingboolCBaseRendererSource2MPropertyFriendlyName disable z-buffer test MPropertySortPriority 900
0x24fcm_nFeatheringModeParticleDepthFeatheringMode_tCBaseRendererSource2MPropertyFriendlyName Depth feathering mode MPropertySortPriority 900
0x2500m_flFeatheringMinDistCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName particle feathering closest distance to surface MPropertySortPriority 900
0x2678m_flFeatheringMaxDistCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName particle feathering farthest distance to surface MPropertySortPriority 900
0x27f0m_flFeatheringFilterCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName particle feathering alpha filter MPropertySortPriority 900
0x2968m_flFeatheringDepthMapFilterCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName particle feathering depthmap layer filter MPropertySortPriority 900 MPropertySuppressExpr mod != hlx
0x2ae0m_flDepthBiasCParticleCollectionRendererFloatInputCBaseRendererSource2MPropertyFriendlyName depth comparison bias MPropertySortPriority 900
0x2c58m_nSortMethodParticleSortingChoiceList_tCBaseRendererSource2MPropertyFriendlyName Sort Method MPropertySortPriority 900
0x2c5cm_bBlendFramesSeq0boolCBaseRendererSource2MPropertyFriendlyName blend sequence animation frames MPropertySortPriority 500 MPropertyStartGroup Animation
0x2c5dm_bMaxLuminanceBlendingSequence0boolCBaseRendererSource2MPropertyFriendlyName use max-luminance blending for sequence MPropertySortPriority 500 MPropertySuppressExpr !m_bBlendFramesSeq0
0x2ed8m_nOrientationTypeParticleOrientationChoiceList_tCBaseTrailRendererMPropertyFriendlyName orientation type MPropertySortPriority 750 MPropertyStartGroup Orientation
0x2edcm_nOrientationControlPointint32CBaseTrailRendererMPropertyFriendlyName orientation control point MPropertySortPriority 750 MPropertySuppressExpr m_nOrientationType != PARTICLE_ORIENTATION_ALIGN_TO_PARTICLE_NORMAL && m_nOrientationType != PARTICLE_ORIENTATION_SCREENALIGN_TO_PARTICLE_NORMAL
0x2ee0m_flMinSizefloat32CBaseTrailRendererMPropertyFriendlyName minimum visual screen-size MPropertySortPriority 900 MPropertyStartGroup Screenspace Fading and culling
0x2ee4m_flMaxSizefloat32CBaseTrailRendererMPropertyFriendlyName maximum visual screen-size MPropertySortPriority 900
0x2ee8m_flStartFadeSizeCParticleCollectionRendererFloatInputCBaseTrailRendererMPropertyFriendlyName start fade screen-size MPropertySortPriority 900
0x3060m_flEndFadeSizeCParticleCollectionRendererFloatInputCBaseTrailRendererMPropertyFriendlyName end fade and cull screen-size MPropertySortPriority 900
0x31d8m_flSubPixelAAScaleCParticleCollectionRendererFloatInputCBaseTrailRendererMPropertyFriendlyName sub-pixel AA scale MPropertySortPriority 1000 MPropertySuppressExpr mod != hlx
0x3350m_bClampVboolCBaseTrailRendererMPropertyFriendlyName Clamp Non-Sheet texture V coords MPropertySortPriority 800 MPropertyStartGroup Trail UV Controls
0x3358m_bEnableFadingAndClampingboolMPropertyFriendlyName enable fading and clamping MPropertySortPriority 1000 MPropertyStartGroup Screenspace Fading and culling
0x335cm_flStartFadeDotfloat32MPropertyFriendlyName start fade dot product of normal vs view MPropertySortPriority 1000
0x3360m_flEndFadeDotfloat32MPropertyFriendlyName end fade dot product of normal vs view MPropertySortPriority 1000
0x3364m_nPrevPntSourceParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_vector MPropertyFriendlyName Anchor point source MPropertySortPriority 800 MPropertyStartGroup +Trail Length
0x3368m_flMaxLengthfloat32MPropertyFriendlyName max length MPropertySortPriority 800
0x336cm_flMinLengthfloat32MPropertyFriendlyName min length MPropertySortPriority 800
0x3370m_bIgnoreDTboolMPropertyFriendlyName ignore delta time MPropertySortPriority 800
0x3374m_flConstrainRadiusToLengthRatiofloat32MPropertyFriendlyName constrain radius to no more than this times the length MPropertySortPriority 800
0x3378m_flLengthScalefloat32MPropertyFriendlyName amount to scale trail length by
0x337cm_flLengthFadeInTimefloat32MPropertyFriendlyName how long before a trail grows to its full length
0x3380m_flRadiusHeadTaperCPerParticleFloatInputMPropertyFriendlyName head taper scale MPropertySortPriority 800 MPropertyStartGroup Trail Head & Tail
0x34f8m_vecHeadColorScaleCParticleCollectionVecInputMPropertyFriendlyName head color scale
0x3bd0m_flHeadAlphaScaleCPerParticleFloatInputMPropertyFriendlyName head alpha scale
0x3d48m_flRadiusTaperCPerParticleFloatInputMPropertyFriendlyName tail taper scale
0x3ec0m_vecTailColorScaleCParticleCollectionVecInputMPropertyFriendlyName tail color scale
0x4598m_flTailAlphaScaleCPerParticleFloatInputMPropertyFriendlyName tail alpha scale
0x4710m_nHorizCropFieldParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_scalar MPropertyFriendlyName texture UV horizontal Scale field MPropertySortPriority 800 MPropertyStartGroup Trail UV Controls
0x4714m_nVertCropFieldParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_scalar MPropertyFriendlyName texture UV vertical Scale field
0x4718m_flForwardShiftfloat32MPropertyFriendlyName Trail forward shift (fraction)
0x471cm_bFlipUVBasedOnPitchYawboolMPropertyFriendlyName Flip U or V texcoords if pitch or yaw go over PI
KV3 class defaults

Truncated to the first 2048 bytes of 87896. The full value is in cs2_schema.json under classes[].metadata[MGetKV3ClassDefaults].

{
	"_class": "C_OP_RenderTrails",
	"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_flCompareValue": 0.000000
	},
	"m_nOpEndCapState": "PARTICLE_ENDCAP_ALWAYS_ON",
	"m_nToolsState": "PARTICLE_TOOLS_STATE_ALWAYS_ON",
	"m_flOpStartFadeInTime": 0.000000,
	"m_flO
...