First Enemy – Behavior Tree / Shooting at Player

This tutorial contains basic knowledge about AI / Animations . If you are interested in graphics and animation, go to this website and watch more such tutorials.  It may be complicated for beginners so please take your time to analyze the stuff before implementing. I will create first basic enemy and it will cover:

  • Behavior Tree: simple check where to go and go there if aren’t reloading,
  • Animations: blending legs with rest of the body (walking -> standing),
  • Animations: Playing Montages (reload animation and shoot animation),
  • Animations: Look At – enemy upper body will be always rotated to player,
  • Animations: TakeDamage effects without having animations,
  • Animations: Ragdoll,
  • AI: Ammo, Fire and Reloading,

So, let’s keep going! Continue reading

Weapons – shooting and reloading functionalities

In this post I will focus on shooting and reloading functionalities. Goals that I want to achieve:

  • I want to have easy method for shooting with different weapons such as the famous survival shotgun.
  • If my weapon doesn’t have ammo it should reload automatically,
  • I can reload my weapon whenever I want,
  • I won’t be able to shoot if I’m changing weapon,
  • Show some modifications with the upper parts for AR-15’s

In this post weapon won’t fire any projectile yet but you will learn more about blueprint communication, creating animations in blueprints and doing recoil directly in animation blueprint, also if you’re interested in firearms and shooting you can get experience in sites like Allaboutshooting online that will help you understand this better so you can apply it in your work.

Continue reading