Usage:
AiTemplatePlugIn.PitchLookAhead
number
Argument values:
argument 1: | range is 1.0 to 1.2; most commonly 1.0 |
Related properties: AimVerticalControl, PitchScale, PitchSensitivity, RollLookAhead, RollScale, RollSensitivity, ThrottleLookAhead, ThrottleScale, ThrottleSensitivity, YawLookAhead, YawScale
Used in object types (and how often in each type): ControlInfo (97%), ControlInfo3d (100%)
Used in a total of 104 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Soldiers, Bf1942/Levels
Example: (from objects/Vehicles/Land/Wespe/AI/Objects.con)
AiTemplatePlugIn.Create ControlInfo WespeCtrl
AiTemplatePlugIn.DriveTurnControl PIYaw
AiTemplatePlugIn.DriveThrottleControl PIThrottle
AiTemplatePlugIn.AimHorizontalControl PIYaw
AiTemplatePlugIn.AimVerticalControl PIMouseLookY
AiTemplatePlugIn.LookHorizontalControl PIYaw
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 0/0/0
AiTemplatePlugIn.SetCameraRelativeMaxRotationDeg 0/0/0
Go to the AiTemplatePlugIn properties list page, AiTemplatePlugIn page, All Properties list, or Main scripting page.