Editing CTFBaseBoss

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Overview ==
== Overview ==
The base class for "bosses" (currently only [[CTFTankBoss]] inherits from it).
...


Can be used to create custom NextBots with VScript
'''Source location : ...'''


'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/tf/player_vs_environment/tf_base_boss.h /game/server/tf/player_vs_environment/tf_base_boss.h]'''
'''Linked entity : ...'''


'''Linked entity : [https://developer.valvesoftware.com/wiki/Base_boss base_boss]'''
==[[SendProps|Class Structure]]==
 
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
Line 14: Line 12:
****'''[[CBaseFlex]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[NextBotCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFBaseBoss'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable" 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 26: Line 24:
| style="width: 50%;" |'''m_lastHealthPercentage'''
| style="width: 50%;" |'''m_lastHealthPercentage'''
| style="width: 15%;" |Float
| style="width: 15%;" |Float
| style="width: 35%;" |The health percentage for this entity. This value can go above 1, meaning it has greater than 100% of it's initial health
|}
== 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%;" |Integer
| style="width: 35%;" |The initial health this entity spawned with
|-
| 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: 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%;" |Integer
| style="width: 35%;" |The speed of this entity
|-
| style="width: 50%;" |'''m_startDisabled'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |Whether or not this entity spawns disabled
|}
|}
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see SigMod:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)