Page 1 of 1

How to prevent combat-robots from being added to the cap?

Posted: Thu Jan 30, 2020 6:05 am
by Hamtato
In my mod I've created a new entity that is a combat-robot type. Currently, it seems to share the same robot cap that defenders/destroyers have. I am trying to make my entity not have a cap while maintaining the cap that defenders/destroyers have. Distractors, however, are the same type as defenders/destroyers but don't seem to share the cap.

I've looked through the game files, but I can't seem to figure out how distractors are not getting limited by the following robots cap. Anyone know how this works? And where in the game files does this appear?

Re: How to prevent combat-robots from being added to the cap?

Posted: Thu Jan 30, 2020 8:17 am
by darkfrei
Probably it comes from speed variously, need to see both prototypes.

Re: How to prevent combat-robots from being added to the cap?

Posted: Thu Jan 30, 2020 8:32 am
by boskid
If there is no

Code: Select all

    follows_player = true,
(or is set to false), it will not count towards follower count.

Re: How to prevent combat-robots from being added to the cap?

Posted: Thu Jan 30, 2020 9:41 am
by Hamtato
boskid wrote: Thu Jan 30, 2020 8:32 am If there is no

Code: Select all

    follows_player = true,
(or is set to false), it will not count towards follower count.
So is it currently not possible to have them follow the player and not count towards the cap? Or can this be solved with scripting?