If a unit with a splash damage attack hits another unit on the same force, the unit that got hit by friendly fire (and sometimes his entire unit_group) will turn aggressive towards and target the source of the damage, even though it's an entity on their team.
This situation doesn't happen in the base game for biters/spitters/worms because they do not use splash attacks (yet, but if you add splash attacks, you'll see what i'm seeing). This situation occurs when my Robot Army mod units with rocket launchers or flamethrowers fire too close and hit (but not kill) friendly units, the friendly units and/or their entire unit_group turns on eachother/and/or the source of the friendly-fire. It's hilarious to watch, but not intended behaviour. I think the behaviour is fine for enemies that fire on an entity, getting aggro'd by the group, but if the entity who fired is on the same team, they shouldn't blindy attack them.
If this is not considered a bug, could I instead request that the ability for entities to honour the cease-fire rules also count their own force as something to avoid shooting at? Or have it available as a unit_group LuaBool with Read/Write access to "friendly_fire_retaliate" (with default being "True", which is what they do currently) which allows me to set all my unitgroups to false when I create them myself?
[0.13.8] Unit entities on the same force aggro eachother
Re: [0.13.8] Unit entities on the same force aggro eachother
Thanks for the report,
I ran into a similar issue with my own mod,
And the current stance is 'maybe its a bug, maybe i will fix it" from Oxyd
I ran into a similar issue with my own mod,
And the current stance is 'maybe its a bug, maybe i will fix it" from Oxyd

Re: [0.13.8] Unit entities on the same force aggro eachother
Haha, well it's not particularly high priority for the Factorio game development, but as soon as you guys start introducing splash weapon types, you'll have biters turning on eachother and whatnot.
I figure it will help you guys in future, and help mods like mine and yours at the same time (just earlier than needed in terms of Factorio development).
I suppose you guys will eventually give more attention to the combat side of things, and this is when this fix will be of use.
Plx Oxyd

I figure it will help you guys in future, and help mods like mine and yours at the same time (just earlier than needed in terms of Factorio development).
I suppose you guys will eventually give more attention to the combat side of things, and this is when this fix will be of use.
Plx Oxyd




