Cains metal class you be talking of. AAI uses an outmoded version, which submarine was goignt o upgrade to but I advised against(problem fixed in NTAI beta 9). NTAI has the latets version and JCAI was said to ahve eben changed to add support for it but I havent looked at JCAI's code well enough to remember.
Cains class had a few problems namely :
mod dependence, if the unti cormex didnt exist the class crashed the game.
and fluke mex placement (fixed by changing a magic nubmer in the header).