BF2 (and FH2) currently has 6 object classes/types used by "aiTemplatePlugIn.setStrType" in objects.ai files: Infantry, LightArmour, HeavyArmour, NavalArmour, Helicopter and Airplane. Anyone know if it's possible to add more via modding, or if the classes are hard-coded?
Adding "Unarmoured Vehicle", "Medium Armour" and "Static Gun" classes would be very handy for improving the AI's target selection and weapon use - e.g. aircraft could be set to strafe unarmoured and light vehicles but not medium/heavy armour, tanks could be set to only use special AP rounds on heavy armour, etc. Currently, having all tanks/armoured cars as "heavy armour" and all guns, APCs and softskins as "light armour" makes it difficult to get the AI to use the right weapon type; HE rounds, for example, are the best choice against AT guns, but not too effective against halftracks.