Garry's Mod

Garry's Mod

34 ratings
CRadio
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
370.164 KB
18 Dec, 2024 @ 1:03pm
17 Jan @ 10:44pm
11 Change Notes ( view )

Subscribe to download
CRadio

In 1 collection by afxnatic
[CRadio] Stations
9 items
Description
NO STATIONS ARE INCLUDED
GTA-like radio system with synchronized playback and playlists.

Use your spawnmenu key inside a vehicle to open the GUI.

These bases are supported:



Songs are recommended to be played as local files for the best experience, but URLs are a serviceable fallback and should be the used method for public multiplayer servers.

Click here for documentation on how to make stations.[github.com]
Click here for a python script that can create stations for you.[github.com]



Features that are cool
  • Very optimized
  • Built around metatables for core, streams, stations, songs, etc
  • Compatible with almost every vehicle base
  • Custom station support with multiple parameters
  • Supports files and URLs
  • Playback synced to passengers automatically
  • Seamless 3D audio that adheres to PVS (Potentially Visible Set)
  • Custom fading and buffering for audio channels
  • Gapless playback between tracks
  • Volume lowers when players you can hear are speaking
  • Radial menu, just like GTA
  • Fancy notification on station track change



Convars
Name
Purpose
cl_cradio
0/1 - Enables or disables the radio by controlling channel creation and GUI opening.
cl_cradio_3d
0/1 - Enables 3D streams for all vehicles, including ones other than your own. Only works with file (non-online) streams.
cl_cradio_prebuffer
0/1 - Makes the upcoming track for your current station preload.
cl_cradio_notification
0/1 - Shows the "now playing" notification on station change or next track.
cl_cradio_static
0/1 - Enables GTA:SA-like static when switching stations. Disabled by default.
cl_cradio_volume
0 <--> 2.0 - Sets the volume of all audio channels. Defaults to 1.0.
cl_cradio_volume_lower_on_speak
0/1 - Lowers the volume of the current station's audio channel when players you can hear are speaking.
cl_cradio_gui_spawnmenu
0/1 - Enables the GUI opening instead of the spawnmenu when the relevant bind is pressed.

Concommands
Name
Purpose
+cradio_gui
Opens the GUI if allowed.
-cradio_gui
Closes the GUI if open.
cl_cradio_stop_stream
Stops the current radio stream.
cl_cradio_restart_stream
Stops the current radio stream, then attempts to recreate it.
cl_cradio_stop_static
Stops the static sound (transition sound) currently playing.



Github: https://github.com/chiraqoRP/CRadio



gta vehicle radio stations music songs realism
40 Comments
[RaveN] 11 Jul @ 3:22pm 
it doesnt work on simfphys for me,runs with glide no problem
afxnatic  [author] 2 Jun @ 2:51pm 
yup LOL best thing i wrote and didnt even break past the 250 sub mark
Kso_Screwed 28 May @ 11:30pm 
Underrated addon ngl...
afxnatic  [author] 7 Mar @ 1:59pm 
i have no idea, try with no addons
uwu 6 Mar @ 1:52pm 
The Lua thing doesn't appear anymore, but when I put the commands for this mod nothing works and I press the Q key and nothing comes out. I've already tried all the commands and nothing appears. How do I fix it?
afxnatic  [author] 5 Mar @ 9:04pm 
@uwu send error bro
afxnatic  [author] 5 Mar @ 9:03pm 
@Mememan97A
1. enable cl_cradio_3d convar and use stations that play from local files

2. no, thats intentional
uwu 4 Mar @ 3:09pm 
desactive todos los mods y active este y me aparece un error de lua como lo soluciono
uwu 3 Mar @ 6:30pm 
Entiendo tal vez sea mi juego el del error o algún mod voy a buscar aver si lo puedo solucionar gracias 😭
idksomething 3 Mar @ 12:46pm 
idk if you'll do this, but will you do 1. the ability for the music to play while exited from the vehicle, and 2. the ability to play the radio from a fucking chair (a thing that you could do with the vehicle radio addon)