Usage:
ObjectTemplate.VehicleIcon
image
Argument values:
argument 1: | "Vehicle/Icon_Sherman.tga", "Vehicle/Icon_Willy.tga", "Vehicle/Icon_at25.tga", "Vehicle/Icon_bm21.dds", "Vehicle/Icon_m46.dds", "Vehicle/Icon_pak40.tga", "Vehicle/Icon_willy.tga", "Vehicle/icon_T54.dds", ... |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetVehicleIcon.
Related properties: AddTemplate, GUIIndex, SetSoldierExitLocation, VehicleCategory, VehicleIconPos
Used in object types (and how often in each type): PlayerControlObject (23%)
Used in a total of 28 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Air/Cobra/Objects.con)
rem *** Cobra ***
ObjectTemplate.Create PlayerControlObject Cobra
ObjectTemplate.NetworkableInfo CobraBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.TimeToLiveAfterDeath 6
ObjectTemplate.Drag 3
ObjectTemplate.Mass 10000
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/1.0/-3.309
ObjectTemplate.AddArmorEffect 35 em_PlaneDamage 0/1.0/-3.309
ObjectTemplate.AddArmorEffect 25 e_soundalarm1 0/0/0
ObjectTemplate.AddArmorEffect 25 em_PlaneDamage 0/1.0/-3.309
ObjectTemplate.AddArmorEffect 25 em_StukaDamage 0/1.6/-0.029
ObjectTemplate.AddArmorEffect 25 em_PlaneDamage 0/1.6/-0.029
ObjectTemplate.AddArmorEffect 15 e_soundalarm1 0/0/0
ObjectTemplate.AddArmorEffect 15 e_soundalarm2 0/0/0
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage 0/1.2/-3.309
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage 0/1.6/-0.029
ObjectTemplate.AddArmorEffect 15 em_StukaDamage -0.209/2.7/-11.429
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage -0.209/2.7/-11.429
rem ObjectTemplate.addArmorEffect 10 e_soundalarm1 0/0/0
rem ObjectTemplate.addArmorEffect 15 e_soundalarm2 0/0/0
ObjectTemplate.AddArmorEffect 10 e_StukaFire 0/1.0/-3.309
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/-1.158/0.94
ObjectTemplate.AddArmorEffect 0 e_scrapmetal_UH1 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.DamageFromWater 1
ObjectTemplate.AiTemplate Cobra
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 lodCobra
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -1.781/-0.719/1.616 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.VehicleIcon "Vehicle/icon_cobra.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.