Save/Load Player Stats - Unreal Engine 4 Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ย. 2024

ความคิดเห็น • 61

  • @QuagmireSimps0n
    @QuagmireSimps0n 3 ปีที่แล้ว +4

    Why have you stopped making videos these are amazing and they always work and I always use your tutorials for my main menu and every

  • @justapolitecommenter351
    @justapolitecommenter351 6 ปีที่แล้ว +1

    I usually don't follow blueprint examples this easily, and I also tend to learn from BP and translate the flow later into coding because no matter, I just can't wrap my head around BPs. This was surprisingly simple, understandable and very well explained. Thank you!

  • @evechannel8076
    @evechannel8076 5 ปีที่แล้ว

    The best save and load system tutorial, simple explanation and it works like a charm!! Thankyou to create this tutorial, I spend all day to follow other save and load tutorial at youtube but is not going well until I found this video. Thankyou~ 😍👍👍💕💕

  • @lendo182
    @lendo182 4 ปีที่แล้ว +4

    I dont have this PlayerInfo dropdown in the Variables Tab in die Player Blueprint where the 2 variables are stored. Can you help me with that ?

  • @ege.the.engineer
    @ege.the.engineer 3 ปีที่แล้ว

    Really cool, and also we can save our players' coordinates and rotation values, so with that when a player quit and enter again, (s)he spawns at the exact position and rotation where (s)he leaves.

  • @portalj123
    @portalj123 3 ปีที่แล้ว

    i watched a few videos and they were very helpful, sad you suddenly stopped posting :(

  • @MartKart8
    @MartKart8 2 ปีที่แล้ว

    The only part that was confusing was where was the player coins was actually connected to, as in this video the health is show off in an event tick. How exactly is player coins code being called from, as I only see a variable name at the side, so I'm so confused, I know its from a widget, just I can't seem to call it at all.

  • @schumirc2
    @schumirc2 7 ปีที่แล้ว

    CodeViper só tenho que agradecer imensamente pelo seu tutorial, resolvi meu problema em salvar meus status ou carregar outro nivel, cara muito OBRIGADO MESMO! Continue nós ajudando sempre.
    CodeViper just have to thank you immensely for your tutorial, I solved my problem in saving my status or loading another level, very much THANK YOU! Keep us helping each other.

  • @Khytau
    @Khytau 7 ปีที่แล้ว +5

    I know it's not the subject of the video but isn't it time consuming to check the player health at each frame rather than, say, only when you update his health ?
    Anyway great video, thanks. =)
    Any ressources on how to avoid save files alteration cheats and how to handle saving/loading from a server in multiplayer games ?

    • @CodeViper
      @CodeViper  7 ปีที่แล้ว +6

      You are correct. The optimal setup would be to create an "UpdateHealth" function that also kills the player if the health drops below zero. I didn't really put much thought into efficiency since this video was the project's only purpose but nice observation.
      Creating a tutorial for secure game saving in multiplayer is a good idea. Will definitely add that to my list of upcoming videos. Thanks for the suggestion!

    • @eye_scream_eye_scream
      @eye_scream_eye_scream 4 ปีที่แล้ว +1

      @@CodeViper hey my varaibles player health and coins need a target, what do i do?

  • @CristianRodriguez-dc4un
    @CristianRodriguez-dc4un 5 ปีที่แล้ว +2

    Thanks for the video, very useful. Do you have any tutorials of how to save the players FSP info / object in a DB... Thanks in advance

  • @benjaminbristow
    @benjaminbristow 6 ปีที่แล้ว +2

    I know a lot may have changed since this tutorial was made but i was wondering if anyone knew why "Set Player Info" wont plug into the return value of "Load Game From Slot"

    • @vvtfd1305
      @vvtfd1305 6 ปีที่แล้ว

      Yep, he should have added outdated method to the title lol

    • @hikmana
      @hikmana 3 ปีที่แล้ว +1

      just cast directly to SavePlayerInfo after load game from slot (skip the variable) UE4 4.26

  • @ranierduarte5078
    @ranierduarte5078 6 ปีที่แล้ว

    Simple and straight to the point. Nice and thanks!
    Subscribed

  • @3DAxisWorld
    @3DAxisWorld 7 ปีที่แล้ว

    Hey, i've created a Bp class wich needs the user to enter values & it works good & i need to package my project without the editor so i wanna know how can i add this possibilty of changing numbers in the main menu !! Thnks

  • @fullstackpoint5610
    @fullstackpoint5610 6 ปีที่แล้ว

    How you have given different colors to progress bar ?

  • @Henrikstips
    @Henrikstips 7 ปีที่แล้ว

    Do you have a Player Location save Tutorial? Because i want to save how many items player have picked up and where the location in the level was when it saves

  • @kinghados
    @kinghados 4 ปีที่แล้ว +2

    Your videos are so good were did u go?

    • @CodeViper
      @CodeViper  4 ปีที่แล้ว +2

      Thank you! I will be returning soon with a new channel.

  • @johncarney9049
    @johncarney9049 7 ปีที่แล้ว

    Is it possible to do the save/load game automatically without having to press a key ? I can't seem to find any information in that regard.

    • @AlenobaLP
      @AlenobaLP 6 ปีที่แล้ว +1

      Better have it save every time you pick up a coin/lose health/ do anything that is saved

  • @afisahaja
    @afisahaja 7 ปีที่แล้ว

    can you show me how to extinguish fire particle system with water particle system? assume first persion BP with sphere collision

  • @sergio-qt4iw
    @sergio-qt4iw 7 ปีที่แล้ว

    How could you prevent the collected coins to respawn when you die?

  • @mateuszslizewski2319
    @mateuszslizewski2319 7 ปีที่แล้ว

    Does it work in multiplayer? If not, can you make a video about this?

  • @danielvutran
    @danielvutran 7 ปีที่แล้ว +2

    OMFG SO HELPFUL!! TYSM!!!! Also it looks like saving ur game improved ur FPS to 60 ;D hahaha!

    • @CodeViper
      @CodeViper  7 ปีที่แล้ว +1

      Thanks! Yeah, I decided to go ahead and invest some cash in a high quality screen recorder. Will be recording at 60 FPS from now on! :)

  • @latvian_fallen_angel
    @latvian_fallen_angel 6 ปีที่แล้ว +1

    Thanks! Working really good in my game!

  • @adamokler3636
    @adamokler3636 7 ปีที่แล้ว

    Could you make a tutorial about how to have a character with health/ammo/food/water stats, that continue working when the character possesses a vehicle and then exits the vehicle? Every time I posses a vehicle I lose the character stats and when I exit it creates a new character instead of just always being the same character and having the stats keep running. I hope that I wrote this so you understand what I am asking. I am very new to programming and blueprints so any help would be greatly appreciated.

    • @CodeViper
      @CodeViper  7 ปีที่แล้ว

      I understand what you mean. I will definitely look into it and see what I can do.

  • @thecatvrix
    @thecatvrix 7 ปีที่แล้ว

    Nice videos man! Is is possible to make a tutorial on how to save the game world changes along with the player stats? Like if you collect a couple of coins, once you restart the level they wont be there... same as clearing a dungeon, once you reload the game, the monsters that you killed wont be respawned.

  • @vvtfd1305
    @vvtfd1305 6 ปีที่แล้ว +2

    Several compatibility issues in newer versions. Should either remake or remove keep people from wasting their time

    • @hugobiri3558
      @hugobiri3558 5 ปีที่แล้ว +1

      Dude I did this in unreal 4.21 and it worked, you must have made a mistake

  • @lukavekichannel
    @lukavekichannel 7 ปีที่แล้ว

    Will this work also with server side ?

  • @thehiddenone2875
    @thehiddenone2875 6 ปีที่แล้ว

    if i have my healt set as float does it have to be a float variable in the save game bp aswell or should i use a int inside of the save game

    • @suitoha9336
      @suitoha9336 4 ปีที่แล้ว

      Rather late, but yes, float or integer would work.

  • @crofieldgames
    @crofieldgames 3 ปีที่แล้ว

    Hay man thx you alot for this, it is helped me. And now can you make this for Timer countdown

  • @HullzOSRS
    @HullzOSRS 6 ปีที่แล้ว

    Just to save anyone on an updated engine version (I'm on 4.18), this currently no longer works. The player info can't be connected to Load Game from Slot any more.

    • @slovgoblin8165
      @slovgoblin8165 5 ปีที่แล้ว

      Just cast directly to Save player info from result instead of connecting to the saved variable

  • @2eea5y70
    @2eea5y70 6 ปีที่แล้ว

    Hi i love your video and its so mush helpful thanks you but can you just make a video to make a check point for a game to saves new player info for example our player health is 40 but when its load from check point its will be 40 not 100 something like this thank you

  • @crosshair20
    @crosshair20 6 ปีที่แล้ว

    Thanks men! you're really cool guy!!!)

  • @Whisper2Izanagi
    @Whisper2Izanagi 5 ปีที่แล้ว

    this worked perfect! now i just need to figure a way to place this into a Pause Menu, Blue Print Widget to save from On Clicked...its a struggle that i must figure out lol

    • @t0psher949
      @t0psher949 5 ปีที่แล้ว

      So. Do you did your saving in different places of project? And how i can realise saving in actor(not charapter) without pressing button(i can use only event begin play)

    • @Whisper2Izanagi
      @Whisper2Izanagi 5 ปีที่แล้ว

      @@t0psher949 Honestly, I haven't found a method to replicate it within a Widget Blueprint yet or without it being a Key. I just placed a question about it on UE4 AnswerHub, not sure if i'll ever get an answer for it lol, but i'm going to keep searching and will find it eventually!

    • @Whisper2Izanagi
      @Whisper2Izanagi 4 ปีที่แล้ว

      @@t0psher949 I've just found a method to save the players health within a widget blueprint using a button with this method! i'll be happy to try and explain it, if you haven't found it out yourself yet lol

  • @LeafyBreezes
    @LeafyBreezes 7 ปีที่แล้ว

    what are your pc specs? Just curious

    • @CodeViper
      @CodeViper  7 ปีที่แล้ว

      AMD FX-8370 CPU
      Nvidia 970 4GB GPU
      16GB Corsair Vengeance RAM

  • @MythxicalSky
    @MythxicalSky 4 ปีที่แล้ว

    i wish that this was as simple as Roblox saving systems... Great vid tho

  • @anonymoususer3883
    @anonymoususer3883 4 ปีที่แล้ว

    Thank you so mich

  • @radualex7960
    @radualex7960 7 ปีที่แล้ว

    I like you and please put more vids

  • @anhatthezoo5856
    @anhatthezoo5856 7 ปีที่แล้ว

    thanks a lot!

  • @nymaatra
    @nymaatra 7 ปีที่แล้ว

    thanks for this

    • @CodeViper
      @CodeViper  7 ปีที่แล้ว +1

      You're welcome!

  • @PietroSanta
    @PietroSanta 5 ปีที่แล้ว

    Doesn't work :(

  • @AvvaGen
    @AvvaGen 3 ปีที่แล้ว

    2021 not work!

  • @thomaslindeker1907
    @thomaslindeker1907 6 ปีที่แล้ว

    Hello i am a frensh and i love the youtuber (friend )

  • @Pac-bq2sn
    @Pac-bq2sn 5 ปีที่แล้ว

    Why u quited bro and stoped posting... Your videos used to be very useful

  • @MrMewati
    @MrMewati 3 ปีที่แล้ว +1

    Can you give me this channel

  • @ahmedsawy7266
    @ahmedsawy7266 ปีที่แล้ว

    Zero logic bruh, this gonna make infinite loop of collecting coins, what about making the player got only 3 respawns after that he loses and start from zero