User Tools

Site Tools


buildings:building_types:autoturret

This is an old revision of the document!


Automated Turret Buildings

Automated Turret buildings that are not fully damaged will automatically fire at appropriate players nearby.

If the building has been set to belong to a particular team, the turret will fire at anyone on a different team.

The weapon fired is set in the buildings editor in the buildings 'Trigger Code' field.

The game assumes the model used for the turret building has a horizontal and vertical turret included, these are updated to reflect the current aim of the turret.

Current Limitations

Currently automated turrets rely on some hardcoded values and limited implementations:

- Maximum range for a target is currently fixed at 30m
- Once a target is acquired the weapon is fired every second and a half, irrespective of weapon settings.
- The turret does not take into account gravity or any other weapon offsets when aiming.

These limitations may be addressed in future versions.

buildings/building_types/autoturret.1689455996.txt.gz · Last modified: 2023/07/15 16:19 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki