VehicleType Property [Vietnam]

Usage:
   ObjectTemplate.VehicleType name

Argument values:

argument 1:    VTATGun, VTApc, VTArtillery, VTFighter, VTHeavyTank, VTLcvp, VTLightTank, VTScoutCar; most commonly VTFighter

Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetVehicleType.

Related properties: VehicleCategory

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

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

Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/HandWeapons

Example: (from vietnamObjects/Vehicles/Land/UAZ/Objects.con)
   rem *** UAZ ***
   ObjectTemplate.Create PlayerControlObject UAZ
   ObjectTemplate.NameTagOffset -0.3/-0.2/0
   ObjectTemplate.NetworkableInfo UAZBodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.CullRadiusScale 5
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ExplosionRadius 8
   ObjectTemplate.ExplosionDamage 5
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.Drag 4
   ObjectTemplate.Mass 2800
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.SpeedMod 0.4
   rem ObjectTemplate.exitTimer 0.75
   ObjectTemplate.Hitpoints 50
   ObjectTemplate.Maxhitpoints 50
   ObjectTemplate.Material 45
   ObjectTemplate.CriticalDamage 6
   ObjectTemplate.HpLostWhileCriticalDamage 2
   ObjectTemplate.ExplosionForceMod 20
   ObjectTemplate.HpLostWhileUpSideDown 5
   ObjectTemplate.HpLostWhileDamageFromWater 5
   ObjectTemplate.AddArmorEffect 30 e_WillyDamage 0/1.7/0.9
   ObjectTemplate.AddArmorEffect 6 e_WillyFire 0/0.5/0.8
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal_willy 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/1.2/0.6
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.AiTemplate UAZ
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodUAZ
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation -1.5/0/-0.8 0/0/0
   ObjectTemplate.GUIIndex 26
   ObjectTemplate.VehicleIcon "Vehicle/icon_willy.dds"
   ObjectTemplate.VehicleIconPos 58/72
   ObjectTemplate.PrimaryAmmoBar ABNone
   ObjectTemplate.CrossHairType CHTNone
   ObjectTemplate.VehicleCategory VCLand
   ObjectTemplate.VehicleType VTScoutCar
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_willy_16x16.dds"
   ObjectTemplate.HasRestrictedExit 1


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