|
Post by lvluphero on May 28, 2024 3:01:46 GMT
Hello!
For details:
I'm adding mod support to my game that uses MasterAudio, and I was hoping there was already an existing way to add songs to a playlist at runtime through addressables.
Modder adds a song to the modding SDK, and creates an addressable package, then uploads it to mod.io. Player then downloads the addressable file. Easy.
Now I just need to figure out how to add that addressable file to the existing music playlist at runtime.
Thanks!
|
|
|
Post by DarkTonic Dev on May 28, 2024 13:03:41 GMT
Sorry, Playlists can't be modified during runtime. You can create a separate Playlist with Dynamic Sound Group Creator, but they still must be constructed at edit time.
That is, we don't support it, but it may be possible, as long as the Playlist isn't loaded into a PlaylistController.
I would probably populate everything except the actual song clip (Addressable) into a DSGC, and use code to populate just the Addressable portion.
|
|