Camera Type
The Camera object type is created by ObjectTemplate.Create.
A camera object is what Battlefield 1942 uses to control the players viewing position inside
a PlayerControlObject. This is where the different types of camera view points (like the
chase and external views) are enabled/disabled, as well as the mouselook controls. Most of
the properties are similar to RotationalBundle.
Used in a total of 118 .con files: Objects.con Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Soldiers, Bf1942/Levels
Example: (from objects/Vehicles/Sea/Lcvp/Objects.con) Properties used with this type of object: Go to the ObjectTemplate type list page, ObjectTemplate page, All Types list, Class list, CON file list, or Main scripting page.
rem *** Lcvp_Camera_For_PCO1 ***
ObjectTemplate.Create Camera Lcvp_Camera_For_PCO1
ObjectTemplate.SetMaxSpeed 0/0/0
ObjectTemplate.SetAcceleration 0/0/0
ObjectTemplate.SetInputToYaw c_PIMouseLookX
ObjectTemplate.SetInputToPitch c_PIMouseLookY
ObjectTemplate.Acceleration
ObjectTemplate.AddTemplate
ObjectTemplate.ContinousRotationSpeed
ObjectTemplate.Create
ObjectTemplate.CVMChase
ObjectTemplate.CVMExternTrace
ObjectTemplate.CVMFlyBy
ObjectTemplate.CVMFrontChase
ObjectTemplate.CVMInside
ObjectTemplate.CVMTrace
ObjectTemplate.HasTarget
ObjectTemplate.InputToPitch
ObjectTemplate.InputToRoll
ObjectTemplate.InputToYaw
ObjectTemplate.MaxRotation
ObjectTemplate.MaxSpeed
ObjectTemplate.MinRotation
ObjectTemplate.NetworkableInfo
ObjectTemplate.OutsideHudOffset
ObjectTemplate.PivotPosition
ObjectTemplate.SetAcceleration
ObjectTemplate.SetAutomaticPitchStabilization
ObjectTemplate.SetAutomaticYawStabilization
ObjectTemplate.SetContinousRotationSpeed
ObjectTemplate.SetHasTarget
ObjectTemplate.SetInputToPitch
ObjectTemplate.SetInputToRoll
ObjectTemplate.SetInputToYaw
ObjectTemplate.SetMaxRotation
ObjectTemplate.SetMaxSpeed
ObjectTemplate.SetMinRotation
ObjectTemplate.SetPivotPosition
ObjectTemplate.SetPosition
ObjectTemplate.ToggleMouseLook