NOTEME This tutorial was originally written by Apache for Dromed Central.
This guide explains how to set up a basic alarm system.
You’ll need four parts to make the alarm system:
physical→Gizmo→Switches→Buttons→Button (-488)
.physical→Lights→AlarmLights→AlarmLights→RamirezAlarm (-1809)
.fnord→TrapTrig→RelayTrap (-1704)
.fnord→TrapTrig→DestroyTrap (-2651)
TeleportTrap
s as well. When placing the button(s) make sure they are about waist-level. Otherwise it looks funny watching the AIs frob the wall.
When placing the alarm light make sure it is high enough so you or the AIs won’t hit it when running. RelayTrap
and DestroyTrap
can be placed anywhere you like. I prefer to make a Blue Room to place them in. In this demo you will see that I used a Blue Room. There are also four extra guards placed there. These are teleported in when the alarm is triggered.
Here is the setup for the buttons:
Link | ControlDevice |
---|---|
From | The number of the Button . |
To | The number of the RelayTrap |
If you have more than one button, link them all to the same RelayTrap
. That’s all for the buttons.
Here is the setup for the RelayTrap
:
Link | From | To | |
---|---|---|---|
ControlDevice | A RelayTrap (#) | A RamirezAlarm (#) | If you have more than one alarm light just link them all in the same way. |
ControlDevice | A RelayTrap (#) | A DestroyTrap (#) | |
ControlDevice | A DestroyTrap (#) | A RelayTrap (#) |
Last thing to do on the RelayTrap
is go to its properties. Add S→Scripts. In the first box (Script 0
), type in: “RamirezAlarm
”.
Optionally, if you did decide to bring in more guards with the alarm being triggered, Here are the extra steps:
fnord→TrapTrig→TeleportTrap
and place it where you’d like the new guard to appear.TeleportTrap
to the Guard.
Create the AI(s) that you want to sound the alarm. Add a metaproperty to get him to use the alarm system you’ve installed. Click Add, then MetaProperty→AI_Behaviors→AI_B_m5→RingTheAlarm
. Now go to RingTheAlarm
→AI→Responses→Alert Response in the properties window and click Edit. It should read:
Alert Level
: (3) High
Priority
: High
, “Very High” or “High” means they’ll usually run right for the alarm at first sighting of the player.Response: Step 1
: Goto Object
Argument 1
: Your button number or numbers.Argument 2
: Very Fast
Argument 3
: Response: Step 2
: Face
Argument 1
: Argument 2
: Your button number or numbers.Argument 3
: Response: Step 3
: Play Sound/Motion
Argument 1
: Argument 2
: Argument 3
: WorldFrob 0, AtWaist 0
Response: Step 4
: Frob Object
Argument 1
: Your button number or numbers.Argument 2
: Argument 3
: Response: Step 5
: Add/Remove Meta-property
Argument 1
: Add
Argument 2
: M-HeardAlarm
Argument 3
: Response: Step 6
: Add/Remove Meta-PropertyArgument 1
: Remove
Argument 2
: RingTheAlarm
Argument 3
: I hope all of this has helped, and don’t forget to look at the official Thief mission Assassins if you get confused.