Page 1 of 1

Editing enemy AI

Posted: Sun Mar 06, 2016 6:07 pm
by Nicksaurus
Is there any way to make small changes to the way the enemies path towards the player/pollution-producing buildings or is it all hardcoded in the C++? I just want to make a simple mod that adds a higher pathing cost to areas where lots of biters have died in the past.

Re: Editing enemy AI

Posted: Tue Mar 08, 2016 2:31 pm
by Adil
Well, the current pathfinder doesn't take account on that (does it even use weights at all?), hence it'd be not a small change. You'd have to implement the tracker itself first.
Slight modifications would be alterations of expansion parameters and such, see "dynamic expansion" mod or relevant parts of "natural evolution" and "mizantrope".
Speaking of which, the latter seems to implement that, albeit along with other changes one might like or not.