Garry's Mod

Garry's Mod

3D Stream Radio
此主题已被锁定
Garghoul 2020 年 2 月 22 日 上午 10:40
Permanent radios
Hello, your mod is amazing.

If you're still working on this, can you make it so you can save radios permanently on the map? That would be amazing for RP servers. If you can make it connect to the same radio station you left it on would also be great.

I'm asking becasuse the PermaProps Tool doesn't work on radios.
< >
正在显示第 1 - 7 条,共 7 条留言
Grocel  [开发者] 2020 年 2 月 22 日 上午 11:17 
PermaProps support is planned: https://github.com/Grocel/3D-Stream-Radio/issues/5
I still haven't got the time to go for it, though. When its done it should save and load it's state (station, playback, settings).

At the moment you can use the dublicator addons, the advanced dublicator does also have a map load and save feature that should work with the radio.
Michak89 2020 年 4 月 10 日 下午 1:51 
Perma all works fine without falco. With falco's prop protection there is lua error while spawning radio and spawn fails.

[ERROR] lua/weapons/gmod_tool/stools/streamradio.lua:266: bad argument #1 to 'SpawnRadio' (Player or nil expected, got Entity)

I made small modification for my sbox server years ago in stools/streamradio.lua:266
It's just a quick fix.

if tostring(ply) == "Entity [0][worldspawn]" then ply = nil end
local ent = StreamRadioLib.SpawnRadio(ply, model, Pos, Ang, Settings)

Works for now.
最后由 Michak89 编辑于; 2020 年 4 月 10 日 下午 1:56
Grocel  [开发者] 2020 年 5 月 23 日 下午 4:41 
Today I released an update that adds PermaProps support. Please let me know if you have any PermaProps problems left. Old PermaProps saves might still be broken and may need to be replaced.
Grocel  [开发者] 2020 年 6 月 3 日 下午 2:40 
Today was a minor update that changed something with the PermaProps support in combination with prop protections. Errors in that matter should be less likely now.
fverne 2020 年 7 月 4 日 上午 3:58 
very nice that you have permaprop support. do you plan on adding support for the regular persistance build into gmod? if we don't want to get the permaprops addon to save just one radio.
Grocel  [开发者] 2020 年 7 月 4 日 上午 5:07 
It already is supported as like as dupes are supported. GMod Persistance, GMod Dupe and Gmod Saves are using the same API.
Grocel  [开发者] 2021 年 5 月 13 日 上午 5:17 
Closed as resolved.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50