Base boss: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
		
	
| Kestrelguy (talk | contribs) m (cleaned up grammar.) | mNo edit summary | ||
| Line 1: | Line 1: | ||
| {{lang| | {{TF2 topicon}} | ||
| {{ | {{lang|title=base_boss}} | ||
| {{entity|base_boss|type=e0|game=Team Fortress 2}} It is the entity that the {{ent|tank_boss}} entity uses as a base and thus shares a lot of its behaviors. A few examples include: | |||
| * Crushes engineer buildings that collide with it | * Crushes engineer buildings that collide with it | ||
| * TFBots treat this entity as an enemy | * TFBots treat this entity as an enemy | ||
| Line 30: | Line 31: | ||
| ==See Also== | ==See Also== | ||
| *{{ent|tank_boss}} | * {{ent|tank_boss}} | ||
Revision as of 11:51, 12 February 2023

 
Template:Entity It is the entity that the tank_boss entity uses as a base and thus shares a lot of its behaviors. A few examples include:
- Crushes engineer buildings that collide with it
- TFBots treat this entity as an enemy
- Drops currency pack on death
- Plays sounds to client when it gets damaged
base_boss itself was originally intended for the now-scrapped  Raid gamemode. By itself, it is static and does not perform anything; however, it is still of use in setting up a custom hitbox for any custom static NPC bosses.
 Raid gamemode. By itself, it is static and does not perform anything; however, it is still of use in setting up a custom hitbox for any custom static NPC bosses.
Keyvalues
- model ([todo internal name (i)]) <string>
- Filepath to the model this entity will use. Will use the model bounding box to determine its hitbox and collision
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with theEnableinput).
Inputs
- SetHealth <integer>
- Sets the entity's health to this value.
- SetMaxHealth <integer>
- Sets the entity's maximum health to this value.
- AddHealth <integer>
- Add this amount of health to the entity.
- RemoveHealth <integer>
- Subtract this amount of health from the entity.
- SetSpeed <integer>
- Sets this entity's speed to this value.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnHealthBelow90Percent to OnHealthBelow10Percent
- Fires when the entity's health goes below X percent of its maximum health.
- OnKilled
- Fired when the boss is killed.

























