CSmartPropElement_ModelEntity
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 400 bytes (0x190)Alignment: unspecified (0xff sentinel)Module: smartpropsBinary: !GlobalTypes
Metadata: MVDataOutlinerAssetNameExpr
Relationships
Inherits from: CSmartPropElement
Derived by: CSmartPropElement_PropDynamic, CSmartPropElement_PropPhysics
Inheritance tree
CSmartPropElement
CSmartPropElement_ModelEntity (2)
Relationship diagram (3 edges)
classDiagram
CSmartPropElement <|-- CSmartPropElement_ModelEntity
CSmartPropElement_ModelEntity <|-- CSmartPropElement_PropDynamic
CSmartPropElement_ModelEntity <|-- CSmartPropElement_PropPhysicsMemory layout
11 fields, 6 declared here and 5 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropElementCSmartPropElement_ModelEntity
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_nElementID | int32 | CSmartPropElement | MPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id |
0x10 | m_bEnabled | CSmartPropAttributeBool | CSmartPropElement | MPropertyDescription Is this element enabled? If not enabled, this element will not be evaluted and will have no effect on the result. MPropertySortPriority 10 MVDataEnableKey |
0x50 | m_sLabel | CUtlString | CSmartPropElement | MPropertyDescription Optional text that will appear in the outliner to help organize Smart Prop elements and communicate their purpose to other users. MPropertyFriendlyName Label |
0x58 | m_SelectionCriteria | CUtlVector< CSmartPropSelectionCriteria* > | CSmartPropElement | MPropertyFriendlyName Selection Criteria MVDataPromoteField 2 |
0x70 | m_Modifiers | CUtlVector< CSmartPropModifier* > | CSmartPropElement | MPropertyFriendlyName Modifiers MVDataPromoteField 2 |
0x88 | m_sModelName | CSmartPropAttributeModelName | MPropertyDescription Name of the model resource (.vmdl) to place. MPropertyProvidesEditContextString ToolEditContext_ID_VMDL | |
0xc8 | m_MaterialGroupName | CSmartPropAttributeMaterialGroup | MPropertyDescription Specifies the name of the material group (skin) to use when displaying the specified model. MPropertyFriendlyName Material Group | |
0x108 | m_bCastShadows | CSmartPropAttributeBool | MPropertyDescription Should the entity created by this element cast shadows. MPropertyFriendlyName Cast Shadows | |
0x148 | m_bForceStatic | CSmartPropAttributeBool | MPropertyDescription Force this model to be placed as a static model rather then generating an entity. MPropertyFriendlyName Force Static | |
0x188 | m_nDeformableAttachmentMode | SmartPropDeformableAttachMode_t | MPropertyDescription If the smart prop is child of a deformable entity, this setting specifies how the entity generated by this element will be attached to the deformable surface. MPropertyFriendlyName Attachment Mode MPropertyGroupName Deformable Entity Settings MPropertySortPriority -1 MPropertySuppressExpr m_bForceStatic == true | |
0x18c | m_nDeformableOrientationMode | SmartPropDeformableOrientMode_t | MPropertyDescription If the smart prop is child of a deformable entity, this setting specifies how the entity generated by this element will be oriented relative to the deformable surface. MPropertyGroupName Deformable Entity Settings MPropertySortPriority -1 MPropertySuppressExpr m_bForceStatic == true |