Page 1 of 1

[0.18.19] Biters trying to go through the water

Posted: Sat Apr 25, 2020 11:58 am
by Highlander37
Hello,
I noticed that group of biters near water trying go through the water even it's imposible. Then they get to the water they stop there.
I'm using only Bob's enemies mod, that can change biter behavior. I disabled this mod and saw, that this is raised by this mod.

Example without Bob's enemies mod:
https://yadi.sk/i/C8cXUZVYwDC24A
https://yadi.sk/i/VQZy_tMbePpcfA
https://yadi.sk/i/NJt5hR579-NS4w

savegame:
https://yadi.sk/d/TxE7JPCFlZYeyg

Most of the bites near the water sleep forever after trying to cross the water, and do not try to get around it.

Re: [0.18.19] Biters trying to go through the water

Posted: Sun Apr 26, 2020 8:23 am
by dyce
If it is caused by a mod report the issue to mod author.

Re: [0.18.19] Biters trying to go through the water

Posted: Sun Apr 26, 2020 11:31 am
by Klonan
The hovercraft mod changes the collision mask of water, and added a collision layer to all the biters

But the mod did not change the unit group collision mask, so the unit groups do not know that they should collide with the water

Re: [0.18.19] Biters trying to go through the water

Posted: Sun Apr 26, 2020 1:05 pm
by Highlander37
Klonan Thanks. Yes, look's like a bug of HoverCraft mod. I'll report bug report to author this mod.

Re: [0.18.19] Biters trying to go through the water

Posted: Wed Apr 29, 2020 6:04 pm
by Klonan
I decided to change this anyway.

It doesn't make sense anymore for unit groups to have a fixed collision mask.

In the next release the collision mask will be determined by the masks of the groups members.

Re: [0.18.19] Biters trying to go through the water

Posted: Thu Apr 30, 2020 7:34 am
by darkfrei
Klonan wrote:
Wed Apr 29, 2020 6:04 pm
I decided to change this anyway.

It doesn't make sense anymore for unit groups to have a fixed collision mask.

In the next release the collision mask will be determined by the masks of the groups members.
What if one unit group has "flying" (no collision) and normal units inside?

Re: [0.18.19] Biters trying to go through the water

Posted: Thu Apr 30, 2020 9:44 am
by Klonan
darkfrei wrote:
Thu Apr 30, 2020 7:34 am
Klonan wrote:
Wed Apr 29, 2020 6:04 pm
I decided to change this anyway.

It doesn't make sense anymore for unit groups to have a fixed collision mask.

In the next release the collision mask will be determined by the masks of the groups members.
What if one unit group has "flying" (no collision) and normal units inside?
It uses a combination of masks that is most restrictive,

IE, it will only go where all of the members can go,

So in the case of a group of all flying units, they can fly and path over water
If it is mixed group of flying and ground units, they will only path over ground