Page 1 of 1

I'm making a NoTarget mod, but I have a problem with projectiles

Posted: Fri Oct 21, 2022 5:19 am
by Kliptexx
I'm making a NoTarget mod, but I have a problem with projectiles. In order to be able to shoot anywhere and any way, I turned all ordinary bullets into projectiles, but they do not fly over the wall / object, but directly into them, how can I fix this so that the projectiles can fly over the wall / object. I'm new to this, so I want a more detailed answer please or you can write to Discord: !Kliptexx#6879
Mod link: https://mods.factorio.com/mod/NoAutoTarget

Re: I'm making a NoTarget mod, but I have a problem with projectiles

Posted: Sat Oct 22, 2022 2:21 am
by Deadlock989
You need to change the force-condition property of the projectiles. "not-same" works well for me if you want bullets to "miss" all entities owned by the same force as the shooter, but YMMV.

Re: I'm making a NoTarget mod, but I have a problem with projectiles

Posted: Sat Oct 22, 2022 6:24 am
by Kliptexx
Deadlock989 wrote: Sat Oct 22, 2022 2:21 am You need to change the force-condition property of the projectiles. "not-same" works well for me if you want bullets to "miss" all entities owned by the same force as the shooter, but YMMV.
Can you please show an example of how to do this, I don't really understand how and where to specify it?

Re: I'm making a NoTarget mod, but I have a problem with projectiles

Posted: Sat Oct 22, 2022 6:29 am
by Kliptexx
Deadlock989 wrote: Sat Oct 22, 2022 2:21 am You need to change the force-condition property of the projectiles. "not-same" works well for me if you want bullets to "miss" all entities owned by the same force as the shooter, but YMMV.
Thank you, I figured it out, I will experiment)))