How to make single-shot laser beam for handweapon?
Posted: Wed May 17, 2023 4:03 am
I didn't find information about that and try it with existed code examples from game. With mods of laser hand weapons, I found only what used tracer instead of beam texture.
With ready game example in laser turret, I have laser beam, but this not have sound, and it casts from player's head + some other bads, like "infinity beam" (when hold attack button) etc.
With projectile type, I have all what I need, but not have laser beam visualization and don't know how to make it workable. How I can place single-shot beam from weapon to target with projectile type of attack_parameters?
Just current lasguns without beams:
With ready game example in laser turret, I have laser beam, but this not have sound, and it casts from player's head + some other bads, like "infinity beam" (when hold attack button) etc.
With projectile type, I have all what I need, but not have laser beam visualization and don't know how to make it workable. How I can place single-shot beam from weapon to target with projectile type of attack_parameters?
Just current lasguns without beams: