03.1 Weapons ‐ Ranged - dylogaming/CombatComponent GitHub Wiki

image

Projectiles

Ranged weapons utilize the "Shoot" attack and spawn bullets within the montage

image

The BP_AN_Projectile notify spawns a projectile class and can control the speed of the bullet

image image

Particles

If you open the logic of the BP_AN_Particle notify, you can see that bullets spawn from the bullet variable of our weapon

image image image

In your weapon blueprint, you can specify the socket where the bullet generates from

image image
image image

The way this logic is set up, you can duplicate the same shoot animation, and assign different projectile classes for different weapons