This page is under construction
Archives/bf1942/levels/Coral_Sea.rfa
bf1942/levels/Coral_Sea/Objects/Shokaku/Ai/Objects.con
rem -------- AA general ----------

aiTemplatePlugIn.create Armament ShokakuCoralAAArmament
aiTemplatePlugIn.setIsAntiAircraft 1

aiTemplatePlugIn.create ControlInfo ShokakuCoralAACtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
aiTemplatePlugIn.pitchSensitivity 0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
aiTemplatePlugIn.lookVerticalSensitivity 0.21817
aiTemplatePlugIn.lookHorizontalSensitivity -0.21817
aiTemplatePlugIn.throttleLookAhead 1.0
aiTemplatePlugIn.pitchLookAhead 1.0
aiTemplatePlugIn.rollLookAhead 1.0
aiTemplatePlugIn.yawLookAhead 1.0
aiTemplatePlugIn.lookVerticalLookAhead 1.0
aiTemplatePlugIn.lookHorizontalLookAhead 1.0
aiTemplatePlugIn.throttleScale 1.0
rem *** Angle in radians ***
aiTemplatePlugIn.pitchScale 1.0
aiTemplatePlugIn.rollScale 1.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg -180/-80/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 180/2/0


rem -------- AA 2 -----------

rem *** Plugins ***
aiTemplatePlugIn.create Unit ShokakuCoralAAUnit2
aiTemplatePlugIn.equipmentType 21
aiTemplatePlugIn.setStrategicStrength 0 0
aiTemplatePlugIn.setStrategicStrength 1 2
aiTemplatePlugIn.setHasExposedSoldier 1
aiTemplatePlugIn.setSelectKey PIMenuSelect2

rem *** AITemplate ***
aiTemplate.create ShokakuCoralAA2
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.addType ITFixed
aiTemplate.degeneration 20
aiTemplate.allowedTimeDiff 3
aiTemplate.basicTemp 9
aiTemplate.secondary 1
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn ShokakuCoralAAUnit2
aiTemplate.addPlugIn ShokakuCoralAAArmament
aiTemplate.addPlugIn ShokakuCoralAACtrl

rem -------- AA 3 -----------

rem *** Plugins ***
aiTemplatePlugIn.create Unit ShokakuCoralAAUnit3
aiTemplatePlugIn.equipmentType 21
aiTemplatePlugIn.setStrategicStrength 0 0
aiTemplatePlugIn.setStrategicStrength 1 2
aiTemplatePlugIn.setHasExposedSoldier 1
aiTemplatePlugIn.setSelectKey PIMenuSelect3

rem *** AITemplate ***
aiTemplate.create ShokakuCoralAA3
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.addType ITFixed
aiTemplate.degeneration 20
aiTemplate.allowedTimeDiff 3
aiTemplate.basicTemp 9
aiTemplate.secondary 1
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn ShokakuCoralAAUnit3
aiTemplate.addPlugIn ShokakuCoralAAArmament
aiTemplate.addPlugIn ShokakuCoralAACtrl

rem -------- AA 4 -----------

rem *** Plugins ***
aiTemplatePlugIn.create Unit ShokakuCoralAAUnit4
aiTemplatePlugIn.equipmentType 21
aiTemplatePlugIn.setStrategicStrength 0 0
aiTemplatePlugIn.setStrategicStrength 1 2
aiTemplatePlugIn.setHasExposedSoldier 1
aiTemplatePlugIn.setSelectKey PIMenuSelect4

rem *** AITemplate ***
aiTemplate.create ShokakuCoralAA4
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.addType ITFixed
aiTemplate.degeneration 20
aiTemplate.allowedTimeDiff 3
aiTemplate.basicTemp 9
aiTemplate.secondary 1
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn ShokakuCoralAAUnit4
aiTemplate.addPlugIn ShokakuCoralAAArmament
aiTemplate.addPlugIn ShokakuCoralAACtrl

rem -------- AA 5 -----------

rem *** Plugins ***
aiTemplatePlugIn.create Unit ShokakuCoralAAUnit5
aiTemplatePlugIn.equipmentType 21
aiTemplatePlugIn.setStrategicStrength 0 0
aiTemplatePlugIn.setStrategicStrength 1 2
aiTemplatePlugIn.setHasExposedSoldier 1
aiTemplatePlugIn.setSelectKey PIMenuSelect5

rem *** AITemplate ***
aiTemplate.create ShokakuCoralAA5
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.addType ITFixed
aiTemplate.degeneration 20
aiTemplate.allowedTimeDiff 3
aiTemplate.basicTemp 9
aiTemplate.secondary 1
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn ShokakuCoralAAUnit5
aiTemplate.addPlugIn ShokakuCoralAAArmament
aiTemplate.addPlugIn ShokakuCoralAACtrl