So in my mod, Bio Industries, once can breed or convert enemy biters to the players side.
One issue is that these friendly biters sometimes wonder your entire base and are a little disruptive...
I was wondering if I could create a tile that would almost act like water to these friendly biters. So they could not cross it.
The player and enemy biters could cross it like any normal terrain, but these biters with player force cannot.
This way once could create areas for them. Instead of using walls to block them.
I don't think it's possible, but thought I'd ask.
Thanks.
Tile Property Question
Re: Tile Property Question
If by disruptive you mean that they get stuck on belts and are annoying you can make biters "collide" with belts by adding "floor-layer" to their collision mask:TheSAguy wrote: these friendly biters sometimes wonder your entire base and are a little disruptive...
Code: Select all
collision_mask = { "object-layer", "player-layer", "water-tile", "floor-layer"},
You could also try to issue a command to units in the base with set_command and tell them to move out of the base. Save a list of chunks that are a no-go zone for the friendly biters and give them the command to go to a chunk outside the saved ones if they enter the zone. (might impact performance a bit though)
Just some ideas of the top of my head, it is all untested, you'll have to experiment with them a bit. Good luck!

My mods: