GUIIndex Property

Usage:
   ObjectTemplate.GUIIndex number

Argument values:

argument 1:    range is 1 to 115; most commonly 29

Description: The GUIIndex refers to menu items within the menu files. It specifies what icon is displayed when a soldier is occupying a particular vehicle position.

Used in object types (and how often in each type): FireArms (4%), HandFireArms (99%), PlayerControlObject (99%)

Used in a total of 238 .con files: Objects.con, Weapons.con

Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Objectives, objects/HandWeapons, Bf1942/Levels

Example: (from objects/Vehicles/Sea/Hatsuzuki/Objects.con)
   rem *** Hatsuzuki ***
   ObjectTemplate.Create PlayerControlObject Hatsuzuki
   ObjectTemplate.SetNetworkableInfo HatsuzukiBodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.Drag 0.92
   ObjectTemplate.Mass 2500000
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.Hitpoints 300
   ObjectTemplate.Maxhitpoints 300
   ObjectTemplate.Material 55
   ObjectTemplate.CriticalDamage 50
   ObjectTemplate.HpLostWhileCriticalDamage 10
   ObjectTemplate.ExplosionForceMod 8
   ObjectTemplate.DontClearTeamOnExit 1
   ObjectTemplate.AddArmorEffect 200 em_ExFumePOW 0/20/-1
   ObjectTemplate.AddArmorEffect 200 em_ExFumePOW 0/20/-1
   ObjectTemplate.AddArmorEffect 150 e_HatsuzukiDamage 0/0/0
   ObjectTemplate.AddArmorEffect 150 e_HatsuzukiDamage 0/0/0
   ObjectTemplate.AddArmorEffect 100 e_waterBoatSink 0/10/0
   ObjectTemplate.AddArmorEffect 100 e_HatsuzukiDamage 0/0/0
   ObjectTemplate.AddArmorEffect 100 e_HatsuzukiDamage 0/0/0
   ObjectTemplate.AddArmorEffect 50 e_HatsuzukiDamage 0/0/0
   ObjectTemplate.AddArmorEffect 50 e_waterBoatSink 0/10/0
   ObjectTemplate.AddArmorEffect 50 e_waterBoatSinkEf 0/2/-5
   ObjectTemplate.AddArmorEffect 50 e_waterBoatSinkEf 0/2/32
   ObjectTemplate.AddArmorEffect 50 e_waterBoatSinkEf 0/2/-35
   ObjectTemplate.AiTemplate HatsuzukiAI
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodHatsuzuki
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition -1.999/9.5/50
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition 2/9.5/50
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition -4.999/9.5/17
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition 5/9.5/17
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition -4.999/9.5/-16.999
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition 5/9.5/-16.999
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition -1.999/9.5/-49.999
   ObjectTemplate.AddTemplate HatsuzukiFloater
   ObjectTemplate.SetPosition 2/9.5/-49.999
   ObjectTemplate.AddTemplate HatsuzukiDriverSoldierSpawn
   ObjectTemplate.SetPosition 0/12/26
   ObjectTemplate.AddTemplate HatsuzukiSoldierSpawn
   ObjectTemplate.SetPosition 4/9.4/-57
   ObjectTemplate.AddTemplate HatsuzukiSoldierSpawn
   ObjectTemplate.SetPosition -4/9.4/-57
   ObjectTemplate.AddTemplate HatsuzukiDaihatsuSpawner
   ObjectTemplate.SetPosition -7.7/8.55/-56.25
   ObjectTemplate.SetRotation -3/0/0
   ObjectTemplate.AddTemplate HatsuzukiDaihatsuSpawner
   ObjectTemplate.SetPosition 7.7/8.55/-56.25
   ObjectTemplate.SetRotation 3/0/0
   rem -------------------------------------
   ObjectTemplate.SetPcoId 0
   ObjectTemplate.AddPcoPosId 1
   ObjectTemplate.SonarPos 1
   ObjectTemplate.SetSoldierExitLocation 0/12/26 0/0/0
   ObjectTemplate.GUIIndex 91
   ObjectTemplate.SetVehicleIcon "Vehicle/Icon_hatsuzuki.tga"
   ObjectTemplate.SetVehicleIconPos 85/90
   ObjectTemplate.SetNumberOfWeaponIcons 2
   ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
   ObjectTemplate.SetPrimaryAmmoBar ABReloadBarOnly
   ObjectTemplate.SetSecondaryAmmoIcon "Ammo/Icon_depthcharge.tga"
   ObjectTemplate.SetSecondaryAmmoBar ABAmmoBarReloadBar
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetVehicleCategory VCSea
   ObjectTemplate.SetVehicleType VTDestroyer
   ObjectTemplate.SetToolTipType TTDestroyer
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_destoyer_32x32.tga"
   ObjectTemplate.SetMinimapIconSize 32


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