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.
Current Limitations
Currently automated turrets rely on some hardcoded values and limited implementations: - Maximum range for a target is 30m - Once a target is acquired the weapon is fired every second and a half. - 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.1689455835.txt.gz · Last modified: 2023/07/15 16:17 by mit