- Dota 2
- smartprops
- CSmartPropElement
- CSmartPropElement_Model
- Inherits
- CSmartPropElement
- Metadata
- MPropertyDescription: "Places a model as the child of an element."MPropertyFriendlyName: "Model"MVDataOutlinerAssetNameExpr: "m_sModelName"
- Also in
- Counter-Strike 2differs
Fields
NameTypeOffset
MPropertyDescription: "Name of the model resource (.vmdl) to place."
MPropertyProvidesEditContextString: "ToolEditContext_ID_VMDL"
MPropertyDescription: "Specifies the name of the material group (skin) to use when displaying the specified model."
MPropertyFriendlyName: "Material Group"
MPropertyDescription: "If enabled the model will be rendered as a detail object, which is faster for placing many small objects and has fade out functionality, but may have different lighting characteristics. Detail object models support only uniform scale and will use the largest component of the scale value."
CSmartPropAttributeVector = [1,1,1]
MPropertyDescription: "Scale factor (may be non-uniform) to be applied directly to the model (in the model's local space)."
MPropertySuppressExpr: "m_bDetailObject == true"
MPropertyDescription: "Uniform scale to be applied to the model, certain properties like detail object mean only uniform scale may be applied to the model."
MPropertyFriendlyName: "Model Scale"
MPropertySuppressExpr: "m_bDetailObject == false"
MPropertyDescription: "Select model LOD level. The default Auto LOD means the lod will be picked based on the size of the model on screen. If a specific level is selected, then that lod level will always be used regardless of the size of the model on screen."
MPropertyAttributeEditor: "SmartPropAttributeEditor( LODLevel )"
MPropertySuppressExpr: "m_bDetailObject == true"
MPropertyDescription: "If non-empty, specifies the name of a surface property to use for all physics shapes of the specified model, overriding any surface properties specified within the model."
MPropertyFriendlyName: "Override Surface Property"
MPropertySuppressExpr: "m_bDetailObject == true"
SmartPropDetailFadeLevel_t = "NORMAL"
MPropertyDescription: "Controls the size at which a model marked as a detail object will fade out."
MPropertyFriendlyName: "Fade Level"
MPropertySuppressExpr: "m_bDetailObject == false"
CSmartPropAttributeCastShadows = "DEFAULT"
MPropertyDescription: "Specifies the type of shadows (static or dynamic) that that should be cast by the model."
MPropertyFriendlyName: "Cast Shadows"
CSmartPropAttributeLightingMode = "DEFAULT"
MPropertyDescription: "Specifies the type of lighting to be applied to the object. Default will select based on the type of object (static or dynamic)."
MPropertyFriendlyName: "Lighting Mode"
MPropertyDescription: "If enabled, only the transform of the model will be modified by any active deformer, the vertices of the model will not be changed by the deformer."
MPropertyFriendlyName: "Rigid Deformation Only"
MPropertySuppressExpr: "m_bDetailObject == true"
MPropertyDescription: "If checked, this model will not deform in game when the smart prop is placed inside a dynamic deformable entity (such as func_deformable_brush)."
MPropertyFriendlyName: "Disable Dynamic Deformable"
MPropertySuppressExpr: "m_bDetailObject == true"