Page 1 of 1

Not possible to remove homing from attack_parameter based projectiles?

Posted: Fri May 22, 2020 7:56 am
by swizzlewizzle
So, very surprisingly to me, I don't see any field for turning on/off the homing property that all "projectile" based action delivery methods seem to have by default. (this is in attack_parameters for a unit).

I'm using projectiles to simulate AOE sweep attacks in melee, and obviously, that's impossible if all the projectiles meant to simulate the "sweep" home directly into their target...

Is there any way to disable or get around this default homing behavior somehow?

Re: Not possible to remove homing from attack_parameter based projectiles?

Posted: Fri May 22, 2020 9:08 am
by Klonan
You can set the projectile to target a position in the attack parameters, rather than an entity

And you can also set the projectile 'direction_only = true' in the prototype:

https://wiki.factorio.com/Prototype/Projectile

Re: Not possible to remove homing from attack_parameter based projectiles?

Posted: Fri May 22, 2020 12:26 pm
by swizzlewizzle
Direction and entity based targeting both default, and are locked too, the homing behavior.

direction_only = true seems to work, but it definitely isn't intuitive that it would mean "homing = false".

Thanks.