Page 1 of 1

projectile trails

Posted: Sat Dec 14, 2024 8:41 pm
by ownlyme
a big problem of factorio has always been the lack of shooting visualization.
ideally, each bullet would be it's own projectile and leave a trail of smoke, like the railgun does.
it's kinda possible to fake that, by giving the projectile an animation that includes the smoke trail.
the issue is, that when the projectile hits the enemy, the smoke trail disappears too.
i think this is not possible to do with the current attack parameter system

demo: https://mods.factorio.com/mod/ownlys_tracers

or maybe just add beautiful bullet trails to the base game

Re: projectile trails

Posted: Sun Dec 15, 2024 3:44 am
by curiosity
Good thing it's been possible (and, indeed, even part of vanilla) for a very long time already. Just look at rockets.

Re: projectile trails

Posted: Sun Dec 15, 2024 4:17 pm
by ownlyme
great idea, i found it

Code: Select all

projectile.smoke={{
      name = "smoke-fast",
      deviation = {0.15, 0.15},
      frequency = 1,
      position = {0, 1},
      starting_frame = 3,
      starting_frame_deviation = 5
    }}
let me see if i can make it look as good as the railgun smoke