NextBotCombatCharacter: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
The class used by non player entities which use the [https://developer.valvesoftware.com/wiki/NextBot NextBot] AI system. (This does '''not''' include tf_bot. See [[CTFBot]])


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


'''Linked entity : ...'''
'''VScript : [https://developer.valvesoftware.com/wiki/Team_Fortress_2/Scripting/Script_Functions#NextBotCombatCharacter Script_Functions#NextBotCombatCharacter]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+Heirarchies
|-
|
<span style="font-size: 150%; font-family: sans-serif">CBaseEntity => NextBotCombatCharacter</span>
<hr>
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
Line 13: Line 18:
****'''[[CBaseFlex]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
******'''NextBotCombatCharacter'''
*******'''CTFPlayer'''
<hr>
 


== SendProps ==
<span style="font-size: 150%; font-family: sans-serif">INextBotEventResponder => NextBotCombatCharacter</span>
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
<hr>
|+CTFTauntProp
*'''[[INextBotEventResponder]]'''
! style="width: 50%; background-color: #303030; color: white" |Name
**'''[[INextBot]]'''
! style="width: 15%; background-color: #303030; color: white" |Type
***'''NextBotCombatCharacter'''
! style="width: 35%; background-color: #303030; color: white" |Description
<hr>
|-
| style="width: 50%;" |'''m_nFlagCaptures'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iRole'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''team_object_array_element'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''"team_object_array"'''
| style="width: 15%;" |Array
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hLeader'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+NextBotCombatCharacter  
|+NextBotCombatCharacter  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 48: Line 37:
! style="width: 35%; background-color: #303030; color: white" |Description
! style="width: 35%; background-color: #303030; color: white" |Description
|-
|-
| style="width: 50%;" |'''m_flSpawnTime'''
| style="width: 50%;" |'''NextBotCombatCharacterDoThink'''
| style="width: 15%;" |Float
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_FadeStartTime'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_FadeEndTime'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_CurrentStage'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 13:26, 17 September 2023

Overview[edit | edit source]

The class used by non player entities which use the NextBot AI system. (This does not include tf_bot. See CTFBot)

Source location : /game/server/NextBot/NextBot.h

VScript : Script_Functions#NextBotCombatCharacter

Class Structure[edit | edit source]

Heirarchies

CBaseEntity => NextBotCombatCharacter




INextBotEventResponder => NextBotCombatCharacter



Entity DataMaps[edit | edit source]

NextBotCombatCharacter
Name Type Description
NextBotCombatCharacterDoThink