#0.9.7.106 Custom RadioBroadcast Implementation
1 messages · Page 1 of 1 (latest)
🤔 if SP works fine, and MP does not, then to me it smells like a data mismatch somewhere, not sure where though. if the problem is with MP, then the DS setup may be off.
or not. 🤷♂️ hard to figure out from a distance. 😦
your server/mission config would be nice to see, as well as a reply to Laxe's question.
but worry not, i truly believe that you'll get there. 🙂 will take a bit of fiddling and it's probably "just some small thing" somewhere. we just gotta be like 🕵️, looking at all the details. 🙂
PS: what kind of music do you have in your radio? i'm curious now, hehe🤘
0.9.7.106 Custom RadioBroadcast Implementation
I initially thought it could be a information mismatch between the dedicated and client but checked the dedi’s addon folder and it seemed to be all there.
We currently use the Arma Reforger Server Tool by Soda3x for our management of it. I can ask our server manager if I can get a config set up screenshot or similar of it.
It probably is something really small that I missed or overlooked, but am not sure what it could be.
And as per what is in our radio. Lol it’s a bunch of songs that our community enjoys or memes about such as “the Coconut song” but it also includes talk show bits from our community’s lore and world we’ve built
seeing the config would be nice. if there are "private parts", then the server's mods configuration part would be most useful. 🤔
Will try to get one today
thx for that.
is it the bleach boys radio?
hmm... super weird thing tbh. downloaded the mod, setup looks ACE ❤️ super well done!
went to SP arland conflict, wanted to turn on the radio -> crash as I press F. hmmmmmmm...
gotta fix the crash first, before i can look further... looking for clean repro now.
- after todays update, you gotta re-generate the times in your
RadioBroadcastManagerprefab, as we now use miliseconds for audio track duration, instead of seconds.
numbah go up! 😄 - found this interesting behaviour (video): once outside of audible distance of radio, it does not return once you get back into range. does it also happen on your end? you can use the
CTRL+ALT+Cfree cam to fly around (hold RMB for camera control, WASD to move camera)
you can also use diag menu (win+alt) -> sounds-> show sounds 3d, there should be a sound showing up when your radio is playing, like in the video.
all in all, super interesting story here, thanks for your report, time & additional info. we'll continue this until it's resolved.
i expect that first we gotta deal with the radio not playing once you get back into audible rangeproblem on our end here.
Lol yea it is
I’ll regenerate the times and check on that audio distance behavior and see if I get a similar issue. Thanks for helping me with this!
i suspect that the radio does not come back for you either eh? but it works, if you turn it off and then on again?
one little "hack" i can imagine working is a script that checks distance between player & radio like every 2s or so and if player enters the audible range (AudioSystem.IsAudible perhaps can help) it executes the "turn off -> turn on" user action, restarting the whole thing (once. 😄 not every 2s hehe, but i suspect you have capable scripters on your team). 🙂
might help out, until we fix it on our end... 😄
Sorry I haven’t been able to look at it recently. Been out of town a lot recently for work, but am hoping to be able to look at it this weekend. In my past experience I’ve been able to walk away from the radio and still hear it when I come back. But I’ll try and replicate what you experienced in your video
no rush, was just checking in. 🙂
Alright! so I ran into the same crashing issue after the update, and pretty much just rebuilt the whole thing and now it works! Not really sure what it mightve been, but one thing I can think of would be checking the "Apply Transformation" when applying the prefab.
It still seems to have the issue of when you get far enough away from the audio the audio doesn't come back when you come back into range, tried it in Game Master and as a player on the ground and the audio did come back whenever the song changed or when i turned the radio on and off
thanks for the update! yeah the radio coming back is a bug on our side.
until it's resolved, you can perhaps try the scripted idea hack from above.
changing songs & turning on - resets/restarts the system.
Thanks for helping me! I really appreciate!
And I’ll try that out till the radio bug is resolved
@elfin spade
found something for you.
bug is due to optimization & automatic handling of active/inactive sound sources.
for now the fix for you is:
in your addon, override the base radio everything else is inheriting from, in my case its {B68D3829D4442F80}Prefabs/Props/Civilian/RadioSmall_01_Base.et, not sure what the GUID/name is in the release.
in the prefab, on the RadioBroadcastSoundComponent set the Include Inactive flag to TRUE.
enjoy your music. 🙂