Turrets

--Basics
--AoTurretConsole
--AoTurretTrigger
--AoTurret
--Placing 3 turrets
BACK


Basics

Turrets have 3 basic components:
  • AoTurretConsole - the marine hacks this to activate the turret.
  • AoTurretTrigger - this trigger is placed near the turret. If the turret is activated then stepping in this trigger will make the turret come up out of the floor and start firing.
  • AoTurret - the turret itself.


AoTurretConsole

  • This can be found under Actor->Decoration->AoObject->AoUsableObject->AoObjectButtonPanel. When the player hacks the AoTurretConsole he will be given the choice of which AoTurret to activate (the map should have 3 AoTurrets). Each AoTurretConsole has properties for the 3 turrets:
  • TriggerTags - the tags for the triggers that are near each turret.
  • TurretNames - name of the location of each turret, e.g. "Main Corridor" "Storage Room" etc.
  • TurretPics - a picture of each turret location. The picture should be 256 by 192 pixels, but stretched to 256 x 256 when imported into UED (it will get displayed at 256 x 192 ingame).
  • MinTechLevel - (under AoObjectButtonPanel category) the tech level required to hack this console, from 1 to 5. On maps later in the campaign, set this number higher. This number is ignored in Single Mission mode.


AoTurretTrigger

  • This can be found under Actor->Trigger->Triggers. This trigger is placed near the turret, stepping in it when the nearby turret is activated will make the turret come up out of the floor.
  • Event - set to the Tag of the AoTurret itself and any movers that will make it come up out of the floor.
  • Tag - set to match the TriggerTags in the AoConsole.


AoTurret

  • This can be found under Actor->Decoration->AoObject->AoUsableObject->AoSentryGun. The turret itself. It is good to cut out an area underground for the turret and place it in there, with a mover underneath (the turret will attach to whatever is beneath it when the map is loaded, so place it slightly above the mover). You can get the AoTurretTrigger to trigger both the turret (which will make it start tracking aliens and shooting them) and the mover (to lift up out of the ground). You can make a mover slide away above the opening too, simply put it in the same ReturnGroup as the main mover and set the main mover to bIsLeader = true.
  • Tag - set to match the Event of the nearby AoTurretTrigger
  • TurretDelayTime - this sets how long after being triggered before the turret starts firing. This is to stop it firing before it has come up out of the floor. Set it to match the movetime of the mover lifting it up.


Placing 3 turrets

  • This diagram shows how 3 turrets should be linked up to the AoTurretConsole:


    Example map here: AO-TurretTest3.rar
    (Requires Swarm Beta 1.25 or above)