Advertisement

First of all let me just say that the AI game engine makes a decision on what class to spawn based on the current threat on the map. More tanks means more AT spawns. But this can be influenced some what by changing the strategic strengths of the AI class kit templates in the objects\items\basekit\ai\objects.con file. I have not messed around with this much. Perhaps someone with more experience in this area can give us some suggestions. Here is what the standard templates look like:



rem *** KitTemplates ***

rem *** Medic ***

kitTemplate.create Medic Medic

kitTemplate.setStrategicStrength 0 1
kitTemplate.setStrategicStrength 1 1

kitTemplate.setBattleStrength Infantry 6.0
kitTemplate.setBattleStrength LightArmour 3.0
kitTemplate.setBattleStrength HeavyArmour 1.0
kitTemplate.setBattleStrength NavalArmour 0.0
kitTemplate.setBattleStrength Submarine 0.0
kitTemplate.setBattleStrength Air 0.0

rem *** Engineer ***

kitTemplate.create Engineer Engineer

kitTemplate.setStrategicStrength 0 1
kitTemplate.setStrategicStrength 1 2

kitTemplate.setBattleStrength Infantry 4.0
kitTemplate.setBattleStrength LightArmour 4.0
kitTemplate.setBattleStrength HeavyArmour 3.0
kitTemplate.setBattleStrength NavalArmour 0.0
kitTemplate.setBattleStrength Submarine 0.0
kitTemplate.setBattleStrength Air 0.0


rem *** AT ***

kitTemplate.create AT AT

kitTemplate.setStrategicStrength 0 2
kitTemplate.setStrategicStrength 1 2

kitTemplate.setBattleStrength Infantry 2.0
kitTemplate.setBattleStrength LightArmour 8.0
kitTemplate.setBattleStrength HeavyArmour 4.0
kitTemplate.setBattleStrength NavalArmour 0.0
kitTemplate.setBattleStrength Submarine 0.0
kitTemplate.setBattleStrength Air 0.0


rem *** Assault ***

kitTemplate.create Assault Assault

kitTemplate.setStrategicStrength 0 1
kitTemplate.setStrategicStrength 1 1

kitTemplate.setBattleStrength Infantry 8.0
kitTemplate.setBattleStrength LightArmour 3.0
kitTemplate.setBattleStrength HeavyArmour 1.0
kitTemplate.setBattleStrength NavalArmour 0.0
kitTemplate.setBattleStrength Submarine 0.0
kitTemplate.setBattleStrength Air 2.0


rem *** Scout ***

kitTemplate.create Scout Scout

kitTemplate.setStrategicStrength 0 2
kitTemplate.setStrategicStrength 1 1

kitTemplate.setBattleStrength Infantry 4.0
kitTemplate.setBattleStrength LightArmour 0.0
kitTemplate.setBattleStrength HeavyArmour 0.0
kitTemplate.setBattleStrength NavalArmour 0.0
kitTemplate.setBattleStrength Submarine 0.0
kitTemplate.setBattleStrength Air 0.0


Note: The AI uses these values as modifiers to its calculation, and 0 does not mean no chance. So, setting the AT class to all zero values will not prevent bots from selecting the class.

Community content is available under CC-BY-SA unless otherwise noted.