Enemy Territory

Entities

alarm_box
Keys
angle
The direction that the item will face
health
defaults to 10
model
the model to use instead of the default model. model path: models/mapobjects/electronics/alarmbox.md3
noise
the sound to play over the system (this would be the siren sound)
target
(If you see doubled target keys, this was done for future coding reasons)
target
targetname of dlights to activate with the system
targetname
(If you see doubled target keys, this was done for future coding reasons)
targetname
when fired, activates the alarm
team
Team name. Teamed alarm_boxes work in tandem (switches/lights syncronize)
Spawnflags
START_ON
means the button is pushed in, any dlights are cycling, and alarms are sounding
You need to have an origin brush as part of this entity
current alarm box model is (8 x 16 x 28)
target a box to dlights to have them activate/deactivate with the system (use a stylestring that matches the cycletime for the alarmbox sound)
alarm sound locations are also placed in the dlights, so wherever you place an attached dlight, you will hear the alarm
place the origin at the center of your trigger box

©2017 Chruker