This page is under construction
Archives/bf1942/levels/Invasion_Of_The_USA-1948.rfa
bf1942/levels/Invasion_of_the_USA-1948/objects/PrinzEugen/AI/Objects.con
rem *** Plugins ***
aiTemplatePlugIn.create Unit PrinzEugenUnit
aiTemplatePlugIn.equipmentType 2
aiTemplatePlugIn.setStrategicStrength 0 15
aiTemplatePlugIn.setStrategicStrength 1 12

aiTemplatePlugIn.create Mobile PrinzEugenMobile
aiTemplatePlugIn.vehicleNumber 2
aiTemplatePlugIn.maxSpeed 15.0
aiTemplatePlugIn.turnRadius 80.0
aiTemplatePlugIn.coverSearchRadius 50.0
aiTemplatePlugIn.avoidCollisionLookAhead 15.0

aiTemplatePlugIn.create Physical PrinzEugenPhysical
aiTemplatePlugIn.setStrType NavalArmour

aiTemplatePlugIn.create Armament PrinzEugenBigHeavyArms

aiTemplatePlugIn.create ControlInfo PrinzEugenBigHeavyCtrl
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 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg -135/-30/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 135/1/0

rem *** AITemplate ***
aiTemplate.create PrinzEugenAI
aiTemplate.addType ITMobile
aiTemplate.addType ITNaval
aiTemplate.addType ITUnit
aiTemplate.addType ITObstructedView
aiTemplate.degeneration 90
aiTemplate.allowedTimeDiff 7
aiTemplate.basicTemp 120
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn PrinzEugenUnit
aiTemplate.addPlugIn PrinzEugenMobile
aiTemplate.addPlugIn PrinzEugenPhysical
aiTemplate.addPlugIn PrinzEugenBigHeavyCtrl
aiTemplate.addPlugIn PrinzEugenBigHeavyArms


rem *** Rear Big Heavy
rem ******************************************************************************************
rem ******************************************************************************************

rem *** Plugins ***
aiTemplatePlugIn.create Unit PrinzEugenRearUnit
aiTemplatePlugIn.equipmentType 9
aiTemplatePlugIn.setStrategicStrength 0 13
aiTemplatePlugIn.setStrategicStrength 1 10
aiTemplatePlugIn.setSelectKey PIMenuSelect2

rem *** AITemplate ***
aiTemplate.create PrinzEugenRearAI
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.addType ITObstructedView
aiTemplate.degeneration 90
aiTemplate.allowedTimeDiff 7
aiTemplate.basicTemp 90
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn PrinzEugenRearUnit
aiTemplate.addPlugIn PrinzEugenBigHeavyCtrl
aiTemplate.addPlugIn PrinzEugenBigHeavyArms


rem *** Flak gun left
rem ******************************************************************************************
rem ******************************************************************************************

rem *** Plugins ***
aiTemplatePlugIn.create Armament PrinzEugenAAArms
aiTemplatePlugIn.setIsAntiAircraft 1

aiTemplatePlugIn.create Unit PrinzEugenAALeftUnit
aiTemplatePlugIn.equipmentType 20
aiTemplatePlugIn.setStrategicStrength 0 7
aiTemplatePlugIn.setStrategicStrength 1 7
aiTemplatePlugIn.setSelectKey PIMenuSelect3

aiTemplatePlugIn.create ControlInfo PrinzEugenAALeftCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
rem aiTemplatePlugIn.pitchSensitivity 0.021817
rem aiTemplatePlugIn.rollSensitivity -0.021817
aiTemplatePlugIn.pitchSensitivity 0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
rem aiTemplatePlugIn.lookVerticalSensitivity 0.021817
rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817
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 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg -179/-80/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 0/3/0

rem *** AITemplate ***
aiTemplate.create PrinzEugenAALeftAI
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.degeneration 90
aiTemplate.allowedTimeDiff 7
aiTemplate.basicTemp 12
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn PrinzEugenAAArms
aiTemplate.addPlugIn PrinzEugenAALeftUnit
aiTemplate.addPlugIn PrinzEugenAALeftCtrl


rem *** Flak gun
rem ******************************************************************************************
rem ******************************************************************************************

rem *** Plugins ***
aiTemplatePlugIn.create Unit PrinzEugenAARightUnit
aiTemplatePlugIn.equipmentType 20
aiTemplatePlugIn.setStrategicStrength 0 7
aiTemplatePlugIn.setStrategicStrength 1 7
aiTemplatePlugIn.setSelectKey PIMenuSelect4

aiTemplatePlugIn.create ControlInfo PrinzEugenAARightCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
rem aiTemplatePlugIn.pitchSensitivity 0.021817
rem aiTemplatePlugIn.rollSensitivity -0.021817
aiTemplatePlugIn.pitchSensitivity 0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
rem aiTemplatePlugIn.lookVerticalSensitivity 0.021817
rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817
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 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg 0/-80/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 179/3/0

rem *** AITemplate ***
aiTemplate.create PrinzEugenAARightAI
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.addType ITObstructedView
aiTemplate.degeneration 90
aiTemplate.allowedTimeDiff 7
aiTemplate.basicTemp 12
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn PrinzEugenAAArms
aiTemplate.addPlugIn PrinzEugenAARightUnit
aiTemplate.addPlugIn PrinzEugenAARightCtrl


rem *** Torpedo left
rem ******************************************************************************************
rem ******************************************************************************************

rem *** Plugins ***
aiTemplatePlugIn.create Armament PrinzEugenTorpedoLauncherArms

aiTemplatePlugIn.create Unit PrinzEugenTorpedoLauncherLeftUnit
aiTemplatePlugIn.equipmentType 20
aiTemplatePlugIn.setStrategicStrength 0 7
aiTemplatePlugIn.setStrategicStrength 1 7
aiTemplatePlugIn.setSelectKey PIMenuSelect5

aiTemplatePlugIn.create ControlInfo PrinzEugenTorpedoLauncherLeftCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
rem aiTemplatePlugIn.pitchSensitivity 0.021817
rem aiTemplatePlugIn.rollSensitivity -0.021817
aiTemplatePlugIn.pitchSensitivity 0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
rem aiTemplatePlugIn.lookVerticalSensitivity 0.021817
rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817
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 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg -145/0/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 0/0/0

rem *** AITemplate ***
aiTemplate.create PrinzEugenTorpedoLauncherLeft
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.degeneration 60
aiTemplate.allowedTimeDiff 3
aiTemplate.basicTemp 1
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn PrinzEugenTorpedoLauncherArms
aiTemplate.addPlugIn PrinzEugenTorpedoLauncherLeftUnit
aiTemplate.addPlugIn PrinzEugenTorpedoLauncherLeftCtrl


rem *** Torpedo right
rem ******************************************************************************************
rem ******************************************************************************************

rem *** Plugins ***
aiTemplatePlugIn.create Unit PrinzEugenTorpedoLauncherRightUnit
aiTemplatePlugIn.equipmentType 20
aiTemplatePlugIn.setStrategicStrength 0 7
aiTemplatePlugIn.setStrategicStrength 1 7
aiTemplatePlugIn.setSelectKey PIMenuSelect6

aiTemplatePlugIn.create ControlInfo PrinzEugenTorpedoLauncherRightCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -1.0
rem aiTemplatePlugIn.pitchSensitivity 0.021817
rem aiTemplatePlugIn.rollSensitivity -0.021817
aiTemplatePlugIn.pitchSensitivity 0.21817
aiTemplatePlugIn.rollSensitivity -0.21817
aiTemplatePlugIn.yawSensitivity -2.5
rem aiTemplatePlugIn.lookVerticalSensitivity 0.021817
rem aiTemplatePlugIn.lookHorizontalSensitivity -0.021817
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 5.0
aiTemplatePlugIn.rollScale 5.0
aiTemplatePlugIn.yawScale 0.0020
aiTemplatePlugIn.lookVerticalScale 1.0
aiTemplatePlugIn.lookHorizontalScale 1.0
aiTemplatePlugIn.setCameraRelativeMinRotationDeg 0/0/0
aiTemplatePlugIn.setCameraRelativeMaxRotationDeg 145/0/0

rem *** AITemplate ***
aiTemplate.create PrinzEugenTorpedoLauncherRight
aiTemplate.addType ITUnit
aiTemplate.addType ITNaval
aiTemplate.degeneration 60
aiTemplate.allowedTimeDiff 3
aiTemplate.basicTemp 1
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn PrinzEugenTorpedoLauncherArms
aiTemplate.addPlugIn PrinzEugenTorpedoLauncherRightUnit
aiTemplate.addPlugIn PrinzEugenTorpedoLauncherRightCtrl

rem ******************************************************************************************
rem ******************************************************************************************