Unreal Engine 5 Health and Damage System Tutorial [2023]

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 เม.ย. 2023
  • In this Unreal Engine 5 Health and Damage System tutorial, we'll learn how to create a health and damage system for our game. We'll use the Health bar and damage system to show the effects of injuries and damage on our character.
    If you're interested in learning how to create a health and damage system for your game, then watch this tutorial! We'll cover everything from creating the health bar to creating a damage system with death and respawn mechanics. By the end, you'll have a strong understanding of how to create a health and damage system for your game!
    Get 92% off all my game development courses:
    gameinstruct.com/
    Official Website ► gameinstruct.com/
    Discord ► / discord
    Twitter ► / pixelhelmet
    Facebook ► / pixelhelmet
    ----------------------------------
    Also available on Udemy 30-85% off this month:
    How to Make a FPS Game - Unreal Engine 5 Multiplayer (2024)
    www.udemy.com/course/ue5-mult...
    How to Make a 2D Clicker Game - Unreal Engine 5 (2024)
    www.udemy.com/course/make-a-2...
    Unreal Engine 5: Develop Your First Two Games
    www.udemy.com/course/ue5-twog...
    Unreal Engine 5 for Beginners - The Complete Course (2024)
    www.udemy.com/course/ue5-begi...
    Unreal Engine 5: Blueprints for Beginners
    www.udemy.com/course/unreal-e...
    How to Add Steam Multiplayer: Unreal Engine 5 Blueprint (2024)
    www.udemy.com/course/how-to-a...
    How to Publish a Game on Steam - Unreal Engine 5 (2024)
    www.udemy.com/course/ue5-stea...
    Simple Inventory System - Unreal Engine 5 Multiplayer (2024)
    www.udemy.com/course/ue5-mult...
    Unreal Engine 5: Complete Lighting Guide for Beginners
    www.udemy.com/course/ue5-ligh...
    Be sure to subscribe to our TH-cam Channel for actionable Unreal Engine 5 beginner tutorials:
    th-cam.com/users/PixelHelmet...
    #healthbar #damagesystem #unrealengine5 #indiegamedev #ue5

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

  • @PixelHelmet
    @PixelHelmet  ปีที่แล้ว +8

    Get my 4K high-quality courses on gameinstruct.com/
    Also available on Udemy 30-85% off this month:
    How to Make a FPS Game - Unreal Engine 5 Multiplayer (2024)
    www.udemy.com/course/ue5-multiplayer-fps/?couponCode=JUNECOUP
    How to Make a 2D Clicker Game - Unreal Engine 5 (2024)
    www.udemy.com/course/make-a-2d-idle-clicker-game-unreal-engine-5-blueprint/?couponCode=JUNECOUP
    Unreal Engine 5: Develop Your First Two Games
    www.udemy.com/course/ue5-twogames/?couponCode=JUNECOUP
    Unreal Engine 5 for Beginners - The Complete Course (2024)
    www.udemy.com/course/ue5-beginner/?couponCode=JUNECOUP
    Unreal Engine 5: Blueprints for Beginners
    www.udemy.com/course/unreal-engine-5-blueprints/?couponCode=JUNECOUP
    How to Add Steam Multiplayer: Unreal Engine 5 Blueprint (2024)
    www.udemy.com/course/how-to-add-steam-multiplayer-unreal-engine-5-blueprint/?couponCode=JUNECOUP
    How to Publish a Game on Steam - Unreal Engine 5 (2024)
    www.udemy.com/course/ue5-steam/?couponCode=JUNECOUP
    Simple Inventory System - Unreal Engine 5 Multiplayer (2024)
    www.udemy.com/course/ue5-multiplayer-inventory/?couponCode=JUNECOUP
    Unreal Engine 5: Complete Lighting Guide for Beginners
    www.udemy.com/course/ue5-lighting/?couponCode=JUNECOUP
    Be sure to subscribe to our TH-cam Channel for actionable Unreal Engine 5 beginner tutorials:
    th-cam.com/users/PixelHelmet

  • @502sniper1
    @502sniper1 ปีที่แล้ว +3

    watched dozen of videos and you are the only one that took it step by step thanks

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

    Thank you! Your tutorials and courses are the best!

  • @EliasHookttytfgftg
    @EliasHookttytfgftg ปีที่แล้ว +9

    Awesome tutorial bro, appreciate the step by step approach as always!

  • @learnit8169
    @learnit8169 7 หลายเดือนก่อน +2

    You are the best! THANK YOU! was banging my head around how i could pass the variables over! lifesaver honestly. Keep up the good work!

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

    No matter how many times I see it, It inspires me more and more.

  • @anatolio8689
    @anatolio8689 4 หลายเดือนก่อน

    Dude you're awesome, I can hear you clearly and follow right along

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

    Thank you so much for this educational video, I learned so much.

  • @sarahalmarsumi-nd7gp
    @sarahalmarsumi-nd7gp ปีที่แล้ว +1

    Amazing content!😍

  • @yolven2303
    @yolven2303 3 หลายเดือนก่อน

    I just started learning and making my own game. After going through about 50+ tutorials of different aspects of game creation from various sources. This is the first one that really explains everything and goes step by step in a good manner to help someone who is brand new. Thank you so much for this.

  • @noorn.1981
    @noorn.1981 ปีที่แล้ว +1

    Thank you for this useful tutorial 🙏

  • @natsudragneel7884
    @natsudragneel7884 8 หลายเดือนก่อน

    You deserve to be subscribed!!! such a great tutorial video after a long while. Good job keep it up🔥

  • @9751_
    @9751_ 5 หลายเดือนก่อน

    Thank you, very helpful and easy to follow; brilliant tutorial overall.

  • @sabahsurgeon-jt8bq
    @sabahsurgeon-jt8bq ปีที่แล้ว +1

    Very useful video, thanks for fantastic job.

  • @Albert-Freeman
    @Albert-Freeman 5 หลายเดือนก่อน

    Great tutorial, thanks

  • @aleksboboychev
    @aleksboboychev 8 หลายเดือนก่อน

    Thank you!

  • @GRNDBlade
    @GRNDBlade 11 หลายเดือนก่อน

    Muchas gracias por el tutorial, está perfectamente equilibrado 👌

  • @bzr1986
    @bzr1986 5 หลายเดือนก่อน

    you are amazing !

  • @nickarriola6094
    @nickarriola6094 ปีที่แล้ว +9

    Your tutorials are great! Thank you, and please keep them coming!

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

      Thank you very much for the nice words Nick!

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

    absolutely amazing great job! 👏🏻👏🏻👏🏻

  • @spoygg
    @spoygg 9 หลายเดือนก่อน

    Awesome tutorial. Got a genuine laugh when dead character started moving :D

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

    I was just needing to do this on a game, perfect timing!

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

      Awesome to hear that it helped Hector 😃

  • @bandit4493
    @bandit4493 4 หลายเดือนก่อน

    Thank you Sir

  • @AlistarBalauta
    @AlistarBalauta 5 หลายเดือนก่อน +1

    Thank you very much this was very helpful !

    • @PixelHelmet
      @PixelHelmet  5 หลายเดือนก่อน

      I’m glad it helped!

  • @inspioner
    @inspioner 11 หลายเดือนก่อน

    wonderful guide, do you have some guides about ,melee combat system or some RPG mechanics?

  • @TechcrusaderYt
    @TechcrusaderYt 11 หลายเดือนก่อน

    glad I saw this version in recommended while watching the old version lol

  • @erichorton1440
    @erichorton1440 6 หลายเดือนก่อน +1

    This worked for me. I messed up a bunch. If it isn't working, try again guys. It's easy to miss the smallest thing.

  • @chrispaterson3003
    @chrispaterson3003 7 หลายเดือนก่อน

    If for some reason like me, you can use player start, make an actor call respawn point, and place that where you would like to respawn.

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

    OMG thank you for this. I've been trying to cast to the player inside the widget like we used to in UE 4 and apparently that doesn't work anymore or is bugged.

  • @retrowrath9374
    @retrowrath9374 17 วันที่ผ่านมา

    Thanks for this. it seems different for first person, can't get first person to die at all in 5.4 and I can only respawn.

  • @jaimemartinezlegaz944
    @jaimemartinezlegaz944 6 หลายเดือนก่อน

    Hi! First of all thanks for the tutorial. How would you handle the situation in which your death animation makes your camera/character move inside a wall?

  • @mcg3334
    @mcg3334 8 หลายเดือนก่อน +1

    Fantastic tutorial. Earned yourself a sub. Very clear and easy to understand.

  • @hashimshah7732
    @hashimshah7732 4 หลายเดือนก่อน

    Will you please make part two of this video a healing system where when i pick up the health it will show in my inventory and there i can use my health anytime

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

    What if I have other player starts for traveling to other areas? Now when my player dies he respawns at the other player start, not the one I want him to

  • @Jon-zh8hz
    @Jon-zh8hz 4 หลายเดือนก่อน

    Can you also do a tutorial for mana, I learned from you how to give my character an HP bar and stamina bar and now I'm trying to learn how my character also gets a mana bar
    Your tutorials were great to learn

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

    for some reason whenever i first take damage i go down to 25 out of 100 (pain cube only set to deal damage 25), then 0 on the next. how do I fix so it only takes away 25 instead of going to 25?

  • @ndiritu_nyakiago
    @ndiritu_nyakiago 15 วันที่ผ่านมา

    what's the data type of New anim to play. I want to make it dynamic and pass a variable but wont promote to variable

  • @gamesstreamer2153
    @gamesstreamer2153 9 หลายเดือนก่อน

    good i do this and its working but i have some atacking animations setup on left click and after death im still can atack how i can disable this plis help

  • @pedropulido5813
    @pedropulido5813 2 หลายเดือนก่อน

    Question: you created two sets of variables for current health and Max Health. Was it possible to only use one set?

  • @aaronhuhtala3296
    @aaronhuhtala3296 7 หลายเดือนก่อน

    i did this in firstperson template and my mesh character animation class is set to none and i cant find the ABP Quinn class, can i create it or how can i continue?

  • @jahvinio
    @jahvinio 3 หลายเดือนก่อน

    how can i add a death screen?
    when i tried to do it the health bar doesnt work anymore

  • @Rose-rx7ly
    @Rose-rx7ly 8 หลายเดือนก่อน

    This video was released on April 20th, and it has 420 likes. Congrats, you win the internet :D !

    • @PixelHelmet
      @PixelHelmet  8 หลายเดือนก่อน +1

      I don't know if this is a good sign or a bad sign

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

    you can grab the anchor too

  • @Pendif
    @Pendif 25 วันที่ผ่านมา

    i got to 15:49 and when i go into the paincausingvolume i have it set to damage 1 per second and max health 100 but it says i have 0 health on the first tick what should i do

  • @DDutta-rx2ri
    @DDutta-rx2ri 6 หลายเดือนก่อน

    Thank you for tutorial. But I have got health bar bug. After health damage it shows health points. Otherwise, it shows 0 value. How I can fix this?

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

    I've got a serious problem, I'm unsure if something is overlapping and I'm desperately trying to figure it out but although everything displays correctly, the pain actor does nothing at all

  • @mrDizzy-fw4zj
    @mrDizzy-fw4zj 4 หลายเดือนก่อน

    For some reason the numbers on my health bar don’t update they remain at 100? Any idea how I could fix this

  • @sedorv-
    @sedorv- 9 หลายเดือนก่อน

    I did it, but there is an error in the bar in Multiplayer, how can I fix it?

  • @poisonix5487
    @poisonix5487 2 หลายเดือนก่อน

    My third person character blueprint looks different, any suggestions?

  • @noblestruggle108
    @noblestruggle108 5 หลายเดือนก่อน

    This is awesome! Does anyone else get the issue after respawn that the viewport updates but the actual life does not?

    • @noblestruggle108
      @noblestruggle108 5 หลายเดือนก่อน

      Fixed it! I tried a rag doll death style and that was the issue.

  • @braindead2813
    @braindead2813 5 หลายเดือนก่อน

    It is crazy how counter intuitive everything is.

    • @arnerademacker
      @arnerademacker 4 หลายเดือนก่อน

      Seems pretty straightforward to me, what are you struggling with?

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

    I got this error message: "accessed none trying to read property WB Main" is there anyone who's able to help?

  • @EDHD
    @EDHD 5 หลายเดือนก่อน +1

    ive setup everything like the video but my health when i print jus says 0.0 help please

    • @n3meziz
      @n3meziz 3 หลายเดือนก่อน

      i am having the exact same problem

  • @hashimshah7732
    @hashimshah7732 5 หลายเดือนก่อน

    How to stop camera movement when player is dead

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

    hello, i’d like to suggest somthing and its up to you, a 2D game with enemys and guns and the only way to move is shooting the gun on the ground or the wall, example for enemys:
    birds that when they touch you you get thrown away or birds that drop bombs and explode after a timer
    if yes then please reply if its gonna be a course or a tutorial, if it’s a course i’ll be the first one to purchase it, if no then i’d like to see that gun system where you shoot the ground and you go high etc i think you got it, and a jump charge system please (2D)
    -biggest fan :)

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

    Please I am really needs your help. If you making this tutorial I will so grateful for you and supported you! Please..
    You can make a tutorial about a character from the ground picking up some weapons and using them. Different weapons sword, pistol and axe. And each weapon will have its own animation without the inventory system, but each weapon will be activated with buttons. For example the Q button of the gun and the R button of the ax and the T button of the Hammer to attack. Like in Bloodborne, dmc and dark souls

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

      Hi Roy, this is already done in my Multiplayer Shooter course which can be found on pixelhelmet.com

  • @atomichaeleditz
    @atomichaeleditz 3 หลายเดือนก่อน

    MY CHARACTER STAYS LYING DEAD ON THE GROUND WHERE THEY DIED AND JUST THE CAMERA RESPAWNS. HELP PLEASE

  • @tssirivantalu4188
    @tssirivantalu4188 8 หลายเดือนก่อน

    💯🏋️

  • @gaminggutta1686
    @gaminggutta1686 5 หลายเดือนก่อน

    It didnt work with multiplayer?

  • @hashimshah7732
    @hashimshah7732 5 หลายเดือนก่อน

    How to heal

  • @viniciusnoyoutube
    @viniciusnoyoutube 6 หลายเดือนก่อน

    Why not use binding to update the value?

    • @PixelHelmet
      @PixelHelmet  6 หลายเดือนก่อน

      Because binding runs 60 times a second to update your text even when it’s not needed. This is not good for performance. We only update the UI when we need it through SetText and SetPercent etc. Binding is running 24/7.

    • @viniciusnoyoutube
      @viniciusnoyoutube 6 หลายเดือนก่อน +1

      @@PixelHelmet Thanks!

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

    Fall damage?

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

      I’ll try to make a video on how to do fall damage.

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

    HOW CAN YOU MAKE IT THAT YOU CAN RESPAWN LIKE 5 TIMES AND THEN DONT RESPAWN ANYMORE

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

      You can make a new integer variable called for example RespawnCounter. Then every time you die, you take this integer and add 1 to it. And then before respawning, you can ask if this RespawnCounter variable is larger than 5. If it is, don’t do anything. If it’s not, respawn.

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

      @@PixelHelmet THANK YOU FOR THE REALY QUICK ANSWER

  • @CosmicRiftYT
    @CosmicRiftYT 7 หลายเดือนก่อน +1

    its just saying 0.0

  • @bigfetcatsshow8693
    @bigfetcatsshow8693 2 หลายเดือนก่อน

    Thank you but how can I make so that my character gets health from chest