Usage:
ObjectTemplate.SetMinimapIcon
image
Argument values:
argument 1: | "Minimap/minimap_icon_Factory_32x32.tga", "Minimap/minimap_icon_PT_Boat.tga", "Minimap/minimap_icon_Radar_32x32.tga", "Minimap/minimap_icon_SAM_16x16.dds", "Minimap/minimap_icon_aircraft_carrier_64x64.tga", ... |
Description: This property says what icon is used to represent a vehicle on the minimap.
See the HUD Icon Tutorial for details.
Related properties: SetControlPointIcon, SetTicketIcon, SetMinimapIconSize
Used in object types (and how often in each type): PlayerControlObject (69%)
Used in a total of 132 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Soldiers, objects/Objectives, Bf1942/Levels
Example: (from objects/Vehicles/Land/AT25/Objects.con)
rem *** AT25 ***
ObjectTemplate.Create PlayerControlObject AT25
ObjectTemplate.SetNetworkableInfo AT25BodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
rem ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 50
ObjectTemplate.Maxhitpoints 50
ObjectTemplate.Material 45
ObjectTemplate.AddArmorEffect 35 e_AA-GunDamage 0/0.3/0
ObjectTemplate.AddArmorEffect 0 e_ScrapAT25 0/1.2/0
ObjectTemplate.AddArmorEffect 0 e_ScrapMetal 0/1.2/0
ObjectTemplate.AiTemplate AT25
ObjectTemplate.TimeToLiveAfterDeath 0
ObjectTemplate.Geometry AT25_Bottom_m1
rem -------------------------------------
ObjectTemplate.AddTemplate AT25Entry
ObjectTemplate.AddTemplate AT25Frame
ObjectTemplate.SetPosition 0/-0.109/0
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -2/0.5/0 0/0/0
ObjectTemplate.GUIIndex 19
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_at25.tga"
ObjectTemplate.SetVehicleIconPos 40/75
ObjectTemplate.SetNumberOfWeaponIcons 1
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.SetCrossHairType CHTIcon
ObjectTemplate.SetVehicleCategory VCLand
ObjectTemplate.SetVehicleType VTATGun
ObjectTemplate.SetToolTipType TTATGun
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_stationary_16x16.dds"
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.