Usage:
ObjectTemplate.SetSoldierCrouchIcon
image
Argument values:
argument 1: | "Soldier/Icon_brit_soldier_crouching.tga", "Soldier/Icon_can_crouching.tga", "Soldier/Icon_fre_soldier_crouching.tga", "Soldier/Icon_ger_soldier_crouching.tga", "Soldier/Icon_it_soldier_crouching.tga", ... |
Description: This property sets the crouching icon on the in-game HUD to show a soldier's status.
See the HUD Icon Tutorial for details.
Related properties: SetSoldierProneIcon, SetSoldierStandingIcon
Used in a total of 12 .con files: Objects.con
Parent directory of these .con files: objects/Soldiers
Example: (from objects/Soldiers/FrenchSoldier/Objects.con)
include ../Common/CommonSoldierData.inc
rem Sound.addRunTimeDirectory Language English
Game.AddLanguageRunTimeDirectory French
include ../Common/Sounds/SoldierSound.inc
ObjectTemplate.SetSoldierStandingIcon "Soldier/Icon_fre_soldier_standing.tga"
ObjectTemplate.SetSoldierCrouchIcon "Soldier/Icon_fre_soldier_crouching.tga"
ObjectTemplate.SetSoldierProneIcon "Soldier/Icon_fre_soldier_lying.tga"
ObjectTemplate.SetMinimapIcon "flag_fre.tga"
ObjectTemplate.SetControlPointIcon "conp_fre.tga"
ObjectTemplate.SetTicketIcon "flag_ticket_fre.tga"
ObjectTemplate.SetTeamFlagIcon "Icon_flag_fre.tga"
ObjectTemplate.SetRadioLanguage "French"
ObjectTemplate.AddTemplate FrSoldierComplexHead
ObjectTemplate.SetRandomGeometries 3
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue 0.01
ObjectTemplate.BindToSkeletonPart Bip01_Spine3 3
ObjectTemplate.AddTemplate FrSoldierHead
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue -0.01
ObjectTemplate.AddTemplate FrSoldier3PBody
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.AddTemplate FrSoldier1PBody
ObjectTemplate.SetIsFirstPersonPart 1
ObjectTemplate.AddTemplate FrSoldierRightHand
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue 0.03
ObjectTemplate.AddTemplate FrSoldierLeftHand
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue 0.03
ObjectTemplate.AddTemplate 1PUSSoldierRightHand
ObjectTemplate.SetIsFirstPersonPart 1
ObjectTemplate.SetLodValue 0.03
ObjectTemplate.AddTemplate 1PUSSoldierLeftHand
ObjectTemplate.SetIsFirstPersonPart 1
ObjectTemplate.SetLodValue 0.03
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.