Creating Security Monitors: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{RF1Tutorial|Volition}} | {{RF1Tutorial|Volition}} | ||
===How to create a security camera=== | ===How to create a security camera=== | ||
Latest revision as of 20:35, 5 November 2020
EXPLORE
EXPLORE
EXPLORE
Tutorial: Creating Security Monitors Prepared by Volition. |
How to create a security camera
- Move the camera to the location and orientation that you want the security camera to appear
- Enter object mode if you aren't already in that mode (Ctrl+O)
- 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
- Move the camera to the location and orientation that you want the security monitor to appear
- Enter object mode if you aren't already in that mode (Ctrl+O)
- 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
- Create a Set_Monitor_State event
- Events must receive an On message to execute, so link an auto-trigger to this event
- The event needs to know what security camera and monitor to use, so link from the event to the secruity camera and monitor
- 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
- Make sure that the security camera friendliness is set to "Unfriendly"
- Select the entity that you want to be alerted when camera alarms, and press Ctrl+P to bring up properties
- Enter the secruity camera UID into the "Alert Camera UID" field