Creating Security Monitors: Difference between revisions

From Red Faction Wiki
(Created page with " ===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 alrea...")
 
No edit summary
Line 2: Line 2:
===How to create a security camera===
===How to create a security camera===


1. Move the camera to the location and orientation that you want the security camera to appear
# 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)
# 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
# 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.
Note: the script name of the camera is what is displayed on the player HUD when viewing from that camera.
Line 10: Line 10:
===How to create a security monitor===
===How to create a security monitor===


1. Move the camera to the location and orientation that you want the security monitor to appear
# 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)
# 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
# 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
Note: Only clutter objects with the $Use: "monitor" set can be used as secruity monitors that display the output from cameras
Line 18: Line 18:
===Linking a security camera to a security monitor===
===Linking a security camera to a security monitor===


1. Create a Set_Monitor_State event
# Create a Set_Monitor_State event
2. Events must receive an On message to execute, so link an auto-trigger to this event  
# 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
# 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"
# 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.
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.
Line 27: Line 27:
===Alerting entities when a secruity camera alarm occurs===
===Alerting entities when a secruity camera alarm occurs===


1. Make sure that the security camera friendliness is set to "Unfriendly"
# 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
# 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
# Enter the secruity camera UID into the "Alert Camera UID" field


[[Category: Red Faction]]
[[Category: Red Faction]]

Revision as of 13:03, 30 October 2020

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