func_tanklogic is a brush entity available in (HL2) Half-Life 2 with any version of Mapbase.

A special kind of turret designed to fire outputs instead of bullets, functioning solely through the I/O system.



KeyValues

- Shoots through water (ShootsThroughWater) <choices>
If enabled, this func_tanklogic will be allowed to trace through water. (as opposed to just hitting the surface)

Outputs

- OnFire_BarrelPos <vector>
Fires each time this func_tank would fire a bullet. Passes the barrel's current position.
- OnFire_ShootPos <vector>
Fires each time this func_tank would fire a bullet. Passes the position which said bullet would hit, spread applied.
- OnFire_FirstEnt <ehandle>
Fires each time this func_tank would fire a bullet. Passes the first entity that would be hit, if any.