Pathfinding flag to avoid biters

Things that we aren't going to implement
Post Reply
Baughn
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Wed Jan 20, 2016 4:44 pm
Contact:

Pathfinding flag to avoid biters

Post by Baughn »

I have a group of bots, used for construction. They do not have any military ability, but they positively enjoy running towards walls in order to repair them. Specifically: They're given a movement command with the target set to the wall.

Sometimes, the fastest path to the wall involves running outside the walls. Sometimes there are biters there, and there was an alternate, slightly longer path which would have kept them out of harm's way. It would be nice to have a flag that increases the per-tile cost of pathing over tiles that happen to have piles of biter corpses, or perhaps which have biters nearby -- whatever you think is the most reasonable calculation here.

Call it "is_coward", maybe?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13202
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Pathfinding flag to avoid biters

Post by Rseding91 »

I don't see this as ever happening. It would add a load of complexity and overhead to pathfinding for something the base game would never use.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Won't implement”