ControlInfo Type

The ControlInfo object type is created by AiTemplatePlugIn.Create.

Used in a total of 88 .con files: Objects.con

Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Soldiers, Bf1942/Levels

Example: (from objects/Vehicles/Land/AA_Allies/Ai/Objects.con)
   AiTemplatePlugIn.Create ControlInfo AA_AlliesCtrl
   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 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

Properties used with this type of object:
   AiTemplatePlugIn.AimHorizontalControl
   AiTemplatePlugIn.AimVerticalControl
   AiTemplatePlugIn.Create
   AiTemplatePlugIn.DriveThrottleControl
   AiTemplatePlugIn.DriveTurnControl
   AiTemplatePlugIn.LookHorizontalControl
   AiTemplatePlugIn.LookHorizontalLookAhead
   AiTemplatePlugIn.LookHorizontalScale
   AiTemplatePlugIn.LookHorizontalSensitivity
   AiTemplatePlugIn.LookVerticalControl
   AiTemplatePlugIn.LookVerticalLookAhead
   AiTemplatePlugIn.LookVerticalScale
   AiTemplatePlugIn.LookVerticalSensitivity
   AiTemplatePlugIn.MaxSpeedBumpinessFallOff
   AiTemplatePlugIn.PitchLookAhead
   AiTemplatePlugIn.PitchScale
   AiTemplatePlugIn.PitchSensitivity
   AiTemplatePlugIn.RollLookAhead
   AiTemplatePlugIn.RollScale
   AiTemplatePlugIn.RollSensitivity
   AiTemplatePlugIn.SetCameraRelativeMaxRotationDeg
   AiTemplatePlugIn.SetCameraRelativeMinRotationDeg
   AiTemplatePlugIn.ThrottleLookAhead
   AiTemplatePlugIn.ThrottleScale
   AiTemplatePlugIn.ThrottleSensitivity
   AiTemplatePlugIn.YawLookAhead
   AiTemplatePlugIn.YawScale
   AiTemplatePlugIn.YawSensitivity


Go to the AiTemplatePlugIn type list page, AiTemplatePlugIn page, All Types list, Class list, CON file list, or Main scripting page.