CDynamicProp: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A breakable prop which has a model and can animate itself.


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


'''Linked entity : ...'''
'''Linked entities :'''
*'''[https://developer.valvesoftware.com/wiki/prop_dynamic prop_dynamic]'''
*'''[https://developer.valvesoftware.com/wiki/dynamic_prop dynamic_prop]'''
*'''[https://developer.valvesoftware.com/wiki/prop_dynamic_override prop_dynamic_override]'''


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


== SendProps ==
== SendProps ==
Line 130: Line 131:
| 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/dynamic_prop dynamic_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_dynamic prop_dynamic]
! 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_dynamic_ornament prop_dynamic_ornament]
! 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%;" |'''InputDetach'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetAttached'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_initialOwner'''
| 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_dynamic_override prop_dynamic_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/training_prop_dynamic training_prop_dynamic]
! 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 22:58, 10 August 2022

Overview[edit | edit source]

A breakable prop which has a model and can animate itself.

Source location : /game/server/props.h

Linked entities :

Class Structure[edit | edit source]

SendProps[edit | edit source]

CDynamicProp
Name Type Description
m_bUseHitboxesForRenderBox Boolean

Entity DataMaps[edit | edit source]

CDynamicProp
Name Type Description
CDynamicPropAnimThink
InputDisableCollision
InputEnableCollision
InputSetAnimation
InputSetDefaultAnimation
InputSetPlaybackRate
InputTurnOff
InputTurnOn
m_BoneFollowerManager
m_iNumBones
m_physBones
m_bDisableBoneFollowers
m_bRandomAnimator
m_bStartDisabled
m_bUseHitboxesForRenderBox
m_flMaxRandAnimTime
m_flMinRandAnimTime
m_flNextRandAnim
m_iGoalSequence
m_iTransitionDirection
m_iszDefaultAnim
m_nPendingSequence
m_pOutputAnimBegun
m_pOutputAnimOver