CCTV cameras in DYOM
This script adds working CCTV cameras to the game for DYOM missions.
They can be placed like regular objects (ID 1886) via DYOM#.
Cameras operate within a radius of 25 units. When a player is detected in the field of view, a red indicator on the camera lights up and a sound signal sounds. The player will have some time to hide. If the player remains within the camera's visibility range, the mission will fail.
Added camera control panels that allow the player to view through cameras and disable them. To place a control panel, add object ID 2606 to the map. The control panel affects cameras within a radius of 700 units.
In the Security Camera.ini settings file you can configure some camera functions:
TIME is the time given to the player to hide after detecting
SOUND — camera sound when detecting a player
ALARM - can cameras detect the player
OFF — ability to disable cameras via the control panel
Removed the ROTATION function, as it did not work correctly and slowed down the script
Important:
1) The cameras should be at an angle of 90 degrees, that is, in the standard position. If tilted, they will track the player's location incorrectly or not at all.
2) It is not recommended to place cameras close to each other, because if a player is spotted by one camera, the second one will not work while the red indicator on the first one is on.
fast and easy
-
1638629671_security-camera.rarDownload (0.01 MB)Password: libertycity