tank_boss
Jump to navigation
Jump to search

This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.
You can upload screenshots at Special:Upload. For help, see Help:Images.
tank_boss
is a point entity available in Team Fortress 2.

Entity description
The tank used in Mann vs Machine missions. When spawned in by a popfile, it will start at the path_track entity specified by the popfile and continue until it reaches the end of the path, where it will deploy the bomb.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- SetSpeed
- Set the speed of the tank. Must be a positive value.
Note:High values will cause the tank to have difficulties navigating the path_tracks.
- SetHealth
- Set the tank's health.
- SetMaxHealth
- Set the tank's max health.
- AddHealth
- Add health to the tank.
- RemoveHealth
- Remove health from the tank.

- DestroyIfAtCapturePoint
- Todo: add description
- AddCaptureDestroyPostfix
- Todo: add description
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Studiomodel:
- SetBodyGroup <integer >
- Set the model's body group.
- AlternativeSorting <boolean >
- Uses an alternative method for telling which objects are in front of others. Use if this object draws incorrectly when seen through transparent things.
- SetModelScale <string > (in all games since
) (also in
)
- Sets the model scale. Takes two values separated by a space. The first is the target model scale. The second value is the number of seconds the change in scale will be spread over. If there is no second value, the model will scale instantly.
Warning:Negative or extremely high values can cause crashes!
Shadow:
- DisableShadow
- Turn dynamic shadows off for this entity. Identical to applying EF_NOSHADOW.
- EnableShadow
- Turn dynamic shadows on for this entity.
- DisableReceivingFlashlight (in all games since
)
- This object will not receive light or shadows from projected textures.
- EnableReceivingFlashlight (in all games since
)
- This object may receive light or shadows from projected textures.
Reflection:
- DisableDrawInFastReflection (in all games since
)
- Turns off rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.
- EnableDrawInFastReflection (in all games since
)
- Turn on rendering of this entity in reflections when using
$reflectonlymarkedentities
in water material.
ToggleDraw:
- DisableDraw (in all games since
)
- Add the EF_NODRAW flag to this entity. Some entities manage this on their own so be aware you can override that value.
- EnableDraw (in all games since
)
- Remove the EF_NODRAW flag from this entity. Some entities manage this on their own so be aware you can override that value.
Outputs
- OnHealthBelow90Percent
- Fired when the tank's health drops below 90 percent.
- OnHealthBelow80Percent
- Fired when the tank's health drops below 80 percent.
- OnHealthBelow70Percent
- Fired when the tank's health drops below 70 percent.
- OnHealthBelow60Percent
- Fired when the tank's health drops below 60 percent.
- OnHealthBelow50Percent
- Fired when the tank's health drops below 50 percent.
- OnHealthBelow40Percent
- Fired when the tank's health drops below 40 percent.
- OnHealthBelow30Percent
- Fired when the tank's health drops below 30 percent.
- OnHealthBelow20Percent
- Fired when the tank's health drops below 20 percent.
- OnHealthBelow10Percent
- Fired when the tank's health drops below 10 percent.