Unreal Engine 4 Tutorial - 3D Health Bar (NPC's)

  Рет қаралды 59,737

Tesla Dev (Gavin Milroy)

Tesla Dev (Gavin Milroy)

Күн бұрын

Пікірлер: 54
@hammerheadit6918
@hammerheadit6918 6 жыл бұрын
If anyone is having problems with the health bar staying at zero, the issue is a bug that is preventing the Tick from firing. There is a workaround by connecting the "Event BeginPlay" node to the "Set Actor Tick Enabled" node and set it to true.
@matthewboard7755
@matthewboard7755 9 жыл бұрын
just used this for 4.7.6 and it worked like a charm! Cheers!
@VoidOrchestra
@VoidOrchestra 9 жыл бұрын
Your tutorials, all of them, are extraordinarilly useful. However, a constructive comment, is that when you build blueprints, the nodes are always so far apart, that we can't get a grasp of the general idea in one pause of the video. You take too much space making your network, all nodes could be closer, and it would help us follow even more, by seeing all elements as you build. Thans again for all the videos.
@Champinoir
@Champinoir 10 жыл бұрын
Hi tesla, your tutorials are very clear and easy to follow, i just got two questions : how can i make the bar reduce when i touch the other character whith the "first person projectile" ? and how can i make that other character do an animation when the bar hits 0 ? Thanks for the tutorials, they are really great !
@michealholloway508
@michealholloway508 4 жыл бұрын
Bro amazing, i was struggling for hours, thank youuuuuuuuuuuuuu
@Kratoss870
@Kratoss870 9 жыл бұрын
Appreciate this, u just saved many hours of my time Thanks
@bobs8005
@bobs8005 10 жыл бұрын
Amazing tutorial. +1 Sub. Very easy to follow, thanks Tesla!
@chengyanslc
@chengyanslc 8 жыл бұрын
Good tutorial thanks! I could have thought this out myself but did not!
@samnater
@samnater 8 жыл бұрын
Very useful, thank you!
@martinds93
@martinds93 5 жыл бұрын
Is there a way to make this see from all sides? Or rotate depending of the view of the player while mantaining its scale and position in the world...
@BarbaNeggra
@BarbaNeggra 6 жыл бұрын
You helped me a lot! THANK YOU!!!!
@AceAmStiel
@AceAmStiel 6 жыл бұрын
could you do a tutorial on how to Only show health bar if the player is close to the enemy and can see it? it would be so helpfull :)
@josephrose7753
@josephrose7753 5 жыл бұрын
There's probably a better way, but how I manage this: Create a variable for the distance from enemy stored in the enemy blueprint. When within range, this can trigger creation of hud, out of range destroys it. Alternatively, you can add a collision "field of view" box on your main character. Begin overlap creates widget, end overlap deletes it. Hope this helps, cheers.
@wolf5659
@wolf5659 9 жыл бұрын
Tesla Dev The health bar isnt moving but when I hit the F button the health drops to 0 after a while, it only goes from full to 0.
@ferranneonghofreelancer8493
@ferranneonghofreelancer8493 7 жыл бұрын
Thanks for your tuts tesla
@gooddereklu
@gooddereklu 8 жыл бұрын
Hi! was wondering if you have tutorial of 3d widget infront of everything? I'm making a shooting game aim point, I'm making this in VR, so It's got to be on 3d widget, how can I make a 3d widget not being able to block?
@AtomDellow
@AtomDellow 9 жыл бұрын
Is there a way of setting up NPC health without using level blueprint, and Event Tick?
@ricksanders5177
@ricksanders5177 9 жыл бұрын
Thanks for this mate! Question though. Im trying to do something similar with enemy variables and widgets. However, I'm trying to make an RPG and I don't want the progress bar to be placed over the enemy's head. Rather, I want it to be placed at the top left of the screen via the main program blueprint. I can't seem to get it to work. Can you assist? Thanks!
@TheCreakyChair
@TheCreakyChair 10 жыл бұрын
Hi Tesla, Great work again. How could you use this to display TEXT above the character and not a progress bar, as I am only able to :get" progress bar, not text field. Cheers
@KelDG3
@KelDG3 7 жыл бұрын
You are a legend mate!
@hex.vagyok
@hex.vagyok 5 жыл бұрын
cewl! how to make it disappear by a distance? thanks!
@spinav
@spinav 10 жыл бұрын
Tesla you rock! Thanks!
@TeslaUE4
@TeslaUE4 10 жыл бұрын
Vspina vs Cheers Dude =]
@beezow7113
@beezow7113 7 жыл бұрын
How could you make this only appear if your crosshairs was hovering over / near the enemy
@chrisharrison4789
@chrisharrison4789 9 жыл бұрын
Subbed. Your videos are amazing man. But I do have a question. When I name the text block Health, the text is tiny. Thoughts?
@Velor5
@Velor5 8 жыл бұрын
What can I use instead of event tick?
@TheSpecula
@TheSpecula 9 жыл бұрын
Hey! Thanks for your tutorial! Do you know how I can display multiple Widgets on top of each other? My idea was implementing "Cards" like in Hearthstone (or any TCG) with Widgets, but unfortunaly the Z-order always depends on the distance to the viewer, so even if some cards physically lay on top of other cards, when the lower cards are closer to the viewer (because of some angles), this cards get drawn on top of the upper cards, resulting in very strange looking results. Also I would like to get some sort of hover-function: When the mouse hovers a widget, scale it up a bit. But I don't find anything that works properly. :( Do you have any ideas? :)
@SolarTara
@SolarTara 10 жыл бұрын
How would you do this for firstperson??
@spinav
@spinav 10 жыл бұрын
Hey, what UE4 version are you running? I created the WidgetBlueprint and when I go into my character blueprint, I dont have that component option. There's no Experimental: Widget Blueprint
@TeslaUE4
@TeslaUE4 10 жыл бұрын
Vspina vs It just got added with the 4.6 update.
@spinav
@spinav 10 жыл бұрын
Tesla Dev Ahh I'll get the update. Thanks!
@Mustafa4101996Ahmed
@Mustafa4101996Ahmed 8 жыл бұрын
My widget isnt appearing at all. I'm using 4.12.5
@BoyPorcelain
@BoyPorcelain 7 жыл бұрын
you have to make sure that when you're in the widget blueprint after creating the progress bar, go into 'progress' and set it to max. then it will show up in the characters viewport
@jackjones9962
@jackjones9962 7 жыл бұрын
Put the progress bar inside a border. Set the Horizontal and vertical alignment to fill, then resize the border as if it were the progress bar.
@kweenkyrene5637
@kweenkyrene5637 7 жыл бұрын
Little late, but might help others: Mine was rotated so I couldn't see it, It was like a straight line from my viewport, so all I had to do was rotate it along one of the axes
@TrickWithAKnife
@TrickWithAKnife 7 жыл бұрын
Personally I needed to go to the component list, select the widget, then in its details go to user interface and select the widget bp there.
@redknuckles7655
@redknuckles7655 6 жыл бұрын
set your ai to real time and it should show it self
@ID345891
@ID345891 9 жыл бұрын
Wait.. i haven't tried this yet, but from what i'm seeing, if you were to use this health bar on multiple AI's and shoot/hurt one of them, wouldn't all of the NPC health bars be affected if they all use the same one? meaning i would have to make a new blueprint widget for every new npcs that are spawned in the game? T_T
@ID345891
@ID345891 9 жыл бұрын
Charlie Bravo Nevermind, after trying it.. it actually doesn't affect the global setting of the widget but only the one on the AI. I still have a lot to learn, thank you for this tutorial.
@Thechosenone2621
@Thechosenone2621 10 жыл бұрын
you got a sub
@greninjagreg6245
@greninjagreg6245 8 жыл бұрын
Thank you so much!!!
@anlar1998
@anlar1998 9 жыл бұрын
What is Float / Float does i dont get it.
@LearnPhilFoundation
@LearnPhilFoundation 9 жыл бұрын
Ugur Anlar The variable type float, an approximation of a real number that supports a trade-off between range and precision. You are essentially dividing one float instance with another. TL;DR: Division
@4destined365
@4destined365 7 жыл бұрын
Doesn't work 4.15.3 , the health bar stays at 0%
@GHOSTYARD3
@GHOSTYARD3 7 жыл бұрын
I have the same issue, not sure if there is a fix to this :(
@jaxjoke3922
@jaxjoke3922 2 жыл бұрын
Thank you ! +1 like
@SurjikOFF
@SurjikOFF 7 жыл бұрын
Great! Thx!
@AlFredo-sx2yy
@AlFredo-sx2yy 7 жыл бұрын
so i did all of what you did and... i doesnt show up in game! :D
@devts5894
@devts5894 7 жыл бұрын
Thank you!!!!
@zacsamuel9780
@zacsamuel9780 7 жыл бұрын
This doesn't work in 4.15, so might be time to take it down.
@josh_mak
@josh_mak 7 жыл бұрын
Still works, zoom way out and rotate your object 90 degrees. My health bar was massive when trying this.
@schumirc2
@schumirc2 8 жыл бұрын
THXXXXXXXXXXXXXXXX
@ThePixelitomedia
@ThePixelitomedia 7 жыл бұрын
14.5.3 I got no FLOAT / FLOAT ???
Unreal Engine 4 - AI Damage Player
11:58
Titanic Games
Рет қаралды 96 М.
UE4 Tutorial - Health Bar + 2 Ways to Take Damage
22:13
Ben Ormstad
Рет қаралды 58 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Unreal Engine 4 Tutorial - AI Behaviour Tree
22:34
Tesla Dev (Gavin Milroy)
Рет қаралды 62 М.
Unreal Engine 4 Tutorial - Interaction & Interfaces
8:34
Tesla Dev (Gavin Milroy)
Рет қаралды 34 М.
Unreal Engine 4 Tutorial - AI Pawn Sensing
3:22
Tesla Dev (Gavin Milroy)
Рет қаралды 56 М.
Unreal Engine 4 - Creating a Health Bar and Health Regen
11:17
Good Pie Tutorials
Рет қаралды 51 М.
Creating A Main Menu - #51 Unreal Engine 4 Beginner Tutorial Series
11:44
Virtus Learning Hub
Рет қаралды 290 М.
Unreal Engine 4 Tutorial : Loading Screen / Level Transfer
12:18
Totally Unreal
Рет қаралды 99 М.
Unreal Engine 4 Tutorial - Widget Interaction Component 4.13
4:45
Tesla Dev (Gavin Milroy)
Рет қаралды 42 М.
Unreal Engine 4 Tutorial - Text face player
4:00
Tesla Dev (Gavin Milroy)
Рет қаралды 48 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН