CBaseFlex: 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 ==
CBaseFlex contains and manages data for the [https://developer.valvesoftware.com/wiki/Flex_controller flex controllers] of characters with vertex flex capability (e.g. facial expressions).
Contains and manages data for the [https://developer.valvesoftware.com/wiki/Flex_controller flex controllers] of characters with vertex flex capability (e.g. facial expressions).


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


==[[Classes|Parent Structure]]==
'''VScript : [https://developer.valvesoftware.com/wiki/Team_Fortress_2/Scripting/Script_Functions#CBaseFlex Script_Functions#CBaseFlex]'''
 
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
Line 404: Line 406:
|Float
|Float
|
|
|-
| colspan="3" style="padding: 0 auto; margin: 0 auto;" |
{| class="wikitable" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" style="background-color: rgb(45, 62, 97)" |
|}
|}
|}
|-
|-
Line 437: Line 444:
| 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/cycler_flex cycler_flex]
! 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_blinktime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flexnum'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flextarget'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flextime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_istalking'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszSentence'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_lookTarget'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_looktime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_phoneme'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_sentence'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_speaktime'''
| 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/funCBaseFlex funCBaseFlex]
! 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 13:01, 17 September 2023

Overview[edit | edit source]

Contains and manages data for the flex controllers of characters with vertex flex capability (e.g. facial expressions).

Source location : /game/server/baseflex.h

VScript : Script_Functions#CBaseFlex

Class Structure[edit | edit source]

SendProps[edit | edit source]

CBaseFlex
Name Type Description
m_flexWeight
000 Float
001 Float
002 Float
003 Float
004 Float
005 Float
006 Float
007 Float
008 Float
009 Float
010 Float
011 Float
012 Float
013 Float
014 Float
015 Float
016 Float
017 Float
018 Float
019 Float
020 Float
021 Float
022 Float
023 Float
024 Float
025 Float
026 Float
027 Float
028 Float
029 Float
030 Float
031 Float
032 Float
033 Float
034 Float
035 Float
036 Float
037 Float
038 Float
039 Float
040 Float
041 Float
042 Float
043 Float
044 Float
045 Float
046 Float
047 Float
048 Float
049 Float
050 Float
051 Float
052 Float
053 Float
054 Float
055 Float
056 Float
057 Float
058 Float
059 Float
060 Float
061 Float
062 Float
063 Float
064 Float
065 Float
066 Float
067 Float
068 Float
069 Float
070 Float
071 Float
072 Float
073 Float
074 Float
075 Float
076 Float
077 Float
078 Float
079 Float
080 Float
081 Float
082 Float
083 Float
084 Float
085 Float
086 Float
087 Float
088 Float
089 Float
090 Float
091 Float
092 Float
093 Float
094 Float
095 Float
m_blinktoggle Boolean
m_viewtarget Vector

Entity DataMaps[edit | edit source]

CBaseFlex
Name Type Description
m_flAllowResponsesEndTime
m_flLastFlexAnimationTime
m_flexWeight
m_viewtarget