Create Grenade Launcher

screen

So far we were using instant fire methodology. Now it comes time to improve BaseWeapon to be able to shoot with projectile.

  • Fire projectile instead of instant fire,
  • Possibility to choose which fire type weapon have,
  • Creating launcher projectile,
  • Doing radius damage,
  • Add impulse to ragdoll on explosion,

This will be more advanced post but working with projectiles is fun!

Continue reading

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