C_INIT_SetHitboxToModel
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 2728 bytes (0xaa8)Alignment: 8 bytesModule: particlesBinary: !GlobalTypes
Relationships
Inherits from: CParticleFunctionInitializer
Inheritance tree
CParticleFunction
CParticleFunctionInitializer
- C_INIT_SetHitboxToModel
Relationship diagram (4 edges)
classDiagram
CParticleFunction <|-- CParticleFunctionInitializer
CParticleFunctionInitializer <|-- C_INIT_SetHitboxToModel
C_INIT_SetHitboxToModel *-- CParticleCollectionVecInput
C_INIT_SetHitboxToModel *-- CParticleCollectionFloatInputMemory layout
28 fields, 10 declared here and 18 inherited. Offsets are absolute from the object base on windows-x86_64.
CParticleFunctionCParticleFunctionInitializerC_INIT_SetHitboxToModel
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_flOpStrength | CParticleCollectionFloatInput | CParticleFunction | MPropertyFriendlyName operator strength MPropertySortPriority -100 |
0x178 | m_nOpEndCapState | ParticleEndcapMode_t | CParticleFunction | MPropertyFriendlyName operator end cap state MPropertySortPriority -100 |
0x17c | m_nToolsState | ParticleToolsState_t | CParticleFunction | MPropertyFriendlyName operator enabled in tools or game only MPropertySortPriority -100 |
0x180 | m_flOpStartFadeInTime | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator start fadein MPropertySortPriority -100 MPropertyStartGroup Operator Fade |
0x184 | m_flOpEndFadeInTime | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator end fadein MPropertySortPriority -100 |
0x188 | m_flOpStartFadeOutTime | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator start fadeout MPropertySortPriority -100 |
0x18c | m_flOpEndFadeOutTime | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator end fadeout MPropertySortPriority -100 |
0x190 | m_flOpFadeOscillatePeriod | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator fade oscillate MPropertySortPriority -100 |
0x194 | m_bNormalizeToStopTime | bool | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName normalize fade times to endcap MPropertySortPriority -100 |
0x198 | m_flOpTimeOffsetMin | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator fade time offset min MPropertySortPriority -100 MPropertyStartGroup Operator Fade Time Offset |
0x19c | m_flOpTimeOffsetMax | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator fade time offset max MPropertySortPriority -100 |
0x1a0 | m_nOpTimeOffsetSeed | int32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator fade time offset seed MPropertySortPriority -100 |
0x1a4 | m_nOpTimeScaleSeed | int32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator fade time scale seed MPropertySortPriority -100 MPropertyStartGroup Operator Fade Timescale Modifiers |
0x1a8 | m_flOpTimeScaleMin | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator fade time scale min MPropertySortPriority -100 |
0x1ac | m_flOpTimeScaleMax | float32 | CParticleFunction | MParticleAdvancedField MPropertyFriendlyName operator fade time scale max MPropertySortPriority -100 |
0x1b2 | m_bDisableOperator | bool | CParticleFunction | MPropertyStartGroup MPropertySuppressField |
0x1b8 | m_Notes | CUtlString | CParticleFunction | MParticleHelpField MPropertyFriendlyName operator help and notes MPropertySortPriority -100 |
0x1d8 | m_nAssociatedEmitterIndex | int32 | CParticleFunctionInitializer | MPropertyFriendlyName Associated emitter Index |
0x1e0 | m_nControlPointNumber | int32 | MPropertyFriendlyName control point number | |
0x1e4 | m_nForceInModel | int32 | MPropertyFriendlyName force to be inside model | |
0x1e8 | m_bEvenDistribution | bool | MPropertyFriendlyName even distribution | |
0x1ec | m_nDesiredHitbox | int32 | MPropertyFriendlyName desired hitbox | |
0x1f0 | m_vecHitBoxScale | CParticleCollectionVecInput | MPropertyFriendlyName model hitbox scale | |
0x8a8 | m_vecDirectionBias | Vector | MPropertyFriendlyName direction bias MVectorIsCoordinate | |
0x8b4 | m_bMaintainHitbox | bool | MPropertyFriendlyName maintain existing hitbox | |
0x8b5 | m_bUseBones | bool | MPropertyFriendlyName use bones instead of hitboxes | |
0x8b6 | m_HitboxSetName | char[128] | MPropertyFriendlyName hitbox set | |
0x938 | m_flShellSize | CParticleCollectionFloatInput | MPropertyFriendlyName hitbox shell thickness |
KV3 class defaults
{
"_class": "C_INIT_SetHitboxToModel",
"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": "",
"m_nAssociatedEmitterIndex": -1,
"m_nControlPointNumber": 0,
"m_nForceInModel": 0,
"m_bEvenDistribution": false,
"m_nDesiredHitbox": -1,
"m_vecHitBoxScale":
{
"m_nType": "PVEC_TYPE_LITERAL",
"m_vLiteralValue":
[
1.000000,
1.000000,
1.000000
],
"m_LiteralColor":
[
0,
0,
0
],
"m_NamedValue": "",
"m_bFollowNamedValue": false,
"m_nVectorAttribute": 6,
"m_vVectorAttributeScale":
[
1.000000,
1.000000,
1.000000
],
"m_nControlPoint": 0,
"m_nDeltaControlPoint": 0,
"m_vCPValueScale":
[
1.000000,
1.000000,
1.000000
],
"m_vCPRelativePosition":
[
0.000000,
0.000000,
0.000000
],
"m_vCPRelativeDir":
[
1.000000,
0.000000,
0.000000
],
"m_FloatComponentX":
{
"m_nType": "PF_TYPE_LITERAL",
"m_nMapType": "PF_MAP_TYPE_DIRECT",
"m_flLiteralValue": 0.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_FloatComponentY":
{
"m_nType": "PF_TYPE_LITERAL",
"m_nMapType": "PF_MAP_TYPE_DIRECT",
"m_flLiteralValue": 0.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_FloatComponentZ":
{
"m_nType": "PF_TYPE_LITERAL",
"m_nMapType": "PF_MAP_TYPE_DIRECT",
"m_flLiteralValue": 0.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_FloatInterp":
{
"m_nType": "PF_TYPE_LITERAL",
"m_nMapType": "PF_MAP_TYPE_DIRECT",
"m_flLiteralValue": 0.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_flInterpInput0": 0.000000,
"m_flInterpInput1": 1.000000,
"m_vInterpOutput0":
[
0.000000,
0.000000,
0.000000
],
"m_vInterpOutput1":
[
1.000000,
1.000000,
1.000000
],
"m_Gradient":
{
"m_Stops":
[
]
},
"m_vRandomMin":
[
0.000000,
0.000000,
0.000000
],
"m_vRandomMax":
[
0.000000,
0.000000,
0.000000
]
},
"m_vecDirectionBias":
[
0.000000,
0.000000,
0.000000
],
"m_bMaintainHitbox": false,
"m_bUseBones": false,
"m_HitboxSetName": "default",
"m_flShellSize":
{
"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
]
}
}
}