Usage:
ObjectTemplate.SetMinimapIconSize
number
Argument values:
argument 1: | range is 32 to 64; most commonly 64 |
Description: Sets the icon's size on the minimap to be larger. Used for the capital ships to make their icons appear larger. The default size is 16.
Related properties: SetCrossHairType, SetMinimapIcon, SetPrimaryAmmoBar, SetToolTipType, SetVehicleCategory
Used in object types (and how often in each type): PlayerControlObject (13%)
Used in a total of 10 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Sea/Shokaku/Objects.con)
rem *** Shokaku ***
ObjectTemplate.Create PlayerControlObject Shokaku
ObjectTemplate.SetNetworkableInfo ShokakuBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.Drag 1.97
ObjectTemplate.Mass 25000000
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 600
ObjectTemplate.Maxhitpoints 600
ObjectTemplate.Material 55
ObjectTemplate.CriticalDamage 100
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.ExplosionForceMod 5
ObjectTemplate.DontClearTeamOnExit 1
ObjectTemplate.AddArmorEffect 500 em_ExFumePOW 21/10/-2
ObjectTemplate.AddArmorEffect 500 em_ExFumePOW 22/10/8
ObjectTemplate.AddArmorEffect 350 em_ExFumePOW 21/10/-2
ObjectTemplate.AddArmorEffect 350 em_ExFumePOW 22/10/8
ObjectTemplate.AddArmorEffect 350 em_ShokakuDamage 0/0/0
ObjectTemplate.AddArmorEffect 150 em_ShokakuDamage 0/0/0
ObjectTemplate.AddArmorEffect 150 e_waterBoatSink 0/5/0
ObjectTemplate.AddArmorEffect 100 em_ShokakuDamage 0/0/0
ObjectTemplate.AddArmorEffect 100 e_waterBoatSink 0/5/0
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 19/6/-5
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 17/2/-45
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 14/2/-85
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 10/2/-115
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 13/3/25
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 18/3/45
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 16/2/65
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 14/2/85
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/3/120
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/6/35
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/5/-25
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/15/-5
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf 0/3/-90
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -19/6/-5
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -17/3/-35
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -14/2/-75
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -10/2/-115
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -13/3/25
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -18/3/45
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -16/2/65
ObjectTemplate.AddArmorEffect 100 e_waterBoatSinkEf -14/2/85
ObjectTemplate.AiTemplate Shokaku
rem -------------------------------------
ObjectTemplate.AddTemplate lodShokaku
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition 0/11/130
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition -7.999/11/60
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition 8/11/60
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition -9.999/11/0
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition 10/11/0
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition -7.999/11/-59.999
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition 8/11/-59.999
ObjectTemplate.AddTemplate ShokakuFloater
ObjectTemplate.SetPosition 0/11/-129.999
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation 15.39/17.93/35.77 180/0/0
ObjectTemplate.GUIIndex 94
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_shokaku.tga"
ObjectTemplate.SetVehicleIconPos 65/85
ObjectTemplate.SetPrimaryAmmoBar ABNone
ObjectTemplate.SetCrossHairType CHTNone
ObjectTemplate.SetVehicleCategory VCSea
ObjectTemplate.SetVehicleType VTCarrier
ObjectTemplate.SetToolTipType TTCarrier
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_aircraft_carrier_64x64.tga"
ObjectTemplate.SetMinimapIconSize 64
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.