Usage:
ObjectTemplate.ArtPos
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: Enables the artillery user interface for the object when the user right clicks. The vehicle type set with SetVehicleType is normally VTArtillery, VTDefGun, VTBattleship, or VTDestroyer, but can actually be anything.
Related properties: CVMExternTrace, DirBarXScale, DirBarYScaleAbove, DirBarYScaleBelow, DirBarYScaleMax
Used in object types (and how often in each type): PlayerControlObject (6%)
Used in a total of 17 .con files: Objects.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Sea/Yamato/Objects.con)
rem *** Yamato ***
ObjectTemplate.Create PlayerControlObject Yamato
ObjectTemplate.AiTemplate YamatoAI
ObjectTemplate.SetNetworkableInfo YamatoBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.CullRadiusScale 5
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.Drag 2.6
ObjectTemplate.Mass 35000000
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 600
ObjectTemplate.Maxhitpoints 600
ObjectTemplate.Material 55
ObjectTemplate.CriticalDamage 100
ObjectTemplate.HpLostWhileCriticalDamage 5
ObjectTemplate.ExplosionForceMod 5
ObjectTemplate.DontClearTeamOnExit 1
ObjectTemplate.AddArmorEffect 400 em_ExFumePOW 0/35/-25
ObjectTemplate.AddArmorEffect 350 em_ExFumePOW 0/35/-25
ObjectTemplate.AddArmorEffect 350 em_YamatoDamage 0/0/0
ObjectTemplate.AddArmorEffect 350 em_YamatoDamage 0/0/20
ObjectTemplate.AddArmorEffect 350 em_YamatoDamage 0/0/-30
ObjectTemplate.AddArmorEffect 150 em_YamatoDamage 0/0/0
ObjectTemplate.AddArmorEffect 150 em_YamatoDamage 0/0/20
ObjectTemplate.AddArmorEffect 150 em_YamatoDamage 0/0/-30
ObjectTemplate.AddArmorEffect 150 e_waterBoatSink 0/10/0
ObjectTemplate.AddArmorEffect 100 em_YamatoDamage 0/0/0
ObjectTemplate.AddArmorEffect 100 em_YamatoDamage 0/0/20
ObjectTemplate.AddArmorEffect 100 em_YamatoDamage 0/0/-30
ObjectTemplate.AddArmorEffect 100 e_waterBoatSink 0/10/0
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 19/6/-5
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 17/2/-45
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 14/2/-85
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 10/2/-115
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 13/3/25
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 18/3/45
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 16/2/65
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 14/2/85
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/3/115
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/6/35
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/5/-25
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/15/-5
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/3/-90
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -19/6/-5
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -17/3/-35
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -14/2/-75
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -10/2/-115
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -13/3/25
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -18/3/45
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -16/2/65
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -14/2/85
rem -------------------------------------
ObjectTemplate.AddTemplate lodYamato
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition -1.999/10.5/50
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition 2/10.5/50
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition -4.999/10.5/17
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition 5/10.5/17
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition -4.999/10.5/-16.999
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition 5/10.5/-16.999
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition -1.999/10.5/-49.999
ObjectTemplate.AddTemplate YamatoFloater
ObjectTemplate.SetPosition 2/10.5/-49.999
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -1.6/11.9/25.2 210/0/0
ObjectTemplate.GUIIndex 55
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_yamato.tga"
ObjectTemplate.SetVehicleIconPos 66/78
ObjectTemplate.SetNumberOfWeaponIcons 1
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.SetPrimaryAmmoBar ABReloadBarOnly
ObjectTemplate.SetCrossHairType CHTIcon
ObjectTemplate.SetVehicleCategory VCSea
ObjectTemplate.SetVehicleType VTBattleship
ObjectTemplate.SetToolTipType TTBattleship
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_battleship_64x64.tga"
ObjectTemplate.SetMinimapIconSize 64
ObjectTemplate.ArtPos 1
ObjectTemplate.DirBarXScale 110
ObjectTemplate.DirBarYScaleAbove 15
ObjectTemplate.DirBarYScaleBelow 1
ObjectTemplate.DirBarYScaleMin -92
ObjectTemplate.DirBarYScaleMax -75
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.