UMG: Change weapon panel

This will be more advanced post but you will learn a lot about UMG->Blueprint communication. Here are my goals:

  • Draw all slot weapons informations,
  • Change weapons from UMG panel,
  • Will work on PC and Touch,
  • Player shouldn’t be able to choose weapon which don’t have ammo,
  • Player should see which weapon is currently equipped,
  • When choosing weapons do slomo and DOF effect,

Lot’s of great stuff do to!  Continue reading

Creating Sniper Rifle

sniperscreen

As I wrote earlier will try to implement all of the weapons from Military Silver Pack. Next in line is Sniper Rifle. Again we would need to implement new functionality to BaseWeapon – second fire. In this case second fire will trigger sniper scope.

  • Sniper Rifle should have zoom and sniper scope functionality,
  • I want to have “bullet time” effect triggered sometimes, (camera chasing bullet),
  • Use BaseWeapon functionalities to drive the weapon,

Lot of new stuff coming here.

Continue reading

How to do damage – advanced

There are lots of ways for dealing damages in games. I will do more advanced stuff:

  • Damage will be calculated from weapon and ammo type,
  • Critical Chance will be calculated,
  • I need to see what’s the damage and if there was a critical hit (UMG),
  • I need to see how much HP enemy have,
  • I want to have different damage depending on which body part I shoot, (eg head, leg etc)

Let’s gets started!

Continue reading