func_tank #
New parameters #
Bullet count
- configure a limited number of bullets for tank.Behavior
- set the relationship classification for the tank. Allow tank to attack monsters, not only the player.Trigger on firing (locus = barrel)
- a target to trigger when tank is firing a shot, with the end of the barrel as activator (the special invisible entity is created automatically). This will work even if tank doesn’t actually use bullets.
New spawnflags #
Laser spot
- show laser spot when the tank is used.
Bugfixes #
- Controllable tanks now can be removed from the map without a risk of crashing the game if tank was removed during the player’s usage.
func_tank
properly finds the player when the origin of the tank is inside the worldbrush.