Skip to content

CSmartPropElement_PropDynamic

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

Kind: classSize: 400 bytes (0x190)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Places a prop dynamic entity. MPropertyFriendlyName Prop Dynamic

Relationships

Inherits from: CSmartPropElement_ModelEntity

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CSmartPropElement <|-- CSmartPropElement_ModelEntity
    CSmartPropElement_ModelEntity <|-- CSmartPropElement_PropDynamic
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

11 fields, 0 declared here and 11 inherited. Offsets are absolute from the object base on windows-x86_64.

CSmartPropElementCSmartPropElement_ModelEntity

OffsetFieldTypeFromAnnotations
0x8m_nElementIDint32CSmartPropElementMPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id
0x10m_bEnabledCSmartPropAttributeBoolCSmartPropElementMPropertyDescription Is this element enabled? If not enabled, this element will not be evaluted and will have no effect on the result. MPropertySortPriority 10 MVDataEnableKey
0x50m_sLabelCUtlStringCSmartPropElementMPropertyDescription Optional text that will appear in the outliner to help organize Smart Prop elements and communicate their purpose to other users. MPropertyFriendlyName Label
0x58m_SelectionCriteriaCUtlVector< CSmartPropSelectionCriteria* >CSmartPropElementMPropertyFriendlyName Selection Criteria MVDataPromoteField 2
0x70m_ModifiersCUtlVector< CSmartPropModifier* >CSmartPropElementMPropertyFriendlyName Modifiers MVDataPromoteField 2
0x88m_sModelNameCSmartPropAttributeModelNameCSmartPropElement_ModelEntityMPropertyDescription Name of the model resource (.vmdl) to place. MPropertyProvidesEditContextString ToolEditContext_ID_VMDL
0xc8m_MaterialGroupNameCSmartPropAttributeMaterialGroupCSmartPropElement_ModelEntityMPropertyDescription Specifies the name of the material group (skin) to use when displaying the specified model. MPropertyFriendlyName Material Group
0x108m_bCastShadowsCSmartPropAttributeBoolCSmartPropElement_ModelEntityMPropertyDescription Should the entity created by this element cast shadows. MPropertyFriendlyName Cast Shadows
0x148m_bForceStaticCSmartPropAttributeBoolCSmartPropElement_ModelEntityMPropertyDescription Force this model to be placed as a static model rather then generating an entity. MPropertyFriendlyName Force Static
0x188m_nDeformableAttachmentModeSmartPropDeformableAttachMode_tCSmartPropElement_ModelEntityMPropertyDescription 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
0x18cm_nDeformableOrientationModeSmartPropDeformableOrientMode_tCSmartPropElement_ModelEntityMPropertyDescription 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
KV3 class defaults
{
	"_class": "CSmartPropElement_PropDynamic",
	"m_nElementID": -1,
	"m_bEnabled": true,
	"m_sLabel": "",
	"m_SelectionCriteria":
	[
	],
	"m_Modifiers":
	[
	],
	"m_sModelName": "",
	"m_MaterialGroupName": "",
	"m_bCastShadows": true,
	"m_bForceStatic": false,
	"m_nDeformableAttachmentMode": "RELATIVE",
	"m_nDeformableOrientationMode": "MAINTAIN_OFFSET"
}