Change Volume Settings UE5 Tutorial Save and Load pt.1

Поділитися
Вставка
  • Опубліковано 30 лип 2024
  • Sound Files: drive.google.com/drive/folder...
    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

КОМЕНТАРІ • 34

  • @Drachendrac
    @Drachendrac Місяць тому +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 3 місяці тому +4

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

  • @joffremacedo10
    @joffremacedo10 7 днів тому +1

    Many thanks for this tutorial! :)

  • @zxan4xgaming498
    @zxan4xgaming498 6 місяців тому +1

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

  • @TheRealJankeyGamez
    @TheRealJankeyGamez 4 місяці тому +1

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

  • @kresus10
    @kresus10 3 місяці тому +1

    Thank you kind sir. It worked .

  • @BledardVoyage
    @BledardVoyage 7 місяців тому +2

    thank you very much

  • @JohnSmith-wm3xw
    @JohnSmith-wm3xw Місяць тому +1

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

    • @DankSoss
      @DankSoss  Місяць тому

      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

  • @Lifeequipment
    @Lifeequipment 21 день тому +1

    thanks bro

  • @Cronogeo
    @Cronogeo 8 місяців тому +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

  • @ErdemGurallar
    @ErdemGurallar 10 місяців тому +1

    Dude you saved my life ty

    • @ErdemGurallar
      @ErdemGurallar 10 місяців тому

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

    • @DankSoss
      @DankSoss  10 місяців тому

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

  • @Kurock1000
    @Kurock1000 6 місяців тому +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.

  • @nathanp.3909
    @nathanp.3909 2 місяці тому +1

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

  • @twotenbrandon
    @twotenbrandon Місяць тому

    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 4 місяці тому +3

    Where is part 2?

    • @DankSoss
      @DankSoss  2 місяці тому

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

    • @DankSoss
      @DankSoss  Місяць тому

      pt. 2 is out!

  • @streifffaro6227
    @streifffaro6227 2 місяці тому +2

    Will we ever see part 2? :o

    • @DankSoss
      @DankSoss  2 місяці тому +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  Місяць тому +1

      pt 2 is out

  • @VinoVenitas
    @VinoVenitas 11 місяців тому +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  11 місяців тому +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  11 місяців тому

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

    • @DankSoss
      @DankSoss  10 місяців тому

      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 7 місяців тому +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  7 місяців тому

      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 8 місяців тому

    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  7 місяців тому

      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  7 місяців тому

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