This page is under construction
Archives/bf1942/levels/SG_Boarding_Party.rfa
bf1942/levels/SG_Boarding_Party/objects/DeathGlider/Ai/Objects.con
rem *** Plugins ***
aiTemplatePlugIn.create Unit DeathgliderUnit
aiTemplatePlugIn.equipmentType 1
aiTemplatePlugIn.setStrategicStrength 0 0
aiTemplatePlugIn.setStrategicStrength 1 0

aiTemplatePlugIn.create Cover DeathgliderCover
aiTemplatePlugIn.coverValue 2.0

aiTemplatePlugIn.create Physical DeathgliderPhysical
aiTemplatePlugIn.setStrType Air

aiTemplatePlugIn.create ControlInfo3d DeathgliderCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIYaw
aiTemplatePlugIn.aimVerticalControl PIPitch
aiTemplatePlugIn.driveRollControl PIRoll
aiTemplatePlugIn.drivePitchControl PIPitch
aiTemplatePlugIn.aimRollControl PIRoll
aiTemplatePlugIn.aimThrottleControl PIThrottle
aiTemplatePlugIn.throttleSensitivity -3.0
aiTemplatePlugIn.pitchSensitivity -1.0
aiTemplatePlugIn.rollSensitivity -1.3
aiTemplatePlugIn.yawSensitivity 0.3
aiTemplatePlugIn.throttleLookAhead 1.0
aiTemplatePlugIn.pitchLookAhead 1.2
aiTemplatePlugIn.rollLookAhead 1.5
aiTemplatePlugIn.yawLookAhead 0.3
aiTemplatePlugIn.throttleScale 1.0
rem *** Angle in radians ***
aiTemplatePlugIn.pitchScale 0.0410
aiTemplatePlugIn.rollScale 0.750
aiTemplatePlugIn.yawScale 0.750
aiTemplatePlugIn.maxRollAngle 0.9000
aiTemplatePlugIn.maxClimbAngle 0.4

aiTemplatePlugIn.create Mobile DeathgliderMobile
aiTemplatePlugIn.vehicleNumber 1
aiTemplatePlugIn.maxSpeed 65.0
rem eh aiTemplatePlugIn.maxSpeed 70.0
rem not as good as 65 aiTemplatePlugIn.maxSpeed 60.0
rem worked great aiTemplatePlugIn.maxSpeed 65.0
aiTemplatePlugIn.turnRadius 10.0

aiTemplatePlugIn.create Armament DeathgliderArms
aiTemplatePlugIn.setIsAntiAircraft 1


rem *** AITemplate ***
aiTemplate.create Deathglider
aiTemplate.addType ITUnit
aiTemplate.addType ITMobile
aiTemplate.addType ITAir
aiTemplate.degeneration 15
aiTemplate.allowedTimeDiff 0.5
aiTemplate.basicTemp 0
aiTemplate.commonKnowledge 0
aiTemplate.addPlugIn DeathgliderUnit
aiTemplate.addPlugIn DeathgliderCover
aiTemplate.addPlugIn DeathgliderPhysical
aiTemplate.addPlugIn DeathgliderCtrl
aiTemplate.addPlugIn DeathgliderMobile
aiTemplate.addPlugIn DeathgliderArms


rem **** Passengers ***


aiTemplatePlugIn.create Unit DeathgliderPassengerUnit
aiTemplatePlugIn.equipmentType 10
aiTemplatePlugIn.setStrategicStrength 0 1
aiTemplatePlugIn.setStrategicStrength 1 0
aiTemplatePlugIn.setSelectKey PIMenuSelect2

aiTemplatePlugIn.create ControlInfo DeathgliderPassengerCtrl
aiTemplatePlugIn.driveTurnControl PIYaw
aiTemplatePlugIn.driveThrottleControl PIThrottle
aiTemplatePlugIn.aimHorizontalControl PIMouseLookX
aiTemplatePlugIn.aimVerticalControl PIMouseLookY
aiTemplatePlugIn.lookHorizontalControl PIMouseLookX
aiTemplatePlugIn.lookVerticalControl PIMouseLookY
aiTemplatePlugIn.throttleSensitivity -3.0
aiTemplatePlugIn.pitchSensitivity -1.0
aiTemplatePlugIn.rollSensitivity -1.3
aiTemplatePlugIn.yawSensitivity 0.3
aiTemplatePlugIn.throttleLookAhead 1.0
aiTemplatePlugIn.pitchLookAhead 1.2
aiTemplatePlugIn.rollLookAhead 1.5
aiTemplatePlugIn.yawLookAhead 0.3
aiTemplatePlugIn.throttleScale 1.0
rem *** Angle in radians ***
aiTemplatePlugIn.pitchScale 0.0010
aiTemplatePlugIn.rollScale 0.0750
aiTemplatePlugIn.yawScale 0.0750

rem *** AITemplate ***
aiTemplate.create DeathgliderPassenger1
aiTemplate.addType ITUnit
aiTemplate.addType ITBiological
aiTemplate.addType ITAir
aiTemplate.addType ITObstructedView
aiTemplate.degeneration 15
aiTemplate.allowedTimeDiff 2
aiTemplate.basicTemp 4
aiTemplate.commonKnowledge 0
aiTemplate.secondary 1
aiTemplate.addPlugIn DeathgliderPassengerUnit
aiTemplate.addPlugIn DeathgliderPassengerCtrl
rem *********************************************************************
rem *********************************************************************