Skip to content

CSmartPropSelectionCriteria_PathPosition

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

Kind: classSize: 392 bytes (0x188)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Specifies the path positions at which this element may appear. MPropertyFriendlyName Valid Path Positions MVDataComponentValidGrandParents

Relationships

Inherits from: CSmartPropSelectionCriteria

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CSmartPropSelectionCriteria <|-- CSmartPropSelectionCriteria_PathPosition
    CSmartPropSelectionCriteria_PathPosition *-- CSmartPropAttributePathPositions
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

6 fields, 5 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.

CSmartPropSelectionCriteriaCSmartPropSelectionCriteria_PathPosition

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropSelectionCriteriaMVDataEnableKey
0x48m_PlaceAtPositionsCSmartPropAttributePathPositionsMPropertyDescription Specifies the method to use to determine which positions this element should be placed at along the path.
0x88m_nPlaceEveryNthPositionCSmartPropAttributeIntMPropertyDescription Specifies the spacing between positions. For example, a value of 1 will place the element at very position, 2 every other position, 3 every third position MPropertySuppressExpr ( m_PlaceAtPositions == ALL ) || ( m_PlaceAtPositions == START_AND_END ) || ( m_PlaceAtPositions == CONTROL_POINTS )
0xc8m_nNthPositionIndexOffsetCSmartPropAttributeIntMPropertyDescription Specifies an offset to use when determining the Nth position to place an element at. For example if placing at every third position with an offset of 0, an element will appear at positions 1, 4, 7, and so on. But if an offset of 2 is set instead of 0, then an element will appear at positions 3, 6, and 9 and so on. MPropertySuppressExpr ( m_PlaceAtPositions == ALL ) || ( m_PlaceAtPositions == START_AND_END ) || ( m_PlaceAtPositions == CONTROL_POINTS )
0x108m_bAllowAtStartCSmartPropAttributeBoolMPropertyDescription Should this element be placed at the first positions on the path
0x148m_bAllowAtEndCSmartPropAttributeBoolMPropertyDescription Should this element be placed at the last positions on the path
KV3 class defaults
{
	"_class": "CSmartPropSelectionCriteria_PathPosition",
	"m_bEnabled": true,
	"m_PlaceAtPositions": "ALL",
	"m_nPlaceEveryNthPosition": 2,
	"m_nNthPositionIndexOffset": 0,
	"m_bAllowAtStart": true,
	"m_bAllowAtEnd": true
}