Usage:
AiTemplatePlugIn.AimVerticalControl
name
Argument values:
argument 1: | PIMouseLookY, PINone, PIPitch; most commonly PIMouseLookY |
Related properties: AimHorizontalControl, DriveThrottleControl, DriveTurnControl, PitchLookAhead, PitchSensitivity, RollSensitivity, ThrottleLookAhead, ThrottleSensitivity
Used in object types (always present 100% of the time): ControlInfo, ControlInfo3d
Used in a total of 105 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Soldiers, Bf1942/Levels
Example: (from objects/Vehicles/Air/Mosquito/Ai/Objects.con)
AiTemplatePlugIn.Create ControlInfo3d MosquitoCtrl
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
rem aiTemplatePlugIn.pitchSensitivity -0.5
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
AiTemplatePlugIn.MaxRollAngle 0.65
AiTemplatePlugIn.MaxClimbAngle 0.20
Go to the AiTemplatePlugIn properties list page, AiTemplatePlugIn page, All Properties list, or Main scripting page.