How to override AI in DLL BNW

frutiemax

Warlord
Joined
Jan 19, 2015
Messages
118
I'm trying to find where in the SDK code the AI decides to move the units. I've tried to comment the whole CvPlayer::doTurnUnits() but the AI still continues to move its units?

I've built the DLL and loaded it in a custom mod correctly as I can make Civ5 crash by commenting the constructor of CvPlayer (for testing). I am building the CvGameCore_Expansion2.dll project for BNW.

Where in the world are the units controlled? Is it by an external lua script? I just want the AI to not move their units at all in autoplay with firetuner.

Thanks for reading.
 
Top Bottom