Mighty Mounted Turret
This package allows the player to have their personal turret mounted on the shoulder.
Basic Setup
Add PlayerShoulderMountedTurret
template to the player.
If you want your player to start a game with a turret already installed you need to check the startWithTurret
checkbox and provide a gunTemplate
(Only Mighty Defense System guns are supported).
The package contains two example guns: ShoulderMountedGunAutomatic
and ShoulderMountedGunShotgun
Configuration
PlayerMountedTurret
startWithTurret
: Allows your player to start with a game with a turret already installed
toggleTurretKey
: A button that allows users to activate/deactivate their turret
Targetting: Please refer to Targetting section in Mighty Defense System
Events:
onTurretTimerStarted
: Event that is fired when a time-limited turret has been picked up (Passes the timerValue)
onTurretTimerFinished
: Event that is fired when a time-limited turret ran out of time
Effects:
destroyEffect
: Effect asset that is played when turret is gets destroyed
Sounds:
destroySound
: A sound asset that is played when turret is gets destroyed
activationSound
: A sound asset that is played when turret is gets activated
deactivationSound
: A sound asset that is played when turret is gets activated
ShoulderMountedTurretPickup
turretGunTemplate
: A template of the turret gun that is going to be installed on the players shoulder
activateOnPickup
: Allows turret to be activated as soon as it’s being picked up
destroyAfter
: Destroys the turret after a specific time (When set to 0 the turret will only get destroyed if it’s gun runs out of ammo)
Guns
This package contains two example gun templates (ShoulderMountedTurretGunAutomatic
and ShoulderMountedTurretGunShotgun
) but you can easily expand or modify those templates.
For configuration please refer to a TurretGun section in Mighty Defense System