Mighty Defense System

Mighty Defense System

Stadia/EGS Name: Mightykho
Contributors: Iceland, NK
Package Name: Mighty Defense System
Package Description: This package allows you to create modular automated turrets for your base defense.

This package is highly configurable and although right now it only contains one turret you can use components from this package to assemble something completely different without writing a single line of code.

Setup

A good way to start would be to use LargeTurretExample template.

TurretScripts/Main:

OriginLocator: Locator used for the turret aiming

TurretScripts/Targetting:

FiringPitchAngle/FiringYawAngle: turret will only fire if the target is within provided angle range,
MinRange-MaxRange: turret will only target entities within this range.
TargetPlayers: allow the turret to target players
Team: target any entity with a different team value

TurretSocket:

Creates a socket connection between the entity it is attached to and a turrets main entity.
The connected entity will try to face the target respecting the axes constraint specified.
You can also configure the rotation speed.

TurretGun:

Description will be added soon

1 Like