I have to collect the following data while AAI is working (I have to get them to calculate in my java app and push some output back to game console) :
1 number of units of type x that the AAI has
2 number of opponent's units of type x
3 fraction of the environment that is visible to the AAI
4 number of units of the my AI within a radius r of the opponent's commander
5 fraction of the environment that is visible to the opponent's commander within the radius r
6 number of units of the opponent within a radius r of the AAI's commander
7 fraction of the environment that is visible to AAI's commander within the radius r
At any time during the game, how can I retrieve the above data?
Thank you for your kindness
Getting data from AAI?
Moderators: hoijui, Moderators
Re: Getting data from AAI?
I recommend forking a mod you are going to use (just decompress it with 7zip to look at it source) and adding a gadget to dump all this info.
Re: Getting data from AAI?
if you are ingame as spec anyway while you watch your AI play you could use a widget and would not have to fork the mod.