Change Volume Settings UE5 Tutorial Save and Load pt.1

Sdílet
Vložit
  • čas přidán 11. 09. 2024
  • Sound Files: drive.google.c...
    Part One
    I will show you how a slider can control the volume of specific sound classes.
    Volume levels will automatically save and reload with this method.
    Part Two
    I will show you how to get it working for gamepad/controllers
    #unrealengine5 #ue5 #unrealenginetutorial

Komentáře • 36

  • @datguycow
    @datguycow Před 13 dny +1

    This might be the best audio tutorial I've ever watched. Although the audio settings worked in viewport and standalone at first. When I packaged it later, it didn't work. I went down to the comments and you answered someone saying "you need to run it in game mode or player controller".
    I copied the blueprint to the GameMode blueprint and it worked!! Thank you very much. Now I can watch your part 2 hehe.

  • @Drachendrac
    @Drachendrac Před 2 měsíci +4

    As a heads up for anyone also wanting to do a Master Volume slider and anyyone wanting to use the common UI plug in:
    Master volume: easily made by doing everything in the video, but with a the third slider/variable/etc.
    Then you go into the "Sound Class" you probably named Master and add in the "Details" the Sound Classes you made for music and SFX (or any other/extra you made) into the "Child Classes" Array.
    Make sure to check "Apply to Children" in the Sound Class Mix and if it does not apply, into all "Set Sound Mix Class Override" as well
    For Common UI Plug In:
    You probably made an own Blueprint out of the slider, to use them several times, so you don't have access to the "on value changed" function if used in a seperate widget. To fix this go into your Slider blueprint, create an Event Dispatcher in the Details Tab, Call it "OnValueChanged" and connect it with the "On Value Changed" from the slider with a "Call OnValueChanged" node. Now you should have access to this function even in different Widgets and you can follow along the tutorial

  • @katezeher9421
    @katezeher9421 Před 4 měsíci +4

    You saved my life this week my guy. thank you so much!

  • @zxan4xgaming498
    @zxan4xgaming498 Před 8 měsíci +1

    Thanks for this dude. I have been struggling for about 3 or 4 days to figure this sound/ slider thing out.

  • @joffremacedo10
    @joffremacedo10 Před měsícem +1

    Many thanks for this tutorial! :)

  • @TheRealJankeyGamez
    @TheRealJankeyGamez Před 6 měsíci +1

    Thank you so much for this tutorial. This was unbelievably helpful!

  • @JohnSmith-wm3xw
    @JohnSmith-wm3xw Před 3 měsíci +1

    Loved the video, I noticed however that you didn't show how you linked saving everything to a 'confirm/done' button

    • @DankSoss
      @DankSoss  Před 3 měsíci

      Thanks. it creates a save file at the "savegame to slot" node. So everytime you update the slider, the save file changes. You could make a button that triggers "savegame to slot" node with similar logic. Just pass the variables in. pt 2 is out and shows how to make a "resume" button

  • @kresus10
    @kresus10 Před 4 měsíci +1

    Thank you kind sir. It worked .

  • @nathanp.3909
    @nathanp.3909 Před 3 měsíci +1

    Thanks Dude great unreal Engine 5 tutorial on volume sliders. Did you ever make the vid for the buttons?

  • @BledardVoyage
    @BledardVoyage Před 8 měsíci +2

    thank you very much

  • @Cronogeo
    @Cronogeo Před 10 měsíci +3

    Many many thanks mate! Just a comment, using the sliders, set the min value to 0.001 or the sound/music wont work propertly

  • @Lifeequipment
    @Lifeequipment Před 2 měsíci +1

    thanks bro

  • @ErdemGurallar
    @ErdemGurallar Před 11 měsíci +1

    Dude you saved my life ty

    • @ErdemGurallar
      @ErdemGurallar Před 11 měsíci

      Is there anyway you to make a video about master volume ?

    • @DankSoss
      @DankSoss  Před 11 měsíci

      I definitely need to add the gamepad part of tutorial for part 2, so I may add that too

  • @twotenbrandon
    @twotenbrandon Před 3 měsíci +1

    Hello, thank you for the tutorial.
    I seem to have a bit of a problem, when I open up my audio widget & access the slider, I keep getting errors thrown at me that say “Accessed None trying to read property SaveAudioRef”. I have troubleshooted by printing the value beforehand and it consistently prints 0.0, even though I set the value to be 1 at the beginning.
    If you or anyone else could help me, that would be greatly appreciated!

  • @Vucrown
    @Vucrown Před 5 měsíci +3

    Where is part 2?

    • @DankSoss
      @DankSoss  Před 4 měsíci

      cooking up part two now. I got addicted to GTA RP, but getting back into Unreal again.

    • @DankSoss
      @DankSoss  Před 3 měsíci

      pt. 2 is out!

  • @Kurock1000
    @Kurock1000 Před 7 měsíci +1

    You have to save it to a game slot? I am amazed theres no short cut like there is for video settings with the apply settings node.

  • @Celticninja011
    @Celticninja011 Před měsícem

    seems the audio just goes to 0 once you click the slider. I am not sure what I missed since I went through the tutorial twice, but I also don't seem to see a variable for volume control.

  • @streifffaro6227
    @streifffaro6227 Před 4 měsíci +2

    Will we ever see part 2? :o

    • @DankSoss
      @DankSoss  Před 4 měsíci +3

      I got in the ONX server for GTA RP and got addicted to it. Whenever I have free time I stream on twitch. All the nice comments here snapped me out of it though, I need to get back to gamedev. PART TWO COMING UP!

    • @DankSoss
      @DankSoss  Před 3 měsíci +1

      pt 2 is out

  • @VinoVenitas
    @VinoVenitas Před rokem +1

    This was really helpful, thank you. Only problem is when I restart the game it doesn't actually start from the save file

    • @DankSoss
      @DankSoss  Před rokem +1

      18:25 Is where the loading happens. For this example I put it in the Level Blueprint off begin play. But you can put it somewhere like the gamemode or controller for example. (Just make sure it loads and pushes to mix at beginning of game)

    • @DankSoss
      @DankSoss  Před rokem

      No problem! I forgot to finish this tutorial for the gamepad thanks for the reminder

    • @DankSoss
      @DankSoss  Před rokem

      And if it's still not loading, make sure your save file actually exists. It creates a file where your project is on your computer. Open file location and look in SaveGames directory for .sav file.
      If it doesn't, you may have accidentally looked over something, you can re-trace your steps and use print strings

  • @ketchuptresh6380
    @ketchuptresh6380 Před 9 měsíci +1

    Hey there! I followed the tutorial and it all works perfectly, up until I packaged the game :")) The sound doesnt work anymore and I was wondering if anyone has any clue on what to do.

    • @DankSoss
      @DankSoss  Před 9 měsíci

      does your game have level streaming? you may need to load the settings in the player controller or a gamemode at beginning of play

  • @jaredwainwright6441
    @jaredwainwright6441 Před 10 měsíci

    Hey I followed the tutorial and the music slider saves but not the sfx double checked everything but still cant figure out whats the problem

    • @DankSoss
      @DankSoss  Před 9 měsíci

      did you make sure they had the SFX class assigned? One time I accidentally set them to a default SFX class the engine had instead of the one I made

    • @DankSoss
      @DankSoss  Před 9 měsíci

      each sfx wav file or cue needs to be assigned to SFX class