Usage:
ObjectTemplate.CanConvertToAmmo
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: This property is used exclusively in Battlefield Vietnam.
Used in object types (and how often in each type): PlayerControlObject (2%)
Used in a total of 6 .con files: Objects.con
Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/HandWeapons
Example: (from vietnamObjects/Vehicles/Land/MortarNVA/Objects.con)
ObjectTemplate.Create PlayerControlObject MortarNVA
ObjectTemplate.NetworkableInfo mortar_BodyInfoNVA
ObjectTemplate.Geometry Mortar_BaseNVA
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 0
ObjectTemplate.Haspointphysics 0
ObjectTemplate.ExplosionRadius 0
ObjectTemplate.ExplosionDamage 0
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 5
ObjectTemplate.Maxhitpoints 5
ObjectTemplate.Material 45
ObjectTemplate.GUIIndex 19
ObjectTemplate.CanConvertToAmmo 1
ObjectTemplate.VehicleIconPos 40/76
ObjectTemplate.NumberOfWeaponIcons 1
ObjectTemplate.CrossHairType CHTIcon
ObjectTemplate.CriticalDamage 2
ObjectTemplate.HpLostWhileDamageFromWater 20
ObjectTemplate.Drag .02
ObjectTemplate.Mass 2500
ObjectTemplate.CriticalDamage 1
ObjectTemplate.HpLostWhileCriticalDamage 0
ObjectTemplate.AddArmorEffect 0 e_scrapmetal_willy 0/0/0
ObjectTemplate.VehicleCategory VCLand
ObjectTemplate.VehicleType VTArtillery
ObjectTemplate.ArtPos 1
ObjectTemplate.DirBarXScale 70
ObjectTemplate.DirBarYScaleAbove 37.5
ObjectTemplate.DirBarYScaleBelow 0
ObjectTemplate.DirBarYScaleMin -90
ObjectTemplate.DirBarYScaleMax -45
ObjectTemplate.TimeToLiveAfterDeath 0
rem --------------------------------------------
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.AddTemplate mortarPointNVA
ObjectTemplate.SetPosition 0/0/0
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate MortarKneelingSeatNVA
ObjectTemplate.SetPosition 0/0/-0.2
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate mortarEntryNVA
ObjectTemplate.SetPosition 0/-0.1/-1
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate NVAMortarFrontSpringR
ObjectTemplate.SetPosition -0.2/0.17/-0.3
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate NVAMortarFrontSpringL
ObjectTemplate.SetPosition 0.2/0.17/-0.3
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate NVAMortarBackSpringR
ObjectTemplate.SetPosition -0.2/0.17/0.3
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate NVAMortarBackSpringL
ObjectTemplate.SetPosition 0.2/0.17/0.3
ObjectTemplate.SetRotation 0/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.