SetMaxSpeed Property

Usage:
   ObjectTemplate.SetMaxSpeed x/y/z

Argument values:

argument 1:    -30/0/-30, 0/-10/15, 0/-110/0, 0/0.1/0, 0/0/0, 0/0/10, 0/0/1000, 0/0/10000, 0/0/100000, 0/0/110, 0/0/11000, 0/0/15, 0/0/1500, 0/0/17500, 0/0/180, 0/0/200, 0/0/25, 0/0/28, 0/0/30, 0/0/32, 0/0/35, 0/0/480, ...

Description: When used in Objects.con, this is the maximum speed an object rotates in a plane of rotation in response to the mouse. See SetRotation for an explanation of the planes of rotation.

When used in Physics.con, this has a different meaning. See SetMinRotation. All these settings (SetMinRotation, SetMaxRotation, SetMaxSpeed, and SetAcceleration) control how an engine responds to player input, they do not otherwise change the speed chracteristics of a vehicle in any other way.

Related properties: SetAcceleration, SetMinRotation, SetMaxRotation, SetRotation

Used in object types (and how often in each type): Camera (66%), Engine (63%), FloatingBundle (10%), LandingGear (69%), RotationalBundle (71%), Wing (77%)

Used in a total of 168 .con files: Objects.con, Physics.con, Weapons.con

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

Example: (from objects/Vehicles/Land/LVT4/Objects.con)
   rem *** WaterBuffaloCamera ***
   ObjectTemplate.Create Camera WaterBuffaloCamera
   ObjectTemplate.SetMinRotation -8/-40/0
   ObjectTemplate.SetMaxRotation 8/6/0
   ObjectTemplate.SetPivotPosition 0/0/0
   ObjectTemplate.SetMaxSpeed 20/20/0
   ObjectTemplate.SetAcceleration 1000/1000/0


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.