Tutorial / Tools > Building
Cameras
Place cameras and TVs that show them; watch them in an on-screen viewport.
What it does
Cameras places security cameras. You watch them in an on-screen viewport (picture in picture) set up in Utilities > Cameras. Each camera has a name, a field of view and an access setting that decides who may watch it.
The tool also places camera TVs. A TV shows the picture of one camera on its screen to everyone who may watch that camera. Others see RESTRICTED.
Admins get two extra kinds: invisible cameras, which have no model, no red light and are not solid, and server cameras, which are saved for the map and belong to no player.
Where to find it
Q menu > KGX's Admin Toolbox > Building > Cameras.
Admins can use it, and players who are given it in Settings > Player Access. Watching cameras, viewport keys, the remote control and viewport size are in Q menu > KGX's Admin Toolbox > Utilities > Cameras, which has its own tutorial.
Given to a player (v3.6.11.3): Their own cameras and camera TVs (limits); no hidden or server cameras.
Controls
| Key | What it does |
|---|---|
| Left click | Place a camera on the aimed surface, looking back at you (or a TV, see the panel) |
| Right click | Place a camera at your eyes, looking where you look |
| Reload | Apply the settings to the aimed camera / TV; on a TV: pick its camera |
While you hold the tool, aiming at a camera shows its name, FOV, access, INVISIBLE (if so) and owner. Aiming at a TV shows the camera it shows.
Options
| Option | What it does | Default | Range |
|---|---|---|---|
| Camera name | Name shown in camera lists. Empty = "Camera" plus its number. | Empty | Up to 32 characters |
| Field of view | How wide the camera sees. | 75 | 20-120 |
| Who may watch it | Private (you and admins), Public (everyone), Police (police and admins) or Admins only. | Private | |
| Invisible camera (admins: no model, no red light, not solid, no limit, only admins watch it) | Admins only. Forces Admins only access. | Off | |
| Server camera (admins: saved for the map, belongs to no player) | Admins only. | Off | |
| Show it in my viewport after placing | Opens the new camera in your viewport. | On |
TVs
| Option | What it does | Default |
|---|---|---|
| Left click places | A camera or A TV that shows a camera. | A camera |
| TV model icons | Click a model for new TVs. Models your game does not have are not shown. | models/props/cs_office/tv_plasma.mdl |
| Scan map props (pick one the map uses) | Pick a TV model from the map's own props. | |
| Screen on the back of the model (if the picture shows on the wrong side) | Flips the screen side. | Off |
| Reset to defaults | Puts every option back to its default. |
Only admins can give a camera Admins only access. A non-admin's camera set to it becomes Private.
How to use it
Mount a camera on a wall
- Type a Camera name and choose Who may watch it.
- Aim at the wall and left-click. The camera faces back toward where you stand.
- Move or re-aim it later with the physgun.
Place a camera exactly where you look
- Stand where the camera should be and look where it should point.
- Right-click. The camera is placed at your eyes with your view direction.
Put up a TV that shows a camera
- Set Left click places to A TV that shows a camera and pick a TV model.
- Left-click a wall, or the floor for a standing TV. A camera list opens.
- Pick a camera. Its picture shows on the screen.
- To change it later, press E on the TV or reload it with the tool.
Change a placed camera
- Change the name, FOV or access in the panel.
- Aim at the camera and press reload. You get "Camera updated."
Settings and commands
| Setting | What it does | Default | Range |
|---|---|---|---|
kgxat_limit_cameras |
Most cameras a limited player may have (Settings > Limits, "Cameras"). | 5 | 0-100 |
kgxat_camtv_police |
Security Monitors all police together may have (Settings > Police & Crime). | 5 | 0-50 |
kgxat_camtv_range |
Camera TVs further away than this (units) show no picture. | 1500 | 300-6000 |
kgxat_camtv_fps |
Picture updates per second on camera TVs. | 15 | 2-30 |
Tips and limits
- Players can change only their own cameras ("That is not your camera.") and only TVs they may set ("That is not your screen.").
- A TV's camera list only shows cameras you may watch.
- Invisible cameras do not count toward the limit. Admins can reload one by aiming close to it, because it is not solid. With the tool out it shows faintly.
- Admins: Alt + E on a camera opens its Access window: server owned, which ranks or jobs may watch it, and a name.
- Police buy Security Monitors in a store (item type Entity, class
kgxat_camtv; Police Supply preset). - Remove cameras and TVs with undo or the Admin Remover.