CPoseController: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | |||
Controls a [https://developer.valvesoftware.com/wiki/$poseparameter pose parameter] of a prop and cycles the pose clientside. | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/point_posecontroller.h /game/shared/point_posecontroller.h]''' | |||
'''Linked Entity : [https://developer.valvesoftware.com/wiki/point_posecontroller point_posecontroller]''' | |||
==[[Classes|Class Structure]]== | |||
*'''[[CBaseEntity]]''' | |||
**'''CPoseController''' | |||
== SendProps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
|+CPoseController | |||
! 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 | |||
|- | |||
| 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_hProps | |||
|- | |||
| style="width: 50%;" |'''000''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''001''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''002''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''003''' | |||
| style="width: 15%;" |Integer | |||
| 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_chPoseIndex | |||
|- | |||
| style="width: 50%;" |'''000''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''001''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''002''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''003''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|} | |||
|- | |||
| style="width: 50%;" |'''m_bPoseValueParity''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fPoseValue''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fInterpolationTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bInterpolationWrap''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fCycleFrequency''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nFModType''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fFModTimeOffset''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fFModRate''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fFModAmplitude''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|} | |||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CPoseController | |||
! 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%;" |'''CPoseControllerThink''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputGetFMod''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputRandomizeFMod''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetCycleFrequency''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetFModAmplitude''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetFModRate''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetFModTimeOffset''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetFModType''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetInterpolationTime''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetPoseParameterName''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputSetPoseValue''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bDisablePropLookup''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bInterpolationWrap''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bPoseValueParity''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_chPoseIndex''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fCycleFrequency''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fFModAmplitude''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fFModRate''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fFModTimeOffset''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fInterpolationTime''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fPoseValue''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_hProps''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iszPoseParameterName''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iszPropName''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nFModType''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
Latest revision as of 16:12, 9 March 2023
Overview[edit | edit source]
Controls a pose parameter of a prop and cycles the pose clientside.
Source location : /game/shared/point_posecontroller.h
Linked Entity : point_posecontroller
Class Structure[edit | edit source]
- CBaseEntity
- CPoseController
SendProps[edit | edit source]
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
| |||||||||||||||||
m_bPoseValueParity | Boolean | ||||||||||||||||
m_fPoseValue | Float | ||||||||||||||||
m_fInterpolationTime | Float | ||||||||||||||||
m_bInterpolationWrap | Boolean | ||||||||||||||||
m_fCycleFrequency | Float | ||||||||||||||||
m_nFModType | Integer | ||||||||||||||||
m_fFModTimeOffset | Float | ||||||||||||||||
m_fFModRate | Float | ||||||||||||||||
m_fFModAmplitude | Float |
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
CPoseControllerThink | ||
InputGetFMod | ||
InputRandomizeFMod | ||
InputSetCycleFrequency | ||
InputSetFModAmplitude | ||
InputSetFModRate | ||
InputSetFModTimeOffset | ||
InputSetFModType | ||
InputSetInterpolationTime | ||
InputSetPoseParameterName | ||
InputSetPoseValue | ||
m_bDisablePropLookup | ||
m_bInterpolationWrap | ||
m_bPoseValueParity | ||
m_chPoseIndex | ||
m_fCycleFrequency | ||
m_fFModAmplitude | ||
m_fFModRate | ||
m_fFModTimeOffset | ||
m_fInterpolationTime | ||
m_fPoseValue | ||
m_hProps | ||
m_iszPoseParameterName | ||
m_iszPropName | ||
m_nFModType |