This page is under construction
archives/bf1942/levels/Midway.rfa
bf1942/levels/Midway/Objects/Knife_AI.con
rem =================================
rem = AI Tweaks for knife mode only =
rem =================================
rem *** Add Knife Allies ***
weaponTemplate.create EliteKnifeThrowAI
weaponTemplate.burst 0
weaponTemplate.indirect 0
weaponTemplate.isThrown 1
weaponTemplate.minRange 3.0
weaponTemplate.maxRange 50
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIAltFire
weaponTemplate.setStrength Infantry 6.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0
weaponTemplate.create EliteKnifeAI
weaponTemplate.burst 1
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 2.0
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantry 8.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0
rem *** Add Knife Allies ***
weaponTemplate.create KnifeAllies
weaponTemplate.burst 1
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 2.0
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantry 8.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0
rem *** Add Knife Axis ***
weaponTemplate.create KnifeAxis
weaponTemplate.burst 1
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 2.0
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantry 8.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0
rem = AI Tweaks for knife mode only =
rem =================================
rem *** Add Knife Allies ***
weaponTemplate.create EliteKnifeThrowAI
weaponTemplate.burst 0
weaponTemplate.indirect 0
weaponTemplate.isThrown 1
weaponTemplate.minRange 3.0
weaponTemplate.maxRange 50
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIAltFire
weaponTemplate.setStrength Infantry 6.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0
weaponTemplate.create EliteKnifeAI
weaponTemplate.burst 1
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 2.0
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantry 8.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0
rem *** Add Knife Allies ***
weaponTemplate.create KnifeAllies
weaponTemplate.burst 1
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 2.0
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantry 8.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0
rem *** Add Knife Axis ***
weaponTemplate.create KnifeAxis
weaponTemplate.burst 1
weaponTemplate.indirect 0
weaponTemplate.minRange 0.0
weaponTemplate.maxRange 2.0
weaponTemplate.weaponActivate PIMenuSelect1
weaponTemplate.weaponFire PIFire
weaponTemplate.setStrength Infantry 8.0
weaponTemplate.setStrength LightArmour 0.0
weaponTemplate.setStrength HeavyArmour 0.0
weaponTemplate.setStrength NavalArmour 0.0
weaponTemplate.setStrength Submarine 0.0
weaponTemplate.setStrength Air 0.0
weaponTemplate.setSoundSphereRadius 80.0