I've seen many videos that made me feel like saving is a pain in the ass since I'd have to manually mention every variable I want my game to save. Your method eases up most of the process. Thank you!
@melodicfish7833
5 жыл бұрын
Helpful ease of life tip for you Ryan and anyone else who cares.. (at 26:45) if you right click on the gray area between the word " location" and the 3 x y z values you can just copy then paste all the values into the other blueprint instead of opening both windows resizing so you can see...and typing them in one by one.. this blow my mind when I was told this lol. Also works for the rotation values and scale.
@lemonhashberry5799
2 жыл бұрын
In Unity you right click the Transform of any object or Prefab and there's options to copy all, position only, rotation only, scale only, or reset any or all of those. Unreal needs to step their game up with UI...
@gamesbyzeta1434
2 жыл бұрын
@@lemonhashberry5799 Unreal you can create that yourself as an in-engine tool if you really feel you needed it.
@dominikt707
Жыл бұрын
That's literally so helpful, thank you!
@tyjrthrtg
3 жыл бұрын
This video may be a bit too old but i see alot of people asking for saving the inventory from your other tutorial. You just create a SLOT STRUCTURE variable in save game object (make sure to make it an array). And for saving this variable, you drag out your character inventory component, get the inventory array and set it as the variable you made before. For loading you set the players inventory array from the save game object value.
@naysayer5539
Жыл бұрын
Thanks for this! Still helping years after! 🎉
@UnderfundedScientist
4 жыл бұрын
Everytime I'm stuck and I search for help your there for me , thank you as always
@WolframSaga
4 жыл бұрын
Omg thank you. After looking through hours of tutorials, I've finally found a video that got my character's custom name to appear above her head with the text entry on the title screen. FINALLY! Thank youuuu.
@legacythegame
5 жыл бұрын
Just finished, great tutorial as always thanks again Ryan! It's going to take some time arranging all my 100's of variables in a struct
@AdamSweeney85
5 жыл бұрын
Cool, I really hope you plan on saving inventory. I'm in need of how to do that.
@treborcxviii
Жыл бұрын
Following this tutorial I managed to jerry-rig a character customization system into my game. Thanks a million for this tutorial!
@tomas_ton
5 жыл бұрын
best ue4 tutorials channel out there
@niranjanwagh5767
3 жыл бұрын
Thanks for such detailed explanation. Its very hard to find such "keep it simple videos" like this
@mofo09
4 жыл бұрын
Hey, I know im not a patreon member and realize this is an old video, but it would be nice if you could do a tutorial on saving and loading of the Inventory system you made a tutorial for! :) You da man Ryan
@bersK00
4 жыл бұрын
You can click copy and then paste on the vector variables( any variable actually: colors, ints, etc) , be it in the editor window or the blueprint window.
@flooblybub
4 жыл бұрын
Thanks mate i'm well on the way to my own save system now, added a bunch more variables from the main character with this method.
@micheledegan1320
3 жыл бұрын
Great! I was searching for tutorials like those from a lot
@gabrielsdi
2 жыл бұрын
Amazing tutorial Ryan, it's the clearest explanation of save / load data structure I've ever seen. Love your tutorials!
@BeamFreqGames
Жыл бұрын
Very good start. Thank you.
@eye_scream_eye_scream
4 жыл бұрын
My XP Bar won't save. i need help plz
@edbrown6188
5 жыл бұрын
As always great tutorial!
@Ravared
3 жыл бұрын
Dude you'r a pro ! Your tutorials are so nice and clear that's so great ty a lot :)
@RyanLaley
3 жыл бұрын
Glad you like them!
@legacythegame
5 жыл бұрын
Just what I needed!
@Kein_Alias
5 жыл бұрын
Nice work! THX / You can copy & paste data like the location with one click by the way.
@coffee-coco
8 ай бұрын
thanks it works for me in a text variable.
@nightdragon4611
3 жыл бұрын
Unfortunately I am having no luck getting this to work, getting riddled with errors after stopping the game - Attempting to access missing property and attempted to assign to none, both referencing my Max Health stat in the save/load Functions you have setup. I have even tried it without the functions like you do at the beginning, bust still the same errors. I really enjoy your videos and the way you teach, I have implemented your XP system and AI system, but for some reason can't for the life of me figure out why the system won't load or save my stats. Also when the game loads it shows 0 Health, if I have Health split in to current and max do I need to save and load both? Update: Finally got it working, no idea what I did wrong the first time.
@JoelDiab
3 жыл бұрын
ME TOO! Its so frustrating omg and I watched this tutorial like 5 times.
@NoctaKnight
3 жыл бұрын
Best saving guide, even better than Virtus!!!!
@7ruthVVizard
3 жыл бұрын
Extremely helpful tutorial
@AzaGorod
3 жыл бұрын
I have been testing with a structure to better keep data organized and so far it is working! (update): Ran into a wall when attempting passive regeneration. This is not fun and my head hurts trying to figure it out even tho it may make sense.
@EdH
Жыл бұрын
Really well explained video 😎👍
@VIN_Wolframwow
4 жыл бұрын
Any idea how this would be done on a server? With login, etc.
@jol0973
2 жыл бұрын
Thanks for the tutorials and co grants on becoming an official unreal teacher. How do I deal with the location when using linked level doors?
@elijahgames192
7 ай бұрын
I'm wondering how You can save Boolean arrays they don't seem to save multiple bools and the arrays just don't work.
@Kein_Alias
5 жыл бұрын
I have an idea for your next video. It would be nice if an actor himself knows if he has changed. And if so, only the corresponding variables should be saved. Best without C ++. Here one would still have to find out if it makes any sense to save a variable from a struct instead of directly saving the whole struct. Greetings Christian.
@FrancescosToon
5 жыл бұрын
Cool stuff! I'm working on a checkpoint to do all of this but i also want to save data from other actors like items and doors. Does it work in the same way as for the player?
@guilhermenaco
Жыл бұрын
Perfect tutorial! Thank you
@yuancui4305
Жыл бұрын
Nice Video! One question though - when I'm switching levels the save doesn't seem to work anymore, I got error saying that access none trying to read the player character. It seems the player character reference got disconnected during the level change/reopen the game. How do we do save and load between levels also after re-enter the game?
@MsiterJ
5 жыл бұрын
Hi, I suppose this is compatible with your previous "LevellingSystem". However, I can't figure out how I can call variable from functions in "LevellingSystem" to "MyGameInstance". Do I have to call the wanted function, and then call the wanted variable first ? Like in exemple, at 16:34, I can't call the "BufferXP" from "PlayerReference" cause it's in a function in the "LevellingSystem". I'm a true beginner, sorry for asking dumb question below your videos, sometimes..
@nathansmith8437
5 жыл бұрын
I'm doing the same thing and ran into the same issue. I personally missed the point around 9:44 in da video to add a "XP" variable to the save game object... as well as you need to "get" the "leveling system component" and referance the "current XP" I believe.
@GokdenizCetin
Жыл бұрын
Thanks!
@yassiraykhlf5981
5 жыл бұрын
so helpful thx
@CL-xe5ks
2 жыл бұрын
Very nice man .
@mortalcombat1982
4 жыл бұрын
it works for pc, but don't work for mobile , Does anyone know of a useful save load for mobile?
@uncletrashero
2 жыл бұрын
This seemed to work for the player location but doesnt work for player rotation? always loads in player with 0 0 0 rotation. is there some other setting that forces player into 0 0 0 rotation at load?
@uncletrashero
2 жыл бұрын
Turns out the player camera in firstpersonmode is linked to the player controller pawn. So what i had to do is in the Load Game function, i had to Get Player Controller -> Set Control Rotation to the saved rotation. that did the trick. i imagine you would need to save/load the camera rotation in 3rd person games as well ? not as necessary maybe
@afroks
5 жыл бұрын
How to place the user surface as button ? and level part 2 please
@g.o.v_animations
6 ай бұрын
How do I prevent the load system from being activated until the player reaches the level?
@EmarStudios
2 жыл бұрын
I have another question, couldn't you use a "get all actors of class" function instead of "cast tto third person character" casting thing? I don't think you would need to set a player reference that way. what's the difference between using the two methods?
@CLBmodeler
3 жыл бұрын
Hi, I've encountered a small problem. Basically any time I try to cast to the player bp it doesn't seem to work. I noticed that when I changed the Game Instance back to its original one then it does work. Any idea why this might be happening? I've been reading the comments and no one else seems to be having this problems.
@pheonyxior_5082
2 жыл бұрын
I don't understand, at 15:10 I can't connect the int variable I want to save from the SaveGameData variable. I tried making a float one like in the video but it still doesn't work.
@stormstudios1
2 жыл бұрын
is it better to do the saving in the game instance like the video instead of the player or does it not really matter where it saves and loads?
@BoxGamesJardelAntunes
5 жыл бұрын
Very nice thanks
@unrealengineruseng9583
5 жыл бұрын
Thank you !)
@yanhu
5 жыл бұрын
After ues Function Save & Load Data in the gameinstance, is there no need to create the SaveGame object? Gameinstance did all the jobs done?
@Spookysart
4 жыл бұрын
FOR PEOPLE THAT HAS A PROB WITH LOADING DATA: I fixed the prob by debugging first the flow of the previous saves try to delete the slots (previous ones) and then check with print on the xp_bar and it will work with no errors
@Piru2000
Жыл бұрын
This doesn't seem to work on UE 5.2, perhaps I am missing something.
@lethiagames9208
5 жыл бұрын
um it's not loading only saving
@tahircan8212
2 жыл бұрын
thank you bro
@n1lknarf
4 жыл бұрын
Is there any way to save the game on quit? You didn't show that example, and I spent an entire day trying to use interfaces and dispatchers to trigger the node and it just would not trigger, I have no idea why. Could you please update this tutorial with a short video showing how would you save your game on quit? Like if player selects quit game on a widget, how do you go from there to saving the game? I've tried many ways but none works.
@gabegonzalez2782
4 жыл бұрын
Hey, not sure if this is what you are talking about but what I did was I set it so on event construct widget it would set the game instance (like the begin play he used for the third person blueprint at 10:00 ) and then on clicking a button it would save the player data AND THIS IS THE IMPORTANT PART I had to make a delay before using the quit function. For me, it would not work without the delay.
@n1lknarf
4 жыл бұрын
@@gabegonzalez2782 Yeah I dunno why I didn't think of just saving on button clicked. I did just what you said a couple hours ago. Thanks anyways for replying.
@TNTMEKKI
3 жыл бұрын
i not need this i need change ue4 save auto in my C drive files i change it in D drive but he save agin in C drive
@ivonbonny1356
2 жыл бұрын
Thank You a lot!!!!!!!!!!!!!!!!!!!
@monushaw6819
3 жыл бұрын
Happy teacher's day
@GBTC2011
4 жыл бұрын
I tried it using the player location and everytime I save, the game crashes
@markresorci2412
4 жыл бұрын
me too! did you solve the problem?
@GBTC2011
4 жыл бұрын
@@markresorci2412 No, sorry
@geniuspancake8274
3 жыл бұрын
Amazing tutorial, I am just wondering about something. I have a pawn, it has multiple variable types (few bools, few strings, few floats, an int). Is it better to make a structure that has all those types in it, so we don't need always to do "set xp, set position, set health, etc."?
@dankrijk9678
3 жыл бұрын
Wondering on the same
@knerf999
2 жыл бұрын
where are these located? these savefiles?
@Konradkh
5 жыл бұрын
What if I want to save the level? I mean which level you are in.
@RyanLaley
5 жыл бұрын
You save the name of the level and store that, Get Current Level Name
@davefreelance
5 жыл бұрын
@@RyanLaley A tutorial please ?!! by the way your tutorials are the best !!
@exstudent30
3 жыл бұрын
@@RyanLaley Hi, great work. where do we load the level back in ? I've tried the Load Player Data function but can't get it to work.
@hoboindachick
3 жыл бұрын
The load game from slot return value lets me plug it directly in
@LFPaiser
3 жыл бұрын
at 11:15 my "Get Save Game Data" doesn't show up. Does anyone know what I'm missing?
@EmarStudios
2 жыл бұрын
the save load function works fine with the current game instance thing. but if i close and start a new game i lose all my saved information :/
@EmarStudios
2 жыл бұрын
oh ... i forgot to add the savegametoslot thing to the end of the saveplayerdata function ... i feel silly -_-;;
@Broockle
Жыл бұрын
I just quit unreal and reopen it. There's always stuff that it can't safe otherwise for some reason.
@lightbornadventures
4 жыл бұрын
Did all of part 1 and 2, I'm having this issue where: the game starts, the player character is spawned in at the set location but now I have no HUD and can't move or do anything, no longer controlling the character. Pretty sure I got every step but I might be missng something. Has anyone come across this problem with some kind of solution during this tutorial?
@RyanLaley
4 жыл бұрын
On you character object set it to auto possess player 0
@ShawnTheRazor
3 жыл бұрын
@@RyanLaley The issue I was having, Thanks!
@ShawnTheRazor
3 жыл бұрын
I was going through my BP's like "What did I mess up this time?".
@rvill1
2 жыл бұрын
basics 26 minutes? saving loading is frustrating
@EmptyVd
Жыл бұрын
I am the newest suuuuuuuuuuu
@CasperLind1
3 жыл бұрын
... it would be nice. if your tutorials fitted together..
@RyanLaley
3 жыл бұрын
The purpose of the videos is to teach people the mechanics of these things and how they work. Build understanding. If I did make them all just interconnect and so forth, then makes two problems: 1. You would have to watch every episode to be able to implement the thing you actually want. 2. You wouldn't actually learn anything as it would just encourage straight copying, which means you only know how to make something exactly like what I show. Learn how the system works, and then you can piece it together to fit your own designs.
@CasperLind1
3 жыл бұрын
@@RyanLaley which just makes the purpose of your tutorial useless if you need to watch another tutorial to understand yours...
@pencilgun4934
4 жыл бұрын
Ryan how would you save an array of components if your player character is a car for example with wheels turning, etc? Here is my post on Reddit: www.reddit.com/r/unrealengine/comments/hka7f6/need_a_little_help_trying_to_create_saved_game/
@sunmark8994
Жыл бұрын
Why would my cast to the save game object always fail?🥲
@LastNight0
Жыл бұрын
im having the same issue in ue5 it seems that the save object reference default value is empty, but i dont understand why
@IoSkyBoyoI
Жыл бұрын
Im equally having an issue, Im getting a note that it is referencing itself and I cant attach game instance to savegamedata, maybe its out of date, Im on 5.1
Пікірлер: 96