> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CPathParameters"
navbar: dynamic
asidebar: hide
---
# CPathParameters

Schema class in module `particles`.

## Summary

- Kind: `class`
- Module: `particles`
- Size: `64 (0x40)`
- Size bytes: `64`
- Parent: `value.DeclaredClass`
- Inherited fields: `0`
- Product: Counter-Strike 2

## Inheritance

- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nStartControlPointNumber` | [number](/cs2/api_reference/lua/base#number) | 0 (0x00) | - | - | `MPropertyFriendlyName`: "start control point number" |
| `m_nMidControlPointNumber` | [number](/cs2/api_reference/lua/base#number) | 4 (0x04) | - | - | `MPropertyFriendlyName`: "mid control point number" |
| `m_nEndControlPointNumber` | [number](/cs2/api_reference/lua/base#number) | 8 (0x08) | - | - | `MPropertyFriendlyName`: "end control point number" |
| `m_nBulgeControl` | [number](/cs2/api_reference/lua/base#number) | 12 (0x0C) | - | - | `MPropertyFriendlyName`: "bulge control 0=random 1=orientation of start pnt 2=orientation of end point"<br />`MPropertySuppressExpr`: "m\_nMidControlPointNumber != -1" |
| `m_flBulge` | [number](/cs2/api_reference/lua/base#number) | 16 (0x10) | - | - | `MPropertyFriendlyName`: "random bulge"<br />`MPropertySuppressExpr`: "m\_nMidControlPointNumber != -1" |
| `m_flMidPoint` | [number](/cs2/api_reference/lua/base#number) | 20 (0x14) | - | - | `MPropertyFriendlyName`: "mid point position"<br />`MPropertySuppressExpr`: "m\_nMidControlPointNumber != -1" |
| `m_vStartPointOffset` | [Vector](/cs2/api_reference/mathlib/vector#vector-1) | 24 (0x18) | - | - | `MPropertyFriendlyName`: "Offset from curve start point for path start"<br />`MVectorIsCoordinate` |
| `m_vMidPointOffset` | [Vector](/cs2/api_reference/mathlib/vector#vector-1) | 36 (0x24) | - | - | `MPropertyFriendlyName`: "Offset from curve midpoint for curve center"<br />`MVectorIsCoordinate` |
| `m_vEndOffset` | [Vector](/cs2/api_reference/mathlib/vector#vector-1) | 48 (0x30) | - | - | `MPropertyFriendlyName`: "Offset from control point for path end"<br />`MVectorIsCoordinate` |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [C\_INIT\_CreateAlongPath](/cs2/dumped_data/schema/particles/C_INIT_CreateAlongPath) | `m_PathParams` | particles | - |
| [C\_INIT\_CreateSequentialPath](/cs2/dumped_data/schema/particles/C_INIT_CreateSequentialPath) | `m_PathParams` | particles | - |
| [C\_INIT\_CreateSequentialPathV2](/cs2/dumped_data/schema/particles/C_INIT_CreateSequentialPathV2) | `m_PathParams` | particles | - |
| [C\_OP\_ConstrainDistanceToPath](/cs2/dumped_data/schema/particles/C_OP_ConstrainDistanceToPath) | `m_PathParameters` | particles | - |
| [C\_OP\_LockToSavedSequentialPath](/cs2/dumped_data/schema/particles/C_OP_LockToSavedSequentialPath) | `m_PathParams` | particles | - |
| [C\_OP\_LockToSavedSequentialPathV2](/cs2/dumped_data/schema/particles/C_OP_LockToSavedSequentialPathV2) | `m_PathParams` | particles | - |
| [C\_OP\_MaintainSequentialPath](/cs2/dumped_data/schema/particles/C_OP_MaintainSequentialPath) | `m_PathParams` | particles | - |

