Page 1 of 1

[Oxyd] [0.17.23] Spitter Behavior

Posted: Mon Apr 01, 2019 7:54 pm
by TheSAguy
This is probably not a bug, but still a little weird.
When two spitters of opposite force are closer than the min attach range, they just freeze.


Re: [Oxyd] [0.17.23] Spitter Behavior

Posted: Fri Jun 28, 2019 12:59 pm
by Oxyd
I can't reproduce that. When I run this command, I get two spitters on oposing forces right next to each other and they attack each other immediately.

Code: Select all

/c game.player.surface.create_entity{name="big-spitter", position={x=game.player.position.x, y=game.player.position.y - 2}, force=game.forces.enemy}; game.player.surface.create_entity{name="big-spitter", position={x=game.player.position.x, y=game.player.position.y + 2}, force=game.forces.player};

Re: [Oxyd] [0.17.23] Spitter Behavior

Posted: Fri Jun 28, 2019 1:06 pm
by Klonan
Oxyd wrote:
Fri Jun 28, 2019 12:59 pm
I can't reproduce that. When I run this command, I get two spitters on oposing forces right next to each other and they attack each other immediately.

Code: Select all

/c game.player.surface.create_entity{name="big-spitter", position={x=game.player.position.x, y=game.player.position.y - 2}, force=game.forces.enemy}; game.player.surface.create_entity{name="big-spitter", position={x=game.player.position.x, y=game.player.position.y + 2}, force=game.forces.player};
I think he has modded spitters with attack parameters with a minimum range

Re: [Oxyd] [0.17.23] Spitter Behavior

Posted: Fri Jun 28, 2019 1:38 pm
by Oxyd
Vanilla spitters also have a minimum range, if we're talking about attack_parameters.min_attack_distance. Is there some other “minimum range” property I could set?

Re: [Oxyd] [0.17.23] Spitter Behavior

Posted: Fri Jun 28, 2019 10:47 pm
by TheSAguy
Here is a save.
Or you can download the mod and start a new game.
As Klonan said, it is modded spitters. They have a fire attack.

And I do think it's got something to do with a min range.
Thanks

Re: [Oxyd] [0.17.23] Spitter Behavior

Posted: Sat Jun 29, 2019 12:28 am
by mmmPI
iknowyoucantspityoulikeme.gif
iknowyoucantspityoulikeme.gif (2.85 MiB) Viewed 4348 times

Re: [Oxyd] [0.17.23] Spitter Behavior

Posted: Tue Jul 02, 2019 2:21 pm
by Oxyd
Thanks for the save, I didn't realise there was another minimum range parameter.

Fixed in 0.17.54.