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
![]() - Added option for cursor in VR. It was requested by user Peekofwar on Steam. - Added button for switching playback mode (no loop, song loop, playlist loop). Fixes #12 - Added option for the playback mode to the Toolgun. - Added/Changed Wiremod ports represent the playback mode. - Added support (including the GUI) for the Wiremod User entity. It can be used in contraptions to trigger use operations (+use) as like as play would do on other entities. - Changed playlist icons to a new custom one. - Moved networking from NW2Vars to NWVars, because NW2 is actually a buggy unfinished mess. - Fixed multiple cases of networking being unreliable casing the radio being wonky in multiplayer. It should be much more robust now. - Reduced networking overhead, by utilizing string tables for repeated strings. - Improved overall performance. - Fixed huge FPS drops when seeking songs. This happened also when the radio synchronizes between players or other radios (master / slave setup). - The GUI is no longer re-rendered every frame when radio playback is paused or stopped. It still has too when it play backs a song, though. - Fixed several UI / UX bugs, causing hiccups, stucked playback and other wonky behaviors. - Replaced hacky hashing algorithms (for networking). Because the game actually ships with decent official ones now, we no longer have to abuse util.CRC() |
||
---|---|---|
.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.