[4.9.1] Energy Weapon (Laser Weapon)

So… if you know you need to use particles for your projectile, what exactly are you stuck on?

I know that to make a beam weapon you have to use particles, but, If I wanted a single-burst beam weapon?
EXAMPLE - STAR WARS BATTLEFRONT 3 (2015)

Is there a way to make somthing like this? I’ve tried using actors, let’s just say that I just saw my AI Character flying after that…

Thanks,
Alanzote

I am stuck on making it a single-burst, I only know about making somthing like this:

And I don’t have any idea about killing the player on collision…

So, what you would do is create a blueprint for your beam projectile. Within the blueprint, you assign it a particle emitter (the one you’re creating).

When someone fires the weapon which creates this laser beam, you spawn this blueprint and give it an initial velocity. Since its an energy beam, you can disable gravity.

You’ll also want to create some sort of collider volume. Then you want to intercept any overlap events. If something overlaps with the collider, you want to apply some amount of damage to the hit actor, turn off the beam emitter, and destroy the actor. Make sure that your collider is only generating overlap events, not hit events, and is not simulating physics.

Oh yeah, and with the weapon which is firing this projectile – that is where you would enforce the shooting mode (single shot, triple burst, etc), and apply cooldowns between shots.

uh… what kind of function should I use for the velocity?

Nevermind… Used Projectile Movement Component, it worked!

Thanks!