Tutorial / Tools > Building
Media Player
Screens that play YouTube, videos and web pages; others tune in to their channel.
What it does
Media Player places screens that play YouTube, YouTube Music and Spotify. With Internet set to Full (Utilities > Media & Radio) they also show any web page (Twitch, Vimeo, a site's own player) and play video / audio files (mp4, webm, mp3...); Restricted allows only the sites the server lists. Press E on a screen to open its control bar, paste a link and play it. Sound gets quieter as you walk away.
A screen owned by a Cinema Owner (or an admin) plays what they pick, and is a channel others tune in to. Every other screen, bought TVs too, is off at first. E turns it on and lets the player pick a channel.
You can place a TV model or a flat screen in one of five sizes. You can also turn a prop you spawned with a listed model into a screen.
Where to find it
Q menu > KGX's Admin Toolbox > Building > Media Player.
Admins can use it, players who are given it in Settings > Player Access, and players in a job with the Cinema Owner ability. Volume, which sites may play, and how many screens each player may have are in Utilities > Media & Radio.
Given to a player (v3.6.11.3): Their own screens (limit), from their own props.
Controls
| Key | What it does |
|---|---|
| Left click | Place a screen where you aim (model or flat size below) |
| Right click | Make the aimed prop (a model from the list) one |
| Reload | Remove the aimed one (yours; admins: any) |
While you hold the tool, aiming at a screen shows its owner (or Server), "(kept for the map)" if kept, and what is on air.
Options
| Option | What it does | Default |
|---|---|---|
| Screen | The model picked below, or a flat screen: Small (48 units wide), Medium (96), Large (160), Huge (256) or Projector (448). | The model picked below |
| Model icons | Click a model to use it. Models of games you do not have are not shown. | models/props/cs_office/tv_plasma.mdl |
| Scan map props (pick one the map uses) | Admins only. Pick any prop model the map uses. | |
| Keep it for this map (admins; nobody owns it, only admins control it) | Admins only. The screen is saved for the map and has no owner. | Off |
How to use it
Put up a screen and play a video
- Set Screen to a flat size, for example Flat screen: Large (160 units wide).
- Aim at a wall and left-click. You get "Placed. E on it: the control bar."
- Press E on the screen, paste a link (YouTube, or what the server allows) and play it. Or click Browser, go to the video and click Play this here.
- E on a screen that plays something also gives you the cursor on it: click, scroll and type on the page, live for everyone (Utilities > Media & Radio). Settings in the control bar: picture, sound (range, loudness by distance) and who may use the page.
Use a TV model
- Set Screen to The model picked below and click a model icon.
- Left-click where the TV should go.
Turn a spawned prop into a screen
- Spawn a prop with one of the listed models.
- Aim at it and right-click. It becomes a screen in the same spot, owned by you (or kept for the map, if that box is ticked).
- A radio model becomes a radio instead ("That model makes a radio.").
Keep a screen for the map (admins)
- Tick Keep it for this map (admins; nobody owns it, only admins control it).
- Place the screen. You get "Placed (kept for this map)." It comes back after a restart.
Settings and commands
| Setting | What it does | Default | Range |
|---|---|---|---|
kgxat_media |
1 = media players (screens) work. | 1 | 0-1 |
kgxat_media_jobs_only |
1 = only Cinema Owner / DJ jobs (and admins) broadcast; 0 = every device's owner may play things. | 1 | 0-1 |
kgxat_media_range |
How far away (units) screens show their picture and players hear them. | 1500 | 300-6000 |
kgxat_media_max_user |
Screens one player may have. | 1 | 0-20 |
kgxat_media_max_admin |
Screens one admin may have. | 2 | 0-50 |
kgxat_media_max_super |
Screens one superadmin may have. | 10 | 0-100 |
Tips and limits
- Only a prop you spawned can become a screen (never another player's, a map, permanent or server-owned prop); admins can convert any.
- At the limit you get "You have 1 screen already (the most allowed). Remove one first." Kept screens do not count.
- Screens and radios have separate limits. Radios are placed with Building > Radio.
- Only the owner and admins control a screen and can remove it with reload.
- Admins may use any prop model. Cinema Owners and other players keep to the listed models.
- Stores can sell TVs with the Electronics Store preset.
- When
kgxat_mediais off, placing gives "Media players are turned off on this server."