When do enemies despawn?

Place to get help with not working mods / modding interface.
User avatar
Versepelles
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Sat May 28, 2016 1:42 pm
Contact:

When do enemies despawn?

Post by Versepelles »

Specifically, under what circumstances do biters, spitters, and worms despawn? A mod of mine allows these entities to be on the forces with cease-fires towards the player which works fairly well, except that my "zoo" would occasionally become empty.

Image

It seems that the biters and and spitters will despawn after a while- not sure if it's distance from player, time-to-live or something similar, or some path-finding issue. Any insight into how this works or potential fixes would be appreciated.
orzelek
Smart Inserter
Smart Inserter
Posts: 3928
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: When do enemies despawn?

Post by orzelek »

Are your biters also on cease fire with enemy biters?

I'd guess that they try to path to incoming attack and get despawned then.
User avatar
Versepelles
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Sat May 28, 2016 1:42 pm
Contact:

Re: When do enemies despawn?

Post by Versepelles »

orzelek wrote:Are your biters also on cease fire with enemy biters?

I'd guess that they try to path to incoming attack and get despawned then.
They are on cease fire with all forces. They also all pace clockwise in their enclosures, without stopping or otherwise deviating, if that is interesting at all.
Post Reply

Return to “Modding help”