Tutorial / Tools > Building
Radio
Radios that play streams, YouTube and Spotify; others tune in.
What it does
The Radio tool places radios. Radios play internet radio streams and audio links, the sound of YouTube and YouTube Music links, and Spotify. Which sites streams may come from: Utilities > Media & Radio > Radios: Internet (Full = any public site, Restricted = the listed sites).
A radio owned by a DJ or an admin plays what its owner picks. That makes it a station that other radios can tune in to. Every other radio, bought ones too, is off at first: press E on it to turn it on and pick a station.
Press E on your own radio to open the control bar. Only the owner and admins can use it.
Where to find it
Q menu > KGX's Admin Toolbox > Building > Radio.
Admins can use it, players in a job with the DJ ability, and players who are given it in Settings > Player Access.
Given to a player (v3.6.11.3): Their own radios (limit), from their own props.
Controls
| Key | What it does |
|---|---|
| Left click | Place a radio where you aim (model below) |
| Right click | Make the aimed prop (a model from the list) one |
| Reload | Remove the aimed one (yours; admins: any) |
While the tool is out, aiming at a radio shows its owner ("Server" if nobody owns it), "(kept for the map)" if it is kept, and what is on air.
Options
| Option | What it does | Default |
|---|---|---|
| Model icons | Click an icon to pick the radio model for left click. Models of games you do not have are not shown. | models/props_lab/citizenradio.mdl |
| Scan map props (pick one the map uses) | Admins only. Pick any prop model the map uses as the radio model. | |
| Keep it for this map (admins; nobody owns it, only admins control it) | Admins only. New radios are saved for the map and belong to nobody. | Off |
The four listed radio models are models/props_lab/citizenradio.mdl, models/props_placeable/radio_box.mdl, models/props/cs_office/radio.mdl and models/props/backrooms/radroom_ww2radio.mdl.
How to use it
Set up a DJ station
- As an admin or a DJ, left-click the floor. The radio stands there, facing you.
- Press E on the radio to open the control bar.
- Paste a stream, YouTube or Spotify link, click Stations to search radio stations (by name or style) and double-click one, or open the browser and pick something. A link that is not an audio stream (a station's web player) plays as a hidden page.
- Other players press E on their own radios and pick your station.
- E on a radio that plays something opens its window (its page, live and shared like a screen). Settings in the control bar: range, loudness by distance, who may use its page.
Turn a spawned radio prop into a working radio
- Spawn one of the listed radio models from the spawn menu.
- Aim at it and right-click. The prop is replaced by a radio in the same spot and angle.
Place a permanent server radio
- As an admin, tick Keep it for this map.
- Left-click where the radio should go. You get "Placed (kept for this map)."
- Remove it later with reload.
Settings and commands
These are server settings, changed in Utilities > Media & Radio.
| Setting | What it does | Default | Range |
|---|---|---|---|
kgxat_radio |
1 = radios work. | 1 | 0 to 1 |
kgxat_radio_stream |
1 = radios play internet radio streams and audio links (http / https). | 1 | 0 to 1 |
kgxat_radio_spotify |
1 = radios play Spotify links. Without an account: 30 second previews. | 1 | 0 to 1 |
kgxat_radio_youtube |
1 = radios play the sound of YouTube / YouTube Music links. | 1 | 0 to 1 |
kgxat_radio_hosts |
Sites radio streams may come from, comma separated. A site also allows its subdomains. Empty = any site. | empty | |
kgxat_media_jobs_only |
1 = only Cinema Owner / DJ jobs (and admins) broadcast. 0 = every device's owner may play things. | 1 | 0 to 1 |
kgxat_media_range |
How far away (units) players hear radios. | 1500 | 300 to 6000 |
kgxat_media_max_user |
Radios one player may have (screens are counted separately). | 1 | 0 to 20 |
kgxat_media_max_admin |
Radios one admin may have. | 2 | 0 to 50 |
kgxat_media_max_super |
Radios one superadmin may have. | 10 | 0 to 100 |
Tips and limits
- Only a prop you spawned can become a radio (never another player's, a map, permanent or server-owned prop); admins can convert any.
- Aimed at a wall, the radio is put on the floor below that spot.
- Radios are placed frozen and cannot be broken.
- Admins may place any valid prop model. Players always get a listed model; an invalid pick falls back to the first one.
- Right click only works on spawned props (prop_physics) with a listed model. A screen model makes a screen instead, and you get a hint.
- Kept radios do not count toward the per-player limit. They are saved in
media_<map>.jsonand come back after a map cleanup. - Players' own radios can be undone, and they are removed when the player leaves.
- Reload removes only your own radios. Admins can remove any radio, including kept ones.
- The Media Player tool (Building > Media Player) is the same system for screens.