Satisfactory ModdingSM
Satisfactory Modding10mo ago
38 replies
SerGreen

Adjust volume of a custom Boombox tape

I added a custom boombox tape with the help of this guide:
https://docs.ficsit.app/satisfactory-modding/latest/Development/Satisfactory/Audio.html

It works, but music plays at maximum volume and doesn't react to the volume slider. So i set up an audio bus, assigned my songs to this bus, created an RTPC parameter, linked bus' volume to that parameter and created an AK Game Parameter in Unreal for that RTPC.

Then in GameWorld Module i used Bind on BPFunction on BPW Boom Box Player widget blueprint and in its PreConstruct event i subscribed to OnVolumeChanged event. It works and when i move volume slider i receive float values from 0 to 1.

But now what? How do i send those float values to RTPC? In the guide it simply says "now you can update RTPC using blueprints" and on screenshot (second attached image) it shows SetRTPC node that accepts some Ak object. Is Ak a play event? But i don't manage play events directly, boombox does, i only placed references to my play events in the tape blueprint. And i don't see Set RTPCValue node, i have Set Global RTPC Value and Set Actor RTPC Value. I tried using Set Global RTPC Value (first attached image), but that didn't work.

What am i doing wrong and what is the proper way to control volume of custom tapes?
image.png
Wwise_UE_RTPC_Usage.png
This page is a work in progress. Adding sound effects and music via mods can really help bring them to life. Coffee Stain uses the Wwi...
Audio :: Satisfactory Modding Documentation
Was this page helpful?