How To Save And Load Options And Graphics Settings - Unreal Engine 4 Tutorial

  Рет қаралды 39,682

Matt Aspland

Matt Aspland

Күн бұрын

Пікірлер: 120
@WreckedEm
@WreckedEm Жыл бұрын
You may never see this comment, but thank you so so so so so much for putting out tutorials like these in the detail you do. You came recommended through a friend and I can't thank her and you enough for stuff like this. You break everything down into the most simple terms for people new to game development and UE like myself, and even a year + later, the information still holds up. You're a valuable asset to the dev community and just know that you and your hard work are greatly appreciated.
@sk1llzzosg
@sk1llzzosg 2 жыл бұрын
for anyone wondering how to save screen res in the option menu other than resetting to 720p when it loads - uncheck the UseGrouping in the ToText(integer) function. Hope this helps :)
@tubicidio
@tubicidio 2 жыл бұрын
THX
@zsolezk
@zsolezk 2 жыл бұрын
Thanks! This should be pinned.
@DokoMaster
@DokoMaster 2 жыл бұрын
Thank you!
@kaiblack26
@kaiblack26 2 жыл бұрын
Thank you soo much!
@aleksvitek798
@aleksvitek798 Жыл бұрын
Be blessed, mate, thank you!
@stundazepow
@stundazepow 11 ай бұрын
Strangely, the settings wouldn't work properly in a standalone environment, but in a test package of the game, it works as advertised. Thank you again. God bless.
@ChuckstaGaming
@ChuckstaGaming Жыл бұрын
Thanks for this. As always, very, very useful. To make the Event Graph not look so busy, I have put each of the "loading selected buttons" code into their own function (Resolution, FPS, View Distance, etc.). It's made it a hell of a lot easier to read.
@Bluespace-publications
@Bluespace-publications 2 жыл бұрын
I wanted to point out that you do not need that huge FPS mess in the load settings, one Select node will do as you're already passing a Bool, just plug each == into the right pin and you can get rid of the other three select nodes to clean it up some :) I tested it and it works. For that matter I turned everything into Bools and cleaned up the space a lot. I feel it also lets me expand and read what is going on much better. Only thing I had to leave like it was is the Fullscreen mode stuff
@HanVZulu
@HanVZulu Жыл бұрын
I did the same thing. Truncate FPS -> 4 different "==" and each output to respective bool input of the Select function. Only one function call needed, and no branch.
@DieAxtimWaldeImSpieleWald
@DieAxtimWaldeImSpieleWald 22 күн бұрын
Great optimization! Thank you :)
@FunnySpanishGuy
@FunnySpanishGuy 2 жыл бұрын
Thank you very much for these tutorials on setting up a main menu and options. Recently, I have used mostly this setup, and I have learnt a lot about widgets :D. Just a heads up, in the resolution part, turning the X and Y to text will add a comma to delimit the thousands. It will not work if you don't also add the comma in the combo box options. An option to keep it cleaner with the more common "comma-less" resolution options is turn the integer into a string instead, which doesn't add any commas.
@ApesGameTime
@ApesGameTime 2 жыл бұрын
Works exactly as you said. Thanks.
@Yokitolakaka
@Yokitolakaka Жыл бұрын
Just to add a little bit, after converting the integers into strings, use and append node, put X value into A, in B put "x" letter, add another pin to the append and then connect Y into C, then the result into Set selected option.
@emirisik
@emirisik 2 жыл бұрын
Another great tutorial! You should do a series about Steam Multiplayer btw, if you are good with the concept! All other tutorials are old/not the best.
@MattAspland
@MattAspland 2 жыл бұрын
Thanks a lot! I can look into it further for a future idea!
@matheusrudo
@matheusrudo Жыл бұрын
I love your videos, I'm doing a lot of things that i wanted because of you, thanks a lot. If my game goes well I'll donate part of the money for you, you deserve it.
@muerezombie4610
@muerezombie4610 2 жыл бұрын
great video, I followed it step by step and it came out perfect, thanks!!
@megtwin
@megtwin 2 жыл бұрын
This series was awesome, definitely took the mystery of how it works, and it's so easy to set up! Thanks!
@cragebo
@cragebo 2 жыл бұрын
Thanks
@yazzindev
@yazzindev 2 жыл бұрын
yooo CP coming in with the 10£
@MattAspland
@MattAspland 2 жыл бұрын
I've only just seen this - thanks a lot for the support, happy I could help! :)
@geoffrey3668
@geoffrey3668 2 жыл бұрын
Thank for the nice tutorial. I run to a personal mistake: at 16:45 instead to have "create widget" node, I had a "construct widget" node. Therefore the "optionmenu" variable created was wrong leading to an error. If you get a big error message "acces none", check if it is like the video a "create widget" node ;).
@HimmelstigerTV
@HimmelstigerTV 2 жыл бұрын
I appreciate your work so much! Thanks a lot for that! Make things much easier. I decided only to make two things different (first is from the first video of this playlist): 1. I have 5 vertical boxes inside a horizontal box for the "Options Menu". The reason was, that it was much easier (for me) to align the buttons straight over the other with no gaps or spaces. As you can see on your video, the buttons are not in the same (vertical) line. 2. I collapsed these whole big tree of button settings (in the loading function) to different functions. So I've got a much better overview for my blueprint. Bit I'm so grateful for you work! Thanks a lot again. Hope to see you in your next videos.
@IoSkyBoyoI
@IoSkyBoyoI 2 жыл бұрын
So this is fantastic with user settings. But what about ingame settings such as Mph/kmh or adjusting onscreen hud and widgets from the options? User settings still used?
@samllea1
@samllea1 Жыл бұрын
I love these vids there really helpfull and its the first ever unreal engine tutorial i have followed!
@Source-fj3hd
@Source-fj3hd Жыл бұрын
Thanks Matt for your help love the videos man I'm learning a lot.
@OmegaOutlaw2024
@OmegaOutlaw2024 7 ай бұрын
Okay thank you very much for the great effort. Nice Tutorial well explained hope it works along with the rest of my project
@JHinsonMusic
@JHinsonMusic 11 ай бұрын
I'm trying to Load the screen resolution to buttons instead of a combo box. How can I 'Get Screen Resolution' and connect it's return value to the selection 'Switch'?
@Suffi8150
@Suffi8150 2 жыл бұрын
Will you be doing a Sound setting and subtitle for the menu?
@tyla1196
@tyla1196 2 жыл бұрын
how would you make the combo box string text save?
@digimikeh
@digimikeh Ай бұрын
Hi, do you know if it is possible to change a project setting variable from Blueprint or C++ at runtime ?...
@rohanojha300
@rohanojha300 2 жыл бұрын
how to save the resolution for the buttons, instead of combo box?
@space_mex_og1795
@space_mex_og1795 2 жыл бұрын
i manged to fix the screen resoultion not setting the box properly right click get an append add 1 extra pin so there should be a,b,c -> drag x from the break intpoint into the a -> drag y break intpoint into the c -> set b box in the append to x -> drage the return value to the option on the set selected option for the display box
@dewaldoosthuizen3778
@dewaldoosthuizen3778 2 жыл бұрын
mat hi love the videos, how would you save the screen resolution settings if the setting was not in a combo box??
@cheemayt1530
@cheemayt1530 Жыл бұрын
hey I want to make it work for pause menu too but in pause menu if I press back then it goes to main menu which don't don't , I've tried to duplicate it but if I duplicate the widget than the settings in the main menu are not same as the setting from the Pause menu Thanks.
@victoriasiller6039
@victoriasiller6039 2 жыл бұрын
How would you set up the load settings for resolution if you were to do buttons instead of a combo box string?
@krisburke3671
@krisburke3671 2 жыл бұрын
Trying to figure this one out myself
@krisburkegaming720
@krisburkegaming720 2 жыл бұрын
@@krisburke3671 has anyone figured this out yet?
@jahdhhsh
@jahdhhsh 2 жыл бұрын
Awesome Video! it would be really cool if you could do a directional gravity tutorial using the default third/First person character, so you could walk on the other side of the planet. keep up the great work!
@beoront3156
@beoront3156 2 жыл бұрын
Hi, great stuff, love your tutorials. One Question, When I go from pause menu to main menu settings buttons I pressed are still highlighted which is good, but when I go back to game and go to options they are not highlighted anymore but the settings stay as I set them first time ... How to keep the highlighted buttons when I come back from Main menu to Options in Pause Menu? Thanks
@declangilmour8184
@declangilmour8184 Жыл бұрын
Hi, you likely figured this out by now but incase you didn't or for anybody else running into the same issue. All you need to do is follow the steps from 16:15 that Matt done to the main menu widget in your pause menu widget so that it loads your options menu with the current selected buttons in the background
@farrasaris5394
@farrasaris5394 11 ай бұрын
PROBLEM HELP! When Iam in the game, then I click option, the option is not show applied, but the game run with the same option settings as the menu does. Everything in the main menu to option is great, have no problem, but when I play the game, then I back to option settings, the problem is begin, the box is not checked or applied.
@space_mex_og1795
@space_mex_og1795 2 жыл бұрын
i made the fps a combo box is there a way to make it load like the resoultion Edit: Found Out How Its Easy Were We made the LoadSettings Custom Event from the get game user settings -> Get frame rate limt -> truncate -> get the fps combobox -> set selected option -> pipe the truncate into the string input it should auto convert make a sequence on the apply settings and pipe the display selected option into 0 and fpscombobox into 1
@GrifChan
@GrifChan Жыл бұрын
Tanks! now i have options menu in my game
@beilog7489
@beilog7489 9 ай бұрын
How can i bring up options menu while in the game?
@izzyharvin
@izzyharvin 2 жыл бұрын
At 18:23 my game don't look low poly like your game does. Is it something I'm missing and what setting does that deal with? Thank you.
@MrExBeast
@MrExBeast 2 ай бұрын
Useful tutorial, but i can't figure it how the buttons go dark on pressed/selected/loaded even i've create a "style buttons array" (with a background image on selected and hovered, even a focus with gamepad), all other buttons in my Menù work good with my style changes, but with this workflow they go dark. Some help pls?
@明明王-j1v
@明明王-j1v 2 жыл бұрын
Hello, excuse me, can you choose one or more slots for archiving, such as archive 1, and then archive 2
@QualityGames2023
@QualityGames2023 Жыл бұрын
awesome video mate, thank you x
@kresus10
@kresus10 7 ай бұрын
If I have Volume buttons , I did the same thing but I cannot make it remain the same button selected once I exit the level. If I spawn again it goes back to a default button.
@ethanconard2178
@ethanconard2178 Жыл бұрын
i dont have the load settings function listed at 16:53. What am i missing?
@Tax3s
@Tax3s Жыл бұрын
I'm missing it too, did you find the solution?
@stannisbaratheon6725
@stannisbaratheon6725 2 жыл бұрын
18:15 when you loaded back up your resolution was reverted back to 1280x720
@jamesmichle5629
@jamesmichle5629 2 жыл бұрын
Thanks, for pointing that out.
@MattAspland
@MattAspland 2 жыл бұрын
Ah you're right, I don't know how I didn't notice that. I'll look into that further
@stannisbaratheon6725
@stannisbaratheon6725 2 жыл бұрын
@@MattAspland Great video though man!
@toby5280
@toby5280 2 жыл бұрын
Ever get that figured out?
@Renkyys
@Renkyys 2 жыл бұрын
@@toby5280 By doing the "To Text (integer)" at 4:53 you are saving the resolution in a format that inserts spaces in the numbers above 1000. So for instance saving a 1920x1080 like that results in 1 920x1 080 which is bad, because we want the exact same text as the one put in the ComboBox. Easy fix though. Click the little arrow at the "To Text (integer)" function and untick "Use grouping". This will then save the number correctly.
@fleewortep6288
@fleewortep6288 Жыл бұрын
thanx a lot for the video!
@thelostsoul9497
@thelostsoul9497 2 жыл бұрын
For View Distance button selection , I don't have the "Select View distance Button" function. How to get that?
@MartKart8
@MartKart8 2 жыл бұрын
Did you watch the Epic games show case, I thought it was pretty good close to 45 mins it was today?
@MattAspland
@MattAspland 2 жыл бұрын
I did yeah, it was amazing and I'm super excited for the future of Unreal!
@-Chadnik
@-Chadnik 10 ай бұрын
When i try to convert resolution into text it comes out with commas for some reason. So for example 1920x1080 will come out as 1,920x1,080. Not too big of a deal but it doesn't look as clean. Know of any way to fix it? I should add that I am changing the text in a text box and not a drop down box like you are.
@EnjOficial
@EnjOficial 2 жыл бұрын
Great tutorial, everything its working incredible, but there is one problem that is happening for me: when I go to the options menu while in game and press the back button, I go back to the main menu and not the level that I was before going to the options menu. Another issue is that When I you click the Quit button of the pause menu, the quit to desktop and to main menu options dont dissapear even when you unpause. Do you know how to solve it? Im new to the engine and I just have no idea what to do, all the things I tried didnt worked :/
@grendel3k198
@grendel3k198 Жыл бұрын
Anyone an idea? When i select Window Mode and take a Resolution >= 1920x1080 (My Monitor) i cant see the window bars anymore looks almostlike fullscreen. As i know in other games you still see a window vorder even your resolution si equal to your Monitor resolution. Anyone knows how i can force this?
@R-SXX
@R-SXX 11 ай бұрын
I am currently working on my bachelor work and I figured that the memory issues I have might be fixable with setting up quality and option menus; it really helped me a lot! But do you have any tips on how to tackle memory issues and crashes?
@Tupax
@Tupax 11 ай бұрын
profile your textures aka dont use 4k textures when you dont need too this will help greatly with memory. crashing comes mostly from bad code, unless its just a editor related crash which can happen.
@AMobOGobos
@AMobOGobos Жыл бұрын
Awesome video! Question: clicking "Optimal Settings" seems to take a moment to load; during which none of the other buttons can be clicked. Is there a way to make that happen a bit faster?
@MrJulyCrab
@MrJulyCrab Жыл бұрын
Welp, that depends on the computer, so with that said you can't change that as the Benchmark function tests a computer and then puts the best settings that the computer can handle
@LoulouNoLegend
@LoulouNoLegend 2 жыл бұрын
Thanks, this tutorial helped me a lot!
@gradertfamilymakes
@gradertfamilymakes 2 жыл бұрын
Works great. For some reason though my in-game UI shows on the menu... I still cannot figure that out. And I get a warning that the UI_Widgets_C is already loaded. But I only load them once. There must be a loop somewhere.
@lucifer796
@lucifer796 2 жыл бұрын
my save settings button doenst save res or graphics or volumes settings, i did exactly as in tutorial, i cant find the solution
@iladiani
@iladiani 2 жыл бұрын
is this not compatible with the old option menu settings? i really dont feel like remaking the whole menu just for this to function :(
@elon_mysk3278
@elon_mysk3278 Жыл бұрын
Hey Guys, After the whole tutorial it seems like that the Save Button (On click) is unnecessary. When I change my settings and start the game or leave it immiadetely, the settings seem to be saved without clicking on the save button. Does anyone know why?
@minorcopper
@minorcopper 10 ай бұрын
A little late for someone to reply but if you followed the whole video there's a custom event that is always run regardless if you save the settings yourself or not. You can delete the custom event so your required to save the settings but you don't need to unless you wanted to.
@OldNickIronSide
@OldNickIronSide 2 жыл бұрын
How can I save "Key Mappings setting"? I really really want to know it! please!
@DavidGWilliams1981
@DavidGWilliams1981 Жыл бұрын
Can't get the windowed mode to actually run as windowed.
@s3armoredyt849
@s3armoredyt849 2 жыл бұрын
after I closed out of my game and reopened it it took me straight into the main game not the main menu and cannot change my option settings now
@sheshoumaru2070
@sheshoumaru2070 2 жыл бұрын
how save resolution in combobox
@SnakeForcePictures
@SnakeForcePictures 2 жыл бұрын
Thank you very much.
@MrJulyCrab
@MrJulyCrab Жыл бұрын
One thing I did is that in the sequence, I collapsed into a node which creates another graph just for that part of the code to save space and make it easy to find
@wolfsblessing
@wolfsblessing 2 жыл бұрын
Thanks for t his... you got a sub!!!
@DaysVFX
@DaysVFX 2 жыл бұрын
When I click on the image it causes the game to stop displaying the mouse, and when I launch the game it acts as if there was a pawn, is there a way to fix this?
@katt5331
@katt5331 Жыл бұрын
for the mouse IN THE LEVEL FOR YOUR UI, make a even start and attach set show mouse cursor to it (use get player controller off the target for it)
@nickjohnson7277
@nickjohnson7277 2 жыл бұрын
Nice one bruv
@MattAspland
@MattAspland 2 жыл бұрын
Cheers Nick!
@wolfsblessing
@wolfsblessing 2 жыл бұрын
Btw, can you make tutorial how to save and load Sound/Volume settings?
@CaptainChubbyDuck
@CaptainChubbyDuck Жыл бұрын
Yeah I want and need this too. I know you use SaveGame BPs somehow. But its not really working out for me
@Kitsunelanie
@Kitsunelanie Жыл бұрын
I hope that in your newer videos the click sounds for liking and subscribing aren't jumpscares.
@aveera
@aveera 7 ай бұрын
😂
@Bluespace-publications
@Bluespace-publications 2 жыл бұрын
display still showed the wrong res when you changed it to 1920X1080.
@GUCKII
@GUCKII 2 жыл бұрын
Im clicking Save Settings but it anyways turning on Low...
@axelunder472
@axelunder472 2 жыл бұрын
did you manage to solve it?
@axelunder472
@axelunder472 2 жыл бұрын
nvm I solved it by myself
@GUCKII
@GUCKII 2 жыл бұрын
@@axelunder472 me too. inattention mistake
@deftsu5821
@deftsu5821 2 жыл бұрын
How to load the settings without opening the widget?
@charzxd6515
@charzxd6515 2 жыл бұрын
i also do that custom event thing, incase the player doesnt press apply, it saves anyway. lol
@awesomesno6086
@awesomesno6086 2 жыл бұрын
Bro Please Make Auto Graphics Lock Option Like PUBG Mobile, By Which The Graphics Gets Locked According To The Processor Of The Device
@skully3661
@skully3661 Жыл бұрын
Anyone elses optimize button not working? I'm using 5.3
@Trait74
@Trait74 2 жыл бұрын
Why is this on Unreal Engine 4 and not 5?
@wesss9353
@wesss9353 2 жыл бұрын
Because unreal engine 5 just came out today for us peasants...
@Trait74
@Trait74 2 жыл бұрын
@@wesss9353 it was already out as early access and previews if you didn't know
@wesss9353
@wesss9353 2 жыл бұрын
@@Trait74 I meant he has to come up with a script, do the tutorial, and then edit a video. I'm sure he spend several hours on the video, and he will probably start making tutorials using the new unreal engine 5 But I'm just guessing
@muhendisbibey
@muhendisbibey 2 жыл бұрын
Because it was the officially released version of Unreal Engine.
@thereedbas4755
@thereedbas4755 2 жыл бұрын
I can't do it in Ue5. pls help😂
@MrTreeGuy
@MrTreeGuy 2 жыл бұрын
hi
@MattAspland
@MattAspland 2 жыл бұрын
Hey
How To Create A Main Menu System In Unreal Engine 4 | UE4 Tutorial
20:57
Save And Load Player Stats - Unreal Engine Tutorial
12:46
Matt Aspland
Рет қаралды 41 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
How To Create First Person Footsteps In Unreal Engine 5
10:07
Nixik Studio
Рет қаралды 1,6 М.
Immersive Flashlight Horror Character [Trailer] [UE5]
2:54
Kamen Developer
Рет қаралды 7 М.
Sprinting And Stamina - Unreal Engine 5 Tutorial
17:00
Matt Aspland
Рет қаралды 77 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН