CCTV cameras in DYOM
















-
16 March 20221638629671_security-camera.rarPassword for the archive: libertycity
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.
Данный скрипт добавляет в игру рабочие камеры видеонаблюдения для DYOM-миссий.
Их можно расставлять как обычные объекты (ID 1886) через DYOM#.
Камеры действуют в радиусе 25 единиц. При обнаружении игрока в зоне видимости, на камере загорается красный индикатор и раздается звуковой сигнал. У игрока будет некоторое время, чтобы скрыться. Если же игрок останется в зоне видимости камеры — миссия будет провалена.
Добавлены панели управления камерами, благодаря которым игрок может смотреть через камеры и отключать их. Чтобы разместить панель управления добавьте на карту объект ID 2606. Панель управления действует на камеры в радиусе 700 единиц.
В файле настроек Security Camera.ini можно настроить некоторые функции камер:
TIME — время, которое дается игроку на то, чтобы скрыться после обнаружения
SOUND — звук камеры при обнаружении игрока
ALARM — могут ли камеры засекать игрока
OFF — возможность отключения камер через панель управления
REDLIGHT — красный индикатор на камере при обнаружении игрока
Убрана функция ROTATION, так как она работала некорректно и замедляла скрипт
Важно:
1) Камеры должны стоять под углом в 90 градусов, то есть в стандартном положении. Если их наклонять, они будут засекать местоположение игрока неправильно или вообще не будут его засекать.
2) Не рекомендуется ставить камеры близко друг к другу, так как если игрока засекла одна камера, то вторая не сработает пока на первой горит красный индикатор.
Recommended files

Cameras in DYOM 7. Tutorial

CCTV camera for DYOM

CCTV camera for DYOM [smashable version]

CCTV camera v2

Working tear grenades in DYOM

Access to interiors that are not in DYOM v1

Russian text in Dyom missions

Russian layout in DYOM v1.0

Working machine guns in DYOM v2

Weapon stores in DYOM


ImGUI Input v1.1 (Russian layout in DYOM)

Weapon crates in DYOM


Stores in DYOM

Animating a phone conversation in DYOM
