XaiJu
CodeLikeMe

CodeLikeMe

patreon


CodeLikeMe posts

Unreal Melee Combat - NPC Strafe around player - UE4 Open World Tutorials #79

in the current implementation of the melee combat system in unreal engine 4, when an enemy NPC character saw the player, they will directly come towards the player and start attacking. Today, i am going to change that behavior in such a way that they will strafe around the player, move back and forth and attack. These behaviors will happen randomly so that the NPCs would look more like humans instead of bots.

View Post

Unreal Melee Combat - Animation Montage Interruption - UE4 Open World Tutorials #78

We have been using animation montages a lot to implement our melee combat system. Also, we have used anim notifiers inside animation montages to drive our system. Now, when another animation montage interrupt the montage currently being played, i faced some problems. This video is about those problems and how to solve them.

View Post

Updated Project Files - Enemy Death

This archive contains the latest update of the melee combat system with enemy death

View Post

Melee Combat system update 2019-01-21

The attached archive contains the up to date source code of the melee combat system we were working on in the tutorial series. 

View Post

Unreal Melee Combat - Backward Dodging Attacks - UE4 Open World Tutorials #77

We have already implemented a way to dodge attacks in previous episodes of our melee combat system in unreal engine 4. But it was not perfect and i was having issues with other systems like lock onto enemies. So, I am going to test a new dodging system to overcome those problems.

View Post

Unreal Melee Combat - Problems with dodging - UE4 Open World Tutorials #76


I ran into some problem between lock on enemy system and dodge attack system in the melee combat system developed in unreal engine 4. When I dodge, the character should rolled away from the enemy character. But if i try to dodge while i am locked onto an enemy, rolling happens towards the locked enemy. Today, I am going to find a way to prevent this.

View Post

Unreal Melee Combat - Dodge Attacks - UE4 Open World Tutorials #75


This time, I am going to add an attack dodging system to our melee combat system in unreal engine 4. The dodging input is same as the jump input. but when the character is near another enemy character, when we press the jump button, instead of jumping our character will be dodge into the opposite direction where the enemy character is.

View Post

Project Files Update - Dodging - 19-1-17

Here is the updated project with dodging implementation as for the date. 

View Post

Unreal Melee Combat - Look At Enemy - UE4 Open World Tutorials #74

For our melee combat system in unreal engine 4, we added the ability to block enemy attacks in last episode, in this case, player character has to rotate towards the enemy who is attacking us in order to block it. We have some problems in this rotate towards mechanism as I explained in the previous video. Sometimes, character doesn't take the shortest path to look at the enemy, as a result of that, characters rotate around them ion an odd manner. I am going to fix it in this episode. The next...

View Post

Combat System Source Code Update 2019-1-15

Updated Combat System Source Code is attached. 

This version includes,


- AI attacks

- Player can block attacks


View Post

Unreal Melee Combat - Blocking Melee Attacks - UE4 Open World Tutorials #73

We have already implemented a mechanism to make the character go to a blocking pose with his melee weapon in the combat system we are working on in unreal engine 4. But we haven't completed the logic to prevent enemy attacks damaging the character when in blocking mode. This time, we will complete that logic in such a way, when character is blocking, the character will move back due to the impact a little and spawn some sparks to show the weapon collision.

#unrealengine #ue4 #tutorials<...

View Post

Unreal Melee Combat - NPC Attack AI & Hit Range - UE4 Open World Tutorials #72

In the current version of the enemy attack AI we have developed in unreal engine 4 for our melee combat system, all they do is when ever they see an enemy, they run to the enemy and start attacking. They don't consider factors like the distance from them to the enemy when they are in fight. So, today I am going to implement a method where they calculate the distance from them to their enemy and only if the enemy is withing the hit range of their melee weapon, they will launch the attack.

View Post

Unreal Melee Combat - Blood Splatters on Ground - UE4 Open World Tutorials #71

Last time we added blood trails to the melee combat system we are working on in unreal engine 4. Today, we are going to add a new feature to that. when those blood particles of the trail hit the ground, they will spawn some splatters of blood on the ground. This will improve the look of our combat system. 

View Post

Unreal Melee Combat - NPC Attack AI - UE4 Open World Tutorials #70

Until now, what our AI characters can do is when they hear enemy footsteps, they look at that direction . When they see us, they come to us. Today, I am going to give them ability to attack the player. 

View Post

Unreal Melee Combat - Blood Trails - UE4 Open World Tutorials #69

In the last episode, we spawned a blood splatter particle at the impact point of the melee weapon with the characters body. This time, we are going to add a trail of blood when the weapon hit the opponents body. The blood trail will be spawned along the swing of the sword.

View Post

Master Leaves material (M_LeavesMaster)


View Post

Unreal Melee Combat - Blood Splatters - UE4 Open World Tutorials #68

Last time we implemented the hit detection system for our melee combat system developed with unreal engine. This time, let's add blood splatters to the system to make it more exciting. In this episode, I'll experiment on how to get the location of the blood particle to be spawned and when to spawn.  

View Post

500 subscribers to my humble youtube channel.

Thank you for your support. Expect extra awesome content in future. We are just getting started. 
https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q

View Post

Unreal Melee Combat - Hit Detection- UE4 Open World Tutorials #67

Last time, we implemented a collision based hit detection and reaction part for the melee combat system we were working on unreal engine 4. But the collision based hit detection part was not good enough for the combat system as it misses some hits. Since this part is critical for a #combat system, I wanted to add an improved hit detection system. This episode will cover how did I implement that part.

View Post

Unreal Melee Combat - Melee Hit Reaction - UE4 Open World Tutorials #66

Last time we added a way to attack the nearest enemy for the melee combat system we are working on in unreal engine 4. In this episode, we are going to work on hit detection part. When an enemy receives a hit, that means the sword hits an enemy, the enemy will show a reaction to that hit. We are going to experiment this with collision detection. 

View Post

Unreal Melee Combat - Attacking Nearest Enemy - UE4 Open World Tutorials #65

In this tutorial, I am going to implement a method to attack the nearest enemy. In this case, player is not locked onto any of the enemy characters and when the player press the attack button, the player character will trace the objects around him and get the closest enemy character. Then quickly rotates towards him while launching the attack. 

#UnrealEngine #UE4 #Tutorials

View Post

Unreal Melee Combat - Fixing Blendspace issues 2 - UE4 Open World Tutorials #64

In the last episode, we started fixing the animation blending issues in our character armed movement blendspace. But we couldn't finish it. Today also, we will continue to fix it. 

checkout my patreon for source code and more :

https://www.patreon.com/user?u=14996928

View Post

Unreal Melee Combat - Fixing Blendspace issues 1 - UE4 Open World Tutorials #63

In this episode, I am working on the character armed blendspace. We have some issues in this blendspace we have used such as sliding on the ground and not properly blending  animations. I will explore those problems and try to solve them.

checkout my patreon for source code and more :

https://www.patreon.com/user?u=14996928

View Post

Unreal Melee Combat - Lock onto nearest enemy - UE4 Open World Tutorials #62

We have already implemented fighting blendspace and also the AI characters can lock onto player or other enemy characters when they perceive another enemy with their senses. This time, I am going to show you, how to make the player character trace the nearest enemy character and lock on to him. In this demonstration, with the middle mouse button player can lock on/ off to the nearest enemy character.

View Post

Unreal Melee Combat - Fighting Blendspace - UE4 Open World Tutorials #61

In this #tutorial, I'm going to implement a fighting blendspace into the character of the melee combat system we are working on with unreal engine. When the character equip a weapon, it will go to the fighting mode and the character movement animations will be changed by blending a separate blendspace which defines character movement animations.

View Post

Unreal Melee Combat - NPC Lock On Enemy - UE4 Open World Tutorials #60

In this episode, I am going to implement the ability to lock onto an enemy. When the AI character see  an enemy character, it will be locked on to that enemy. When locked on, the character will always face the locked enemy independent from the direction of movement.

View Post

Unreal Melee Combat - Enemy AI Sight Perception - UE4 Open World Tutorials #56

In this episode, I am going to add an enemy character to our melee combat system developed with #unreal engine 4. This enemy AI character can see the player character with AI sight perception. When the enemy character see the player character, he will equip the sword and walk to the player.

View Post

Enemy AI Hearing Perception and sneaking behind enemies - UE4 Open World Tutorials #59

Last time we implemented enemy AI perception hearing component such that the enemy #characters will hear the footstep sounds when the player is walking near them. This time, we are going to extend that system when the player is crouching, the enemies wouldn't hear it. they will hear only when the player is not crouching. This will allow player to sneak to the enemy and take down it silently.

View Post

Unreal Melee Combat - Enemy AI Hearing Perception - UE4 Open World Tutorials #58

In the current implementation of our game, when an enemy character see the player, or another character who isn't belong to his team, it will draw the sword and come to the opponent character. This time, we are going to add AI hearing perception into enemy AI system. When the enemy character hear the footstep sounds or any other sound, he will check the sound location.

View Post

Unreal Melee Combat - Enemy AI Navigation Problems - UE4 Open World Tutorials #57

Last time, we implemented, when an enemy character see the player, or another character who isn't belong to his team, it will draw the sword and come to the opponent character. But the movement was a little jerky. In this episode, we are going to explore ways to fix that.

View Post