Тёмный
No video :(

Take/Deal Damage And Death | Decrease Health From Hunger, Oxygen, etc - Unreal Engine 4 Tutorial 

Matt Aspland
Подписаться 81 тыс.
Просмотров 11 тыс.
50% 1

Hey guys, in today's video, I'm going to be showing you how to decrease the player's health and deal damage based upon your hunger, oxygen, thirst, etc systems. This can also be used for any type of damage being dealt, for example attacks. It will also play a sound effect and kill the player if the health reaches 0.
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:19 - Tutorial
08:04 - Overview
08:31 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@BM_100
@BM_100 2 года назад
Great tutorials Matt. Keep it up. Learning a lot!
@pufisd
@pufisd 3 года назад
I was scrolling on your channel and found this,thx
@elianolivares2630
@elianolivares2630 Год назад
Great Tutorial!! Could you make a tutorial using this system and adding Health Regen when the "hunger" is full?
@stefanleroux8750
@stefanleroux8750 3 года назад
Thank you so mutch. 🤩🤩🤩🤩
@MattAspland
@MattAspland 3 года назад
No problem! :)
@JustZiReacts
@JustZiReacts 3 года назад
Awesome work❤ Can you make a tutorial for making the same mechanics using HUD?
@MattAspland
@MattAspland 3 года назад
Thank you! I can do that yeah :)
@nareice
@nareice 3 года назад
@@MattAspland Hey! Did you end up making this video? Looking to also add pickups that increase the health back to full whilst it's decreasing.
@michaelgibson5638
@michaelgibson5638 3 года назад
I've been looking all over. I really hope you can help me out. I've used this system, along with your fall damage. And all is good. I juat added a death animation once health hits 0. Problem is the animation stops on the first frame and resets to idle, and flickers between that and the first frame of the death animation... any ideas? *EDIT* got the flickering figured. I accidently had two update animations going for it and its was messing with which one to execute i thibk haha. But now he just freezes on first frame of death animation.
@TheF4c3m4n
@TheF4c3m4n 3 года назад
Great tutorial Matt! I have one question tho, Can it be used in the level blueprint instead of the Character BP? I am hoping this will work in a certain level that is harmful to the player. Thanks!
@MattAspland
@MattAspland 3 года назад
Thank you! And I suppose yes you could do that too, you could either create it in the Character BP and then call the function from the level blueprint by casting to the character BP, or just cast to the character in the level blueprint to access the player's health variable. Hope this helps :)
@cinomontague
@cinomontague 3 года назад
am i missing something here did we set up the other stuff in a previous video?
@patrikpoppopnapc3608
@patrikpoppopnapc3608 2 года назад
okay how do you make it stop hurting you edit: figured out a way to fix it: i just made it check if all situations to decrease hp are over and when they are over i made it make the damage 0 even though this is not a great solution it is still better then nothing
@_just.a.player_
@_just.a.player_ 2 года назад
Bro will this work in unreal engine 5 ?? Please reply....
@iTS._zay173
@iTS._zay173 3 года назад
could it be a float?
@fkmeta3479
@fkmeta3479 3 года назад
when I load up my game's main menu, it shows that my hunger is going down, can you tell me how to make the hunger mechanic to only work when I click play in my main menu, thx
@MattAspland
@MattAspland 3 года назад
Hey, is your main menu in a different level? If not, you could pause the game off of event begin play, and then unpause it after pressing start. This would prevent your hunger from decreasing, and other stuff you don't want to happen, from happening. Hope this helps :)
@fkmeta3479
@fkmeta3479 3 года назад
@@MattAspland actually my main menu is on another lvl, and when I press play it opens my game lvl, is it still possible to fix?
@MattAspland
@MattAspland 3 года назад
@@fkmeta3479 Absolutely still fixable yep. Are you spawning in your character in the main menu level then? If so, you don't want to. Also, make sure that in the game mode you don't have your character in there. You can see this by going to "Window>World Settings" and it will appear on the right. This is then under "Game Mode Override"
@Joel-bg3cf
@Joel-bg3cf 2 года назад
I don’t know how to make the format text editable…
@screenwritersonly6777
@screenwritersonly6777 2 года назад
Same...a few things missing in this tutorial it seems
@EmreCizmeci
@EmreCizmeci 2 года назад
how to make thirst,hunger with widgets
Далее
Sprinting And Stamina - Unreal Engine 5 Tutorial
17:00
▼КОРОЛЬ СОЖРАЛ ВСЕХ 👑🍗
29:48
Просмотров 464 тыс.
Brawl Stars Animation: PAINT BRAWL STARTS NOW!
00:52
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
How To Create Enemy Health Bars in Unreal Engine 5
17:44
Sprinting And Stamina - Unreal Engine 4 Tutorial
12:03
How I Remade MW2 with Unreal Engine 5
12:37
Просмотров 3 млн
Ladders: A First Person Climb in Unreal!
8:03
Просмотров 4,9 тыс.
Why Unreal Engine 5.4 is a Game Changer
12:46
Просмотров 1,2 млн
Make a 2D Top Down Game in Unreal Engine 5 - Tutorial
32:10
10 Unreal Engine 5 PLUGINS I can't live without!
9:37
Просмотров 498 тыс.
▼КОРОЛЬ СОЖРАЛ ВСЕХ 👑🍗
29:48
Просмотров 464 тыс.