mirror of
https://github.com/Grocel/3D-Stream-Radio.git
synced 2025-03-04 03:03:07 -05:00
It is an spawnable scripted entity for Garry's Mod that allows you to play online streams and local files as 3D world sound.
https://steamcommunity.com/sharedfiles/filedetails/?id=246756300
3d-stream-radioaddonaudio-streamingbassbass-librarygarrys-modgarrysmodgarrysmod-addongarrysmod-toolgarrysmodluagmodgmod-luagmodaddongmodluamusicradiosoundstreamstreamingwiremod
![]() UX: - Moved error buttons to the side to make more space for the error message. - Added entity options (C-Menu > Right click) for the radio. - Added clientside only options to the entity options and entity property editor for volume and muting. (Not affected by Prop Protection) - Added a clientside only way to look up the error state and the URL on GUI less radios (e.g. speakers). (Not affected by Prop Protection) - Added a better explanation for "error 20". - Added more error codes for future updates. - Added mute option (not clientside!) to the toolgun and added seperator lines to its UI. Performance / Networking: - Networking is now delayed to ease on the server performance. - The GUI is loaded with a delay to avoid freezes on radio spawns. - The GUI is actually deleted when disabled instead of just being hidden. - Fixed freezes when entering/leaving a room full of radios. - The radio being randomly broken/desynced (empty or white screen) on spawn is a way less likely to happen. If it does disabling/enabling the GUI can fix it. Anti-Abuse / Security: - Radios from other players can be muted via the addon settings. Does not support buddies. - Individual radios can be muted on the clientside, even if Prop Protection would block access otherwise. - Individual radios can have their volume changed the clientside, even if Prop Protection would block access otherwise. - Added support to the cfc_cl_http_whitelist addon. It is a security addon that whitelist and monitors HTTP and streaming requests. The Radio has a decicated error state for blocked URLs and content now. - Clientside GM_BASS3 loading can be disabled by the server. (sv_streamradio_bass3_allow_client 0) ConVars: - Changed the CVar default of sv_streamradio_rebuildplaylists_community_auto to 2. Pre-existing installs are not affected. - Added sv_streamradio_bass3_enable: When set to 1, it uses GM_BASS3 on the server if installed. Default: 1 - Added sv_streamradio_bass3_allow_client: Allows connected clients to use GM_BASS3 when set to 1. Overrides cl_streamradio_bass3_enable. Default: 1 - Added cl_streamradio_bass3_enable: When set to 1, it uses GM_BASS3 if installed and allowed on the server. Default: 1 GM_BASS3: - If installed GM_BASS3 is lazy loaded now. It only loads if it is actually needed by an radio. GM_BASS3 is not supported on x86-64 branches. |
||
---|---|---|
.vscode | ||
lua | ||
materials | ||
models/sligwolf/grocel/radio | ||
sound/stream_radio | ||
.gitattributes | ||
.gitignore | ||
addon.json | ||
git-hooks-pre-commit | ||
glualint.json | ||
gma_to_zip.bat | ||
README.md | ||
updatetoworkshop.bat |
3D Stream Radio
The 3D Stream Radio is an spawnable scripted entity for Garry's Mod that allows you to play streams from the internet and local files in 3D world sound. You spawn it with the toolgun, which allows you to change the its settings aswell.
Workshop Installation
The 3D Stream Radio is available on the Steam Workshop! Go to its Workshop page and press Subscribe
, and it will automatically appear in Garry's Mod.
Requirements
- Up to date Garry's Mod Server/Client.
Recommended addons
- Wiremod for Wiremod functionalities.
- GM_BASS3 for loader sound and Wiremod spectrum output (Advanced Outputs).
- [NM] Prop Pack for additional speaker models.
Features
- Serverside playlists
- Playlist browser built into the entity
- Playlist support for *.pls, *.m3u, *.json and *.vdf
- Playlist support for these addons:
- Model support for these addons:
- Build-in playlist editor
- Wiremod support (inputs and outputs, advanced wiremod support when the optional gm_bass3 is installed on the server.)
- 3D world sound, which can be turned off
- Customizable GUI colors
- Multiple radio models
- FFT Spectrum visualizer and music animated models
- CPPI support
- Duplicator support
- Supports local files (inside the ".../garrysmod/sound/" folder)
- Clientside performance settings
- An API for developers.
Credits
- Code: Grocel
- Models: SligWolf
License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.