CPathParameters
CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 64 bytes (0x40)Alignment: 16 bytesModule: particlesBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Used by (7) as a field type
- C_INIT_CreateAlongPath
- C_INIT_CreateSequentialPath
- C_INIT_CreateSequentialPathV2
- C_OP_ConstrainDistanceToPath
- C_OP_LockToSavedSequentialPath
- C_OP_LockToSavedSequentialPathV2
- C_OP_MaintainSequentialPath
Inheritance tree
- CPathParameters
Memory layout
9 fields, 9 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CPathParameters
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_nStartControlPointNumber | int32 | MPropertyFriendlyName start control point number | |
0x4 | m_nMidControlPointNumber | int32 | MPropertyFriendlyName mid control point number | |
0x8 | m_nEndControlPointNumber | int32 | MPropertyFriendlyName end control point number | |
0xc | m_nBulgeControl | int32 | MPropertyFriendlyName bulge control 0=random 1=orientation of start pnt 2=orientation of end point MPropertySuppressExpr m_nMidControlPointNumber != -1 | |
0x10 | m_flBulge | float32 | MPropertyFriendlyName random bulge MPropertySuppressExpr m_nMidControlPointNumber != -1 | |
0x14 | m_flMidPoint | float32 | MPropertyFriendlyName mid point position MPropertySuppressExpr m_nMidControlPointNumber != -1 | |
0x18 | m_vStartPointOffset | Vector | MPropertyFriendlyName Offset from curve start point for path start MVectorIsCoordinate | |
0x24 | m_vMidPointOffset | Vector | MPropertyFriendlyName Offset from curve midpoint for curve center MVectorIsCoordinate | |
0x30 | m_vEndOffset | Vector | MPropertyFriendlyName Offset from control point for path end MVectorIsCoordinate |
KV3 class defaults
{
"m_nStartControlPointNumber": 0,
"m_nMidControlPointNumber": -1,
"m_nEndControlPointNumber": 0,
"m_nBulgeControl": 0,
"m_flBulge": 0.000000,
"m_flMidPoint": 0.500000,
"m_vStartPointOffset":
[
0.000000,
0.000000,
0.000000
],
"m_vMidPointOffset":
[
0.000000,
0.000000,
0.000000
],
"m_vEndOffset":
[
0.000000,
0.000000,
0.000000
]
}