This article is a stub. You can help by adding to it.
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. When destroyed, it creates a tank_destruction entity.
- Health of the tank.
- Model the tank uses.
- Speed the tank travels at, higher speeds can cause the tank to clip through geometry.
- Start Disabled
- Start disabled.
- Entity Scripts
<scriptlist>(New with Left 4 Dead 2)
- Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
- Script think function
<string>(New with Left 4 Dead 2)
- Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call. Note:Try to avoid expensive operations in this function, as it may cause performance problems.
- Start Fade Dist (fademindist)
- Distance at which the prop starts to fade.
- End Fade Dist (fademaxdist)
- Max fade distance at which the prop is visible.
- If start fade is <0, the prop will disappear instantly when end fade is hit.
- If end fade is <0, the prop won't disappear at all. (This is the default behaviour.)
- The values will scale appropriately if the prop is in a 3D Skybox.
- Fade Scale (fadescale)
- If you specify so in worldspawn, or if the engine is running below DirectX 8 (DX7 in Ep1), props will fade out even if the fade distances above aren't specified. This value gives you some control over when this happens: numbers smaller than 1 cause the prop to fade out at further distances, and greater than 1 cause it to fade out at closer distances. Using 0 turns off the forced fade altogether. See also the QC command $noforcedfade.
- 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.
- Set the tank's health.
- Set the tank's max health.
- Add health to the tank.
- Remove health from the tank.
- To do: add description
- To do: add description
- Changes the entity's team.
- Ignite, burst into flames.
Ignitewith the given lifetime. To do: Before the flames extinguish, or before health reaches zero?
Ignitewith the given number of hitbox fires.
Ignitewith the given hitbox fire scale.
- Removes this entity and any entities parented to it from the world.
- Functions the same as
Kill, although this entity and any entities parented to it are killed on the same frame, being marginally faster than
- Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
- Fire the
OnUseroutputs; see User Inputs and Outputs.
- Same as a player invoking +use; may not do anything. Can also be invoked by creating an output that does not specify an input.
This input is not included in Valve's FGDs.
<script>(New with Left 4 Dead 2)
- Execute a VScript file from disk, without file extension. The script contents are merged with the script scope of the receiving entity.
<string>(New with Left 4 Dead 2)
- Execute a string of VScript source code in the scope of the entity receiving the input. String quotation may be needed when fired via console. Bug: In , the code is executed in the script scope of the entity that fires the output, not the one receiving the input.Warning: Never try to pass string parameters to a script function with this input. It will corrupt the VMF structure because of the nested quotation marks, which then must be removed manually with a text editor.
<string>(New with Left 4 Dead 2) !FGD
- Execute a VScript function in the scope of the receiving entity.
<coordinates>(New with Alien Swarm) !FGD
- Send this entity to a spot in the map. If the entity is parented to something, it will be offset from the parent by this amount.
<angles>(New with Alien Swarm) !FGD
- Set this entity's angles.
- Enable/disable this entity from performing its task. It might also disappear from view.
- Changes the model's skin to the specified number.
- Set the model's body group.
- Control the model's cheap render-to-texture shadow.
- Uses an alternative method for telling which objects are in front of others. Use if this object draws incorrectly when seen through transparent things.
<float>(New with Team Fortress 2)
- Sets the model scaling factor
- Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its Render Mode (rendermode) set to a number other than
- Sets an RGB color for the entity.
- Move with this entity. See Entity Hierarchy (parenting).
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
- Fired when the tank's health drops below 90 percent.
- Fired when the tank's health drops below 80 percent.
- Fired when the tank's health drops below 70 percent.
- Fired when the tank's health drops below 60 percent.
- Fired when the tank's health drops below 50 percent.
- Fired when the tank's health drops below 40 percent.
- Fired when the tank's health drops below 30 percent.
- Fired when the tank's health drops below 20 percent.
- Fired when the tank's health drops below 10 percent.
- Fired when this object catches fire.
- These Outputs each fire in response to the firing of the like-numbered
FireUser4Input; see User Inputs and Outputs.
OnKilled(Only in the Left 4 Dead series)
- This Output fires when the entity is killed and removed from the game.