CPhysBox: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
**'''[[CBreakable]]'''
**'''[[CBreakable]]'''
***'''CPhysBox'''
***'''CPhysBox'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CPhysBox
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''m_iPhysicsMode'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fMass'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|}


== Entity DataMaps ==
== Entity DataMaps ==
Line 33: Line 17:
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CBreakableBreakTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CBreakableDie'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''CPhysBoxBreakTouch'''
| style="width: 50%;" |'''CPhysBoxBreakTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputAddHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputBreak'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
Line 67: Line 35:
|-
|-
| style="width: 50%;" |'''InputForceDrop'''
| style="width: 50%;" |'''InputForceDrop'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputRemoveHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetMass'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
Line 87: Line 43:
|-
|-
| style="width: 50%;" |'''InputWake'''
| style="width: 50%;" |'''InputWake'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Explosion'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_ExplosionMagnitude'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_GibDir'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Material'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_OnAwakened'''
| style="width: 50%;" |'''m_OnAwakened'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBreak'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_OnDamaged'''
| style="width: 50%;" |'''m_OnDamaged'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnHealthChanged'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
Line 143: Line 75:
|-
|-
| style="width: 50%;" |'''m_OnPlayerUse'''
| style="width: 50%;" |'''m_OnPlayerUse'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_PerformanceMode'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_angPreferredCarryAngles'''
| style="width: 50%;" |'''m_angPreferredCarryAngles'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_angle'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_bNotSolidToWorld'''
| style="width: 50%;" |'''m_bNotSolidToWorld'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bTookPhysicsDamage'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
Line 171: Line 91:
|-
|-
| style="width: 50%;" |'''m_damageType'''
| style="width: 50%;" |'''m_damageType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_explodeRadius'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDmgModBullet'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDmgModClub'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDmgModExplosive'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_flForceToEnableMotion'''
| style="width: 50%;" |'''m_flForceToEnableMotion'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flLastPhysicsInfluenceTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flPressureDelay'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hBreaker'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_hCarryingPlayer'''
| style="width: 50%;" |'''m_hCarryingPlayer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hPhysicsAttacker'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBreakableCount'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBreakableSkin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iInteractions'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iMaxBreakableSize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iMinHealthDmg'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_impactEnergyScale'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszBasePropData'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszBreakableModel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszGibModel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszModelName'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_iszOverrideScript'''
| style="width: 50%;" |'''m_iszOverrideScript'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszPhysicsDamageTableName'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszPropData'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszSpawnObject'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_massScale'''
| style="width: 50%;" |'''m_massScale'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nTeamNumber'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 19:59, 24 March 2022

Overview[edit | edit source]

...

Source location : /game/server/physobj.h

Linked Entity : func_physbox

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPhysBox
Name Type Description
CPhysBoxBreakTouch
InputDisableFloating
InputDisableMotion
InputEnableMotion
InputForceDrop
InputSleep
InputWake
m_OnAwakened
m_OnDamaged
m_OnMotionEnabled
m_OnPhysGunDrop
m_OnPhysGunOnlyPickup
m_OnPhysGunPickup
m_OnPhysGunPunt
m_OnPlayerUse
m_angPreferredCarryAngles
m_bNotSolidToWorld
m_damageToEnableMotion
m_damageType
m_flForceToEnableMotion
m_hCarryingPlayer
m_iszOverrideScript
m_massScale