Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions fgd/point/npc/npc_security_camera.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,29 @@
3: "ATLAS"
]

model(studio) : "Camera Model" : "models/props/security_camera.mdl" : "Model to be used in game"
model(studio) : "Camera Model" : "models/props/security_camera.mdl" : "Model to be used in game."
rotatesound(sound) : "Rotation Sound": "Portalgun.pedestal_rotate_loop" : "Sound loop played when the camera moves."
speed(float) : "Rotation Speed" : 0 : "Speed the camera rotates, in degrees per second. By default, cameras targeting pings move at 8 deg/s, while all others move at 7 deg/s."
decalname(decal) : "Detach Decal" : "SecurityCamera.Detachment" : "Decal placed on the wall when the camera detaches. If set to 'none', no decal is placed."
glowname(sprite) : "Glow Sprite" : "sprites/glow1.vmt" : "Sprite used on the 'lens' attachment point. To remove the sprite, omit the attachment point."
enableropes(boolean) : "Enable Ropes" : 0 : "Enable a pair of ropes, like in Portal 1. 4 attachments should be defined - Wire1_A, Wire1_B, Wire2_A, Wire2_B."

// Inputs
input Enable(void) : "Start following players."
input Disable(void) : "Stop following players, freezing in place."
input Toggle(void) : "Toggle following players."
input Ragdoll(void) : "Knock the camera off the wall."
input Detach(void) : "Knock the camera off the wall."
input Ragdoll(void) : "Backwards-compatibiity alias for Detach."

input LookAtBlue(void) : "Make the camera only follow ATLAS."
input LookAtOrange(void) : "Make the camera only follow P-Body."
input LookAllTeams(void) : "Make the camera follow all players."
input ForceLookAt(ehandle) : "Force the camera to look at the specified entity, or return to normal if none is supplied."

// Outputs
output OnDeploy(void) : "Camera is becoming active and dangerous."
output OnRetire(void) : "Camera is becoming inactive and harmless."
output OnDetach(void) : "Camera was knocked off the wall."

output OnTaunted(void) : "A player STARTED taunting the camera."
output OnTauntedBlue(void) : "ATLAS STARTED taunting the camera."
Expand Down
Loading