CDynamicProp: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 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]'''


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


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CDynamicProp  
|+CDynamicProp  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 24: Line 25:
| style="width: 50%;" |'''m_bUseHitboxesForRenderBox'''
| style="width: 50%;" |'''m_bUseHitboxesForRenderBox'''
| style="width: 15%;" |Boolean
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CDynamicProp
! 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%;" |'''CDynamicPropAnimThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputDisableCollision'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnableCollision'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetAnimation'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetDefaultAnimation'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetPlaybackRate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_BoneFollowerManager
|-
| style="width: 50%;" |'''m_iNumBones'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_physBones'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
|-
| style="width: 50%;" |'''m_bDisableBoneFollowers'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bRandomAnimator'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bStartDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUseHitboxesForRenderBox'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMaxRandAnimTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMinRandAnimTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flNextRandAnim'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iGoalSequence'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iTransitionDirection'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszDefaultAnim'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nPendingSequence'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pOutputAnimBegun'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pOutputAnimOver'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

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