Page 1 of 1
Turning off enemy force AI
Posted: Mon Aug 01, 2016 12:05 am
by Veden
Is it possible to turn off the biter ai?
I found the force ai_controllable boolean and switched it to false, however, it doesn't seem to prevent biter unit group formations when nest are exposed to pollution.
Re: Turning off enemy force AI
Posted: Tue Aug 02, 2016 5:45 pm
by Adil
Did it stop those groups from doing stuff?
There's a complicated legacy on this topic, I remember ai_controllable being responsible for group orders, but there's also some enemy_epansion flag. Also, peaceful mode switch for example does not affect already spawned biters, maybe same comes for ai.
Re: Turning off enemy force AI
Posted: Wed Aug 03, 2016 3:38 am
by Veden
If I set ai_controllable to false and kill all the units, no additional base seem to form, but unit groups still attack polluted areas.
Changing the expansion flags works for preventing new bases as well.
At the moment, I am just using the peaceful mode to prevent all actions, so I can program my own.