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

Place to get help with not working mods / modding interface.
Post Reply
Kliptexx
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Oct 21, 2022 5:05 am
Contact:

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

Post 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

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

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

Post 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.
Image

Kliptexx
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Oct 21, 2022 5:05 am
Contact:

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

Post 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?

Kliptexx
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Oct 21, 2022 5:05 am
Contact:

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

Post 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)))

Post Reply

Return to “Modding help”