Usage:
ObjectTemplate.AutomaticPitchStabilization
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: When set to 1, it automatically stabilizes the pitch (up and down) rotation. Note that this property also has the name SetAutomaticPitchStabilization.
Related properties: AddTemplate, NetworkableInfo, SetPosition
Used in object types (and how often in each type): RotationalBundle (2%)
Used in a total of 8 .con files: Objects.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Land/SturmGeschutz/Objects.con)
rem *** SturmGeschutzMG42Console
ObjectTemplate.Create RotationalBundle SturmGeschutzMG42Console
ObjectTemplate.NetworkableInfo SturmGeschutzGunInfo
rem ObjectTemplate.geometry StuGIIIMGun_mount_M1
ObjectTemplate.SetMinRotation 0/-35/0
ObjectTemplate.SetMaxRotation 0/10/0
ObjectTemplate.SetPivotPosition 0/0/0
ObjectTemplate.SetMaxSpeed 0/90/0
ObjectTemplate.SetAcceleration 0/5000/0
ObjectTemplate.AutomaticPitchStabilization 1
ObjectTemplate.SetInputToYaw c_PINone
ObjectTemplate.SetInputToPitch c_PIMouseLookY
ObjectTemplate.SetInputToRoll c_PINone
rem -------------------------------
ObjectTemplate.AddTemplate MG42
ObjectTemplate.SetPosition 0/0.07/-0.10
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate SturmGeschutzCamera2
ObjectTemplate.SetPosition 0/0.3/-0.5
ObjectTemplate.SetRotation 0/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.