Page 1 of 1

Projectile behaviour when homing (and not)

Posted: Fri Nov 03, 2023 9:50 am
by Stringweasel
Just some information that I figured out which cost me an few headscratches, which could be part of the documentation for https://lua-api.factorio.com/latest/pro ... otype.html. I believe this could be part of the general description at the top.
Projectiles have two modes, homing, or not homing.

When in homing mode only one projectile can home to a single target, which can cause projectile turrets to not launch another projectile if the first projectile missed the target. When in this mode the projectile doesn't need a collision box.

When not in homing mode the projectile needs a collision box.
Something I'm unsure of, when the projectile never collides with anything, will it travel forever?

Re: Projectile behaviour when homing (and not)

Posted: Sat Nov 04, 2023 2:06 pm
by Stringweasel
Also, https://lua-api.factorio.com/latest/typ ... #max_range
This is the maximum range this projectile will travel after which it will expire.