problem: the AI "cheats" by sending troops towards infiltrated units regardless of their actions; stealthed units should only be investigated/hunted when they are causing damage to units/buildings or capturing/decapturing, otherwise it's painfully obvious metagaming but, more importantly, personally frustrating since i prefer to heavily scout and try to succeed with as few troops as possible.
solution: code so that the AI only becomes aware of stealthed units if they are causing damage to units or buildings, or capturing/de-capturing. an optimized solution would be to include sending a detector unit (or unit capable of causing area-affect damage thus revealing the stealthed units). perhaps checking if the infiltrators are in Cease Fire (or whatever it's called) stance could be used for the first condition.
if you can point me to the location of the relevant code i can try to do this myself if this is not seen as a problem by anyone else.
thanks!
Edited by phordicus, 14 November 2008 - 05:15 PM.