How to Create a Combat System in Unreal Engine 5 - #3 Tutorial

  Рет қаралды 32,328

Gorka Games

Gorka Games

Жыл бұрын

Hello guys, in this quick and simple tutorial we are going to continue making a simple melee combat system in Unreal Engine 5.
Episode 1: • How To Create a Combat...
Episode 2: • How to Make a Combat S...
Enemy AI tutorial: • The Easiest Way to Mak...
Health Tutorial: • How to Make a Simple H...
Follow me on Twitter: / gorkagames
Subscribe to the channel: kzbin.info/door/v_n...
unreal engine 5,ue5,combat,combat system,tutorial,quixel,megascans,unreal engine tutorial,melee,ue5 combat,ue5 combat system,unreal engine combat system,unreal engine 5 combat system, unreal engine 4 combat system,unreal engine 4,ue4

Пікірлер: 64
@breakdancerQ
@breakdancerQ 5 ай бұрын
Followed this serie the last couple days, with close to no knowledge about enemey systems and I learned a ton in a relatively short amount of time! Congratz on the way you've came, you talked about reaching 1k subs in this video and now a year later youre almost 70k lol
@evgenijdenisov
@evgenijdenisov Жыл бұрын
After you set a variable, you don't have to get it from the source again. The "Set" node has its output. And when you get the same value more than once, you don't have to place several "Get" nodes, just reuse them. PS. "Coostom tarjet".
@bubblejuiceTV
@bubblejuiceTV Жыл бұрын
Thanks your videos are really helpful :)
@GorkaGames
@GorkaGames Жыл бұрын
thank you I really appreciate it!
@ApocalypsFroid
@ApocalypsFroid Жыл бұрын
@@GorkaGames Can you add next video to Dead animation to player with animation and screen reload
@poczy4200
@poczy4200 4 ай бұрын
got so far into this amazing tutorial but unfortunately have came to a halt, at 6:11 I have done these instrutions but cant see no damage being given or actor failing once dead, anyhelp
@GAMarine137
@GAMarine137 3 ай бұрын
I changed it so the enemy health bar holds a reference to the enemy object. That way, it can get the actual per instance percentage
@hype._.
@hype._. Жыл бұрын
Thanks :)
@andrea11609
@andrea11609 5 ай бұрын
I don’t know why but after adding the sphere and everything after that in the Enemy BP, when the enemy attacks my character it dissapears and his health goes from 95 to 0
@nessieloch5564
@nessieloch5564 5 ай бұрын
same
@r2cd391
@r2cd391 10 ай бұрын
hi i did everything but when i hit the bot it doesn't die it's getting damaged but it doesn't show me on the screen that it's getting damaged
@xXJAYSANXx
@xXJAYSANXx Ай бұрын
So i have been following a long to quite a few of these videos and they have been a big help. I just did this one where my enemy now has the health bar. But when i put multiple enemies in my level they seem to all share the same health. So after i kill the first one all the other ones health bars are just grey. i can still fight and kill them but they have an empty health bar. Any help or tips on this would be great. Also can i simply duplicate my enemy blueprint, rename it and just make them look a little different? i want to have some variation in my enemies or at least one bigger version of my enemy as a basic boss.
@user-ue7hl7pj6t
@user-ue7hl7pj6t Жыл бұрын
감사합니다.. thank you!!
@GorkaGames
@GorkaGames Жыл бұрын
Im glad it helped!!
@spr4y0
@spr4y0 8 ай бұрын
when are you doing another episode
@janamohamed7422
@janamohamed7422 Жыл бұрын
hey! your tutorial is really helpful! I've succeeded in making the enemy (my imported monster) to chase the player from your enemy ai video, but the animations of the attack and the ones i display when the enemy hits and when it is hit don't work unless the player runs away from it, if the player is standing for example, the enemy doesn't do a clear punch like yours, it kinda loops over the first few frames and looks weird like it's lagging. I need to fix this asap, do you know what might be the problem? note: the blueprint is exactly like yours except for the different enemy and animations, also the apply damage from the enemy to the player works just fine but the attack animation is what works awfully with me. also, how can i decrease the chasing speed? please reply as soon as you can, it could save my project
@__a.b.e.l__
@__a.b.e.l__ Жыл бұрын
The chasing speed can be modified in your Bp_EnemyAI (or the name u chosed), you just select Character Movement on components and put around 450-500cm/s in Max Walk Speed, so it has more or less the same pace as your character does.
@thomashealy5990
@thomashealy5990 Жыл бұрын
if I make my player ragdoll on death with a 10.0 sec delay before I destroy actor (corpse decay timer) but only 3.0 sec delay to respawn so I can see my dead player for 10 sec, my issue is when killed by this enemy my game respawns me twice leaving a copy of me at the spawnpoint. my instakill keybind however only respawns me once, as is intended. any clue why?
@sfadude9966
@sfadude9966 4 ай бұрын
weirdly sometimes the hp bar doesnt update, but it does damage and destroys when reaches 0. Any idea how to fix it? i think is random... and if I put again the enemy, the health bar will work againnormally. ty
@JaimeRdzClaves
@JaimeRdzClaves Жыл бұрын
Amazing!!!, I have a question, if u have more than one enemy how u would put independent hp bars cause im trying and its weird cause the two enemys had independent hp and hp bars butbut the hp bar goes down in joint
@GorkaGames
@GorkaGames Жыл бұрын
Thanks!! Yeah so if you want to have multiple enemies you have to cast directly to the owner. So in 8:45 you can see that I added a get all actors of class node, basically remove that and plug directly the get owner into the cast, hope it helps!!
@deheane
@deheane Жыл бұрын
@@GorkaGames Could you say the component names for this? I'm a beginner so I don't know how to do this :(
@egvelho
@egvelho Жыл бұрын
@@deheane I'm having the same problem, did you manage to solve it?
@BlamekTM
@BlamekTM 2 ай бұрын
@@egvelho and did you found the solution?
@BlamekTM
@BlamekTM 2 ай бұрын
@@GorkaGames I didin't understood it neither, could you explain it again please?
@sergehountangni6991
@sergehountangni6991 Жыл бұрын
very cool ! Is it possible to dock the enemy health bar in the opposite corner?
@GorkaGames
@GorkaGames Жыл бұрын
of course, inside the widget you can customize it as you like! But the enemy`s health bar is in his head, so do you mean the player's health bar?
@sergehountangni6991
@sergehountangni6991 Жыл бұрын
@@GorkaGames i mean the enemy AI health bar, I see a lot of videos with the enemy's health bar is in his head. So I would like to know if it's possibile to change the location to have something that looks like a fighting game HUD 😃
@GorkaGames
@GorkaGames Жыл бұрын
@@sergehountangni6991 Oh yeah thats easy! Just delete the widget component in he's blueprint,, then just at the Event Begin Play of the Enemy blueprint just create a widget node with that widget class, then added into the viewport. The you will need to go into the widget and change its position to be in the corner :)
@sergehountangni6991
@sergehountangni6991 Жыл бұрын
@@GorkaGames thank you so much, i will try it as soon as possible 💥💥😀
@thomashealy5990
@thomashealy5990 10 ай бұрын
ive been trying to fix this for weeks hy enemy hits itself whenever it hits me we die at the same rate please give me an idea Fixed sphere was overlapping itself so I added the enemy to the “actors to ignore” in the sphere.
@OfficialFutureRoyale
@OfficialFutureRoyale 2 ай бұрын
How did you manage to do that? Would be very helpful if you could back to me soon.
@ismokememes7316
@ismokememes7316 4 ай бұрын
How do i hide red lines ingame?
@vincentle6003
@vincentle6003 Жыл бұрын
Not sure what's going on but I can hit the no AI dummy from the first combat system video but I can't hit the one from this video. The line trace seems to go through it without detecting a collision but it detects collisions on other actors and registers and turns green when hitting the original dummy
@vincentle6003
@vincentle6003 Жыл бұрын
Nvm remember to turn on blockall for collision, don't leave it under pawn. Pawn collision preset ignores trace responses
@GorkaGames
@GorkaGames Жыл бұрын
Ok, Im glad you could solve it, yeah sometimes you have to customize the collisions so that the camera is set to block
@howdragonborn8237
@howdragonborn8237 Жыл бұрын
nice
@Tzerox2.0
@Tzerox2.0 Жыл бұрын
@@vincentle6003 Thanks bro !!!!!!
@showermj
@showermj Жыл бұрын
@@vincentle6003 same problem, many thanks!
@BrunoWBaldoin
@BrunoWBaldoin Жыл бұрын
I have followed all your steps and it works great for me, but the enemy's health bar widget does not work, it drops everything at once when it lacks a hit to destroy the actor, the string works great for me, I see that the amount of damage that I put on it, do you know what it could be?
@GorkaGames
@GorkaGames Жыл бұрын
hmm, it could be that in the health Bar`s Widget, in the percentage binding, you didn't divide the final value correctly by your max health
@BrunoWBaldoin
@BrunoWBaldoin Жыл бұрын
@@GorkaGames You were right, I had missed it, thank you very much for your very kind response, your tutorials are very good, keep it up B)
@user-sb3ug5dz2x
@user-sb3ug5dz2x 5 ай бұрын
Hi deoes this work in unreal engine 4.27.2
@Deepweb123
@Deepweb123 5 ай бұрын
Every time the enemy hit me, he gets damaged too Any help ?
@Loll1xx
@Loll1xx 2 ай бұрын
Help, after I added everything I needed in Blueprint, as in the video, nothing happened, the AI I created just ran after me and hit without causing any domage, even though everything was done as in the video, I`ve been sitting on this all day and nothing works, can you help with anything?
@rhythmicbutter214
@rhythmicbutter214 Ай бұрын
connect the array element from "for each loop with break" to damaged actor on "apply damage" Im still a noob so im not sure if this will fix your problem
@paluxyl.8682
@paluxyl.8682 2 ай бұрын
I got a question about the bodyparts of the actor and enemies. Is it possible to part the body to "damage sections" like lower arm, upper chest, right knee or just the nose ? For example: - if the right leg of the actor was attacked a lot it switches to that he is now only able hobbling with the right leg. - if the nose was attacked it results to nosebleeding. - if the right arm was attacked it's not possible to hold a weapon with that arm. And an other question is, if it's possible to to asign "damage sections" ... is it possible to set a timer how long an effect lasts ? For example the right arm was attacked and stays wounded for 5 minutes and in that time it's not possible to do anything with this arm.
@seanthiar
@seanthiar 23 күн бұрын
Yes, it is - there is a YT video about it -> hit detection per bone system It is for UE4 but I guess it should work similar in UE5
@paluxyl.8682
@paluxyl.8682 23 күн бұрын
@@seanthiar Thanks, I have watched and saved this video on my playlist. The video > hit detection per bone system, scratches just the surface ... I think what I'm looking for is much more complex. ^^
@seanthiar
@seanthiar 23 күн бұрын
@@paluxyl.8682 I think using the bone system is the correct way, but it would not do what you want with the normal skeleton Manny uses. You have to copy and modify that skeleton or use another skeleton. For example the Manny skeleton has no nose bone, so you can't hit it. Same problem with Mixamo. You have to rig yourself a skeleton or use one with more bones like the DAZ3d-Genesis skeletons that have a fully rigged face.
@paluxyl.8682
@paluxyl.8682 23 күн бұрын
@@seanthiar I have never thought that DAZ assets work in Unreal.
@seanthiar
@seanthiar 23 күн бұрын
@@paluxyl.8682 Just search for DAZ to Unreal - DAZ doesn't sell this bridge anymore, but the dev of the bridge still gives it away for free on his github site and has a YT video how to install the bridge. The actual version even supports UE 5.4
@afifyudhistira6552
@afifyudhistira6552 Жыл бұрын
hi why if the enemyai attack , my health decreased but enemy ai health is also decreased
@GorkaGames
@GorkaGames Жыл бұрын
it is probably hitting himself too. Do you have "Ingore Self" on th enemy`s Line Trace?
@akmalsyafiil7692
@akmalsyafiil7692 Жыл бұрын
@@GorkaGames where i can find enemy's line trace??
@jausin6705
@jausin6705 6 ай бұрын
Hi i'm having a problem to damage the AI, I can hit the dummy without a problem, Do you know what could be causing that?
@jausin6705
@jausin6705 6 ай бұрын
I made a damage box and in there he can recieves damage, but my character itself can't do it, maybe there is a problem with my character
@jausin6705
@jausin6705 6 ай бұрын
Just remembered that I forgot to put collision in blockAll, now it worked!
@ismokememes7316
@ismokememes7316 4 ай бұрын
This was very helpful @@jausin6705
@savorymanagement
@savorymanagement 9 ай бұрын
Love u
@GorkaGames
@GorkaGames 9 ай бұрын
😁
@projectportal7284
@projectportal7284 2 ай бұрын
My enemy character attacked me and suddenly disappeared... where did it go!:(
@khushishah1605
@khushishah1605 2 ай бұрын
Hey, ig it a common issue to face, just reduce the power of "sphere overlap actor" from 100 to 40 and it will work.
How to Make a Simple Health System in Unreal Engine 5
7:21
Gorka Games
Рет қаралды 51 М.
The Easiest Way to Make a Simple Enemy AI in Unreal Engine 5
15:40
Gorka Games
Рет қаралды 247 М.
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 68 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 138 МЛН
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 23 МЛН
I Made a Game in 24 Hours (UE5 AS A BEGINNER)
8:28
problemsome
Рет қаралды 104 М.
Recreating Spiderman's Web Swinging in Unreal Engine 5!
5:39
Area Of Effect Attack in Unreal Engine
5:00
That Skye
Рет қаралды 5 М.
How to Make a Random Enemy Spawner in Unreal Engine 5
5:48
Gorka Games
Рет қаралды 18 М.
Souls-Like Melee Combat Tutorial -  Target Lock On System [#5] [UE5]
26:14
Darklore Creations
Рет қаралды 5 М.
skibidi toilet 75
3:52
DaFuq!?Boom!
Рет қаралды 21 МЛН