Usage:
ObjectTemplate.VehicleCategory
name
Argument values:
argument 1: | VCAir, VCLand, VCPassenger, VCSea; most commonly VCLand |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetVehicleCategory.
Related properties: GUIIndex, VehicleIconPos
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/Air/UH1Assault/Objects.con)
rem *** UH1_assault ***
ObjectTemplate.Create PlayerControlObject UH1Assault
ObjectTemplate.NetworkableInfo UH1AssaultBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.TimeToLiveAfterDeath 6
ObjectTemplate.Drag 3
ObjectTemplate.Mass 7000
ObjectTemplate.InertiaModifier 1/1/1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.ExplosionRadius 12
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.HasArmor 1
ObjectTemplate.AngleMod 1
ObjectTemplate.SpeedMod 2
ObjectTemplate.Hitpoints 100
ObjectTemplate.Maxhitpoints 100
ObjectTemplate.Material 60
ObjectTemplate.CriticalDamage 10
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.ExplosionForceMod 15
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.HpLostWhileDamageFromWater 10
ObjectTemplate.AddArmorEffect 35 em_StukaDamage 0/-0.15/-2.95
ObjectTemplate.AddArmorEffect 35 em_PlaneDamage 0/-0.15/-2.95
ObjectTemplate.AddArmorEffect 25 e_soundalarm1 0/0/0
ObjectTemplate.AddArmorEffect 25 em_PlaneDamage 0/-0.15/-2.95
ObjectTemplate.AddArmorEffect 25 em_StukaDamage 0/0.8/-0.029
ObjectTemplate.AddArmorEffect 25 em_PlaneDamage 0/0.8/-0.029
ObjectTemplate.AddArmorEffect 15 e_soundalarm1 0/0/0
ObjectTemplate.AddArmorEffect 15 e_soundalarm2 0/0/0
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage 0/-0.15/-2.95
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage 0/0.8/-0.029
ObjectTemplate.AddArmorEffect 15 em_StukaDamage -0.109/0.9/-8.729
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage -0.109/0.9/-8.729
rem ObjectTemplate.addArmorEffect 10 e_soundalarm1 0/0/0
rem ObjectTemplate.addArmorEffect 15 e_soundalarm2 0/0/0
ObjectTemplate.AddArmorEffect 10 e_StukaFire 0/-0.15/-2.95
ObjectTemplate.AddArmorEffect 0 e_scrapmetal_UH1 0/0/0
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/-1.158/0.94
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.DamageFromWater 1
ObjectTemplate.AiTemplate UH1Ass
ObjectTemplate.RegulatePitchInput c_PIPitch
ObjectTemplate.RegulateYawInput c_PIYaw
ObjectTemplate.RegulateRollInput c_PIRoll
ObjectTemplate.RegulatePitch -0.09/0.5
ObjectTemplate.RegulateYaw -0.065/0.5
ObjectTemplate.RegulateRoll 0.20/0.3
ObjectTemplate.RegulateVerticalPosInput c_PIThrottle
ObjectTemplate.RegulateVerticalPos -0.3/0.9
ObjectTemplate.MaxVertRegAngle 10
ObjectTemplate.NoVertRegAngle 14
rem -------------------------------------
ObjectTemplate.AddTemplate lodUH1_Assault
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -3/0/2.5 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.VehicleIcon "Vehicle/icon_uh1assault.dds"
ObjectTemplate.HasGyroScope 1
ObjectTemplate.VehicleIconPos 94/90
ObjectTemplate.NumberOfWeaponIcons 1
ObjectTemplate.PrimaryAmmoIcon "Ammo/Icon_Cannon.tga"
ObjectTemplate.PrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.CrossHairType CHTIcon
ObjectTemplate.VehicleCategory VCAir
ObjectTemplate.VehicleType VTFighter
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_huey_16x16.dds"
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.