Working alone on a game is really hard sometimes. For example I’ve bought K-Spree GUI and I don’t have weapon icons for UI. I would like to show you guys how to use Unreal Engine 4 features to create icons from 3d meshes.
Goal: Create weapon icons from 3d assets,
Have one level to configure everything to create icons,
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,
BasicWeapon blueprint now supports a lot but it isn’t supporting automatic fire like assault rifles have. It will be really simple to implement now.
Rifle should use automatic fire,
We will use existing functionalities to drive this weapon,
Basically I will implement almost all of the weapons from Military Silver Pack and then move forward with gameplay. I want to have BasicWeapon functionalities fully implemented and tested out.
In earlier post we have added shooting functionality for base weapon. Now let’s upgrade this class to support Shotgun that came with Military Weapons Silver package.
Shotgun will fire more bullets than other weapons, (Burst functionality)
Its single shoot shotgun with automatic reloading, (custom reload functionality)
Spread will be different,
Impulse for ragdoll will be different, (Add ImpulsePower to BaseWeapon)
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,