Type / to search schemas

CDestructiblePart_DamageLevel

72 bytes (0x48), align 8Source

Fields

NameTypeOffset
MPropertyDescription: "Name for this damage level. Presently only used for debugging/display - one day may be used in code to allow destroying by name."
MPropertyDescription: "Name of the breakable to trigger breaking on when health reaches zero."
MPropertyAttributeEditor: "ModelDocPicker( MODELDOC_PICK_TYPE_BREAKPIECE )"
MPropertyStartGroup: "+Model Setup"
int32 = -1
MPropertyDescription: "Value to set for the body group when the damage level is broken."
MPropertyDescription: "Total health of this damage level. When it reaches 0, the damage level is 'broken' using the breakable prop system."
MPropertySuppressExpr: "m_nDamagePassthroughType == InvincibleAbsorb || m_nDamagePassthroughType == InvinciblePassthrough"
float32
MPropertyDescription: "% chance (0-1) of dealing 'critical' damage, which destroys this damage level, regardless of damage pass through type."
MPropertyDescription: "Should the entity die when this damage level is destroyed?"
MPropertyDescription: "Custom death handshake to set when this damage level is destroyed."
MPropertySuppressExpr: "m_nDestructionDeathBehavior == eDoNotKill"
bool
MPropertyDescription: "Whether the damage level should be destroyed when the entity dies."
CRangeFloat = [0.1,1]
MPropertyDescription: "Time after death the damage level should be destroyed"
MPropertySuppressExpr: "m_bShouldDestroyOnDeath == false"