DirBarYScaleMax Property

Usage:
   ObjectTemplate.DirBarYScaleMax number

Argument values:

argument 1:    range is -80 to -30; most commonly -45

Description: One of the controls of the vertical sensitivity in the artillery view.

Related properties: ArtPos, DirBarXScale, DirBarYScaleAbove, DirBarYScaleBelow

Used in object types (and how often in each type): PlayerControlObject (6%)

Used in a total of 18 .con files: Objects.con

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Sea/Hatsuzuki/Objects.con)
   rem *** HatsuzukiRearPCO ***
   ObjectTemplate.Create PlayerControlObject HatsuzukiRearPCO
   ObjectTemplate.SetNetworkableInfo HatsuzukiBodyInfo
   ObjectTemplate.AiTemplate HatsuzukiRearGunAI
   rem -------------------------------------
   ObjectTemplate.AddTemplate HatsuzukiCannon
   ObjectTemplate.SetPosition -0.203/12.616/-27.53
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate HatsuzukiCannon
   ObjectTemplate.SetPosition -0.203/9.201/-37.2
   ObjectTemplate.SetRotation -179.999/0/0
   ObjectTemplate.AddTemplate HatsuzukiEntry
   ObjectTemplate.SetPosition 0/9/-35.499
   rem -------------------------------------
   ObjectTemplate.SetPcoId 1
   ObjectTemplate.AddPcoPosId 0
   ObjectTemplate.SetSoldierExitLocation -0.1/11/-29.9 120/0/0
   ObjectTemplate.GUIIndex 92
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_hatsuzuki.tga"
   ObjectTemplate.SetVehicleIconPos 30/65
   ObjectTemplate.SetNumberOfWeaponIcons 1
   ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
   ObjectTemplate.SetPrimaryAmmoBar ABReloadBarOnly
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetVehicleCategory VCSea
   ObjectTemplate.SetVehicleType VTDestroyer
   ObjectTemplate.SetToolTipType TTDestroyer
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_destoyer_32x32.tga"
   ObjectTemplate.SetMinimapIconSize 32
   ObjectTemplate.ArtPos 1
   ObjectTemplate.DirBarXScale 110
   ObjectTemplate.DirBarYScaleAbove 60
   ObjectTemplate.DirBarYScaleBelow 4
   ObjectTemplate.DirBarYScaleMin -95
   ObjectTemplate.DirBarYScaleMax -30
   ObjectTemplate.DirBarRotate 180


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