Examples
Adding a New Camera using the Config
config.Cameras = {
{
id = 1, -- Unique ID for the camera
name = "Security Staff Facilities", -- Camera name
location = "Diamond Casino & Resort", -- Location of the camera
modes = { -- both set to true by default
nightVision = true,
thermal = false
},
position = vector3(2530.2432, -265.8049, -56.6363), -- Camera position
rotation = vector3(-15.0, 0.0, 229.2701), -- Camera rotation
rotationLimits = {
x = {min = -75.0, max = -5}, -- Vertical limits
z = {min = 175, max = 265} -- Horizontal limits
},
interactiveProps = {
-- Example using an export for the minigame
{
propUniqueId = "door1", -- Unique ID for the prop
position = vector3(2530.8559, -273.8801, -58.5731), -- Prop position
hash = 1243560448, -- Hash of the prop model
interactionText = "Disable the Door Locks", -- Text displayed when interacting with the prop
successText = "Security system bypassed", -- Text displayed on success
failText = "Security alert triggered", -- Text displayed on failure
highlightColor = {r = 255, g = 165, b = 0, a = 200},-- Color of the highlight
exitOnHack = true, -- Setting this to False will keep the player in the camera after doing a hack
hackExport = "glitch-minigames:StartSurgeOverride", -- Export to call for hack minigame
hackParams = { -- Parameters for the hack minigame
keys = {'E', 'F'},
requiredPresses = 30,
decayRate = 2
},
}
}
},
}Adding a New Camera using an Export
Attempting to Hack a Camera using an Export
Parameter Explanation for AttemptCameraHack:
Last updated