CTFBaseBoss: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:
'''Linked entity : [https://developer.valvesoftware.com/wiki/Base_boss base_boss]'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/Base_boss base_boss]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
Line 16: Line 16:


== 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;"
|+CTFBaseBoss  
|+CTFBaseBoss  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 24: Line 24:
| style="width: 50%;" |'''m_lastHealthPercentage'''
| style="width: 50%;" |'''m_lastHealthPercentage'''
| style="width: 15%;" |Float
| style="width: 15%;" |Float
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTFBaseBoss
! 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%;" |'''CTFBaseBossBossThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputAddHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputDisable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputRemoveHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetMaxHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetSpeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_initialHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_modelString'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow10Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow20Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow30Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow40Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow50Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow60Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow70Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow80Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnHealthBelow90Percent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnKilled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_speed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_startDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Revision as of 19:11, 13 February 2022

Overview

The base class for "bosses". (Currently only CTFTankBoss inherits from it.)

Source location : /game/server/tf/player_vs_environment/tf_base_boss.h

Linked entity : base_boss

Class Structure

SendProps

CTFBaseBoss
Name Type Description
m_lastHealthPercentage Float

Entity DataMaps

CTFBaseBoss
Name Type Description
CTFBaseBossBossThink
InputAddHealth
InputDisable
InputEnable
InputRemoveHealth
InputSetHealth
InputSetMaxHealth
InputSetSpeed
m_initialHealth
m_modelString
m_outputOnHealthBelow10Percent
m_outputOnHealthBelow20Percent
m_outputOnHealthBelow30Percent
m_outputOnHealthBelow40Percent
m_outputOnHealthBelow50Percent
m_outputOnHealthBelow60Percent
m_outputOnHealthBelow70Percent
m_outputOnHealthBelow80Percent
m_outputOnHealthBelow90Percent
m_outputOnKilled
m_speed
m_startDisabled