CPhysicsProp: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A breakable prop which supports being physically simulated in the world.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/props.h /game/server/props.h]'''


'''Linked entity : ...'''
'''Linked Entities :'''
*''' [https://developer.valvesoftware.com/wiki/physics_prop physics_prop]'''
*''' [https://developer.valvesoftware.com/wiki/prop_physics prop_physics]'''
*''' [https://developer.valvesoftware.com/wiki/prop_physics_override prop_physics_override]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProp]]'''
****'''[[CBaseFlex]]'''
****'''[[CBreakableProp]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''CPhysicsProp'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
Line 129: Line 130:
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/physics_prop physics_prop]
! 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
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/prop_physics prop_physics]
! 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
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/prop_physics_override prop_physics_override]
! 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
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/prop_physics_respawnable prop_physics_respawnable]
! 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%;" |'''CPhysicsPropRespawnableMaterialize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flRespawnTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalMaxs'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalMins'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalSpawnAngles'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalSpawnOrigin'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/prop_soccer_ball prop_soccer_ball]
! 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_iszTriggers'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/prop_sphere prop_sphere]
! 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
|}
|}

Latest revision as of 23:03, 10 August 2022

Overview[edit | edit source]

A breakable prop which supports being physically simulated in the world.

Source location : /game/server/props.h

Linked Entities :

Class Structure[edit | edit source]

SendProps[edit | edit source]

CPhysicsProp
Name Type Description
m_bAwake Boolean

Entity DataMaps[edit | edit source]

CPhysicsProp
Name Type Description
CPhysicsPropClearFlagsThink
InputDisableFloating
InputDisableMotion
InputEnableMotion
InputSleep
InputWake
m_MotionEnabled
m_OnAwakened
m_OnOutOfWorld
m_OnPhysGunDrop
m_OnPhysGunOnlyPickup
m_OnPhysGunPickup
m_OnPhysGunPunt
m_OnPlayerPickup
m_OnPlayerUse
m_bAwake
m_bFirstCollisionAfterLaunch
m_bThrownByPlayer
m_damageToEnableMotion
m_damageType
m_flForceToEnableMotion
m_inertiaScale
m_iszOverrideScript
m_massScale