Creating Security Monitors

From Red Faction Wiki
Revision as of 20:35, 5 November 2020 by Goober (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


How to create a security camera

  1. Move the camera to the location and orientation that you want the security camera to appear
  2. Enter object mode if you aren't already in that mode (Ctrl+O)
  3. Double-click on camera2 in the object list, in the Entity->Robots category

Note: the script name of the camera is what is displayed on the player HUD when viewing from that camera.

How to create a security monitor

  1. Move the camera to the location and orientation that you want the security monitor to appear
  2. Enter object mode if you aren't already in that mode (Ctrl+O)
  3. Double-click on smallscreen or screen1 in the object list, in the Clutter->Screens category

Note: Only clutter objects with the $Use: "monitor" set can be used as secruity monitors that display the output from cameras

Linking a security camera to a security monitor

  1. Create a Set_Monitor_State event
  2. Events must receive an On message to execute, so link an auto-trigger to this event
  3. The event needs to know what security camera and monitor to use, so link from the event to the secruity camera and monitor
  4. If you want the security camera to alarm and track the player, set the security camera friendliness to "Unfriendly"

Note: You can link to more than one security camera, and the monitor will cycle between these cameras at the interval specified in the Set_Monitor_State event.

Alerting entities when a secruity camera alarm occurs

  1. Make sure that the security camera friendliness is set to "Unfriendly"
  2. Select the entity that you want to be alerted when camera alarms, and press Ctrl+P to bring up properties
  3. Enter the secruity camera UID into the "Alert Camera UID" field