Usage:
ObjectTemplate.SetTeamFlagIcon
image
Argument values:
argument 1: | "Icon_flag_brit.tga", "Icon_flag_can.tga", "Icon_flag_fre.tga", "Icon_flag_ger.tga", "Icon_flag_it.tga", "Icon_flag_jp.tga", "Icon_flag_rus.tga", "Icon_flag_us.tga" |
Description: This property is used with the soldier spawn page. It sets the team flag in the upper left corner when you select your class (i.e. above all the classes).
See the HUD Icon Tutorial for details.
Related properties: SetKitIcon
Used in a total of 12 .con files: Objects.con
Parent directory of these .con files: objects/Soldiers
Example: (from objects/Soldiers/BritishCommandoSoldier/Objects.con)
include ../Common/CommonSoldierData.inc
rem Sound.addRunTimeDirectory Language English
Game.AddLanguageRunTimeDirectory English
include ../Common/Sounds/SoldierSound.inc
ObjectTemplate.SetSoldierStandingIcon "Soldier/icon_EliteBrit_soldier_standing.dds"
ObjectTemplate.SetSoldierCrouchIcon "Soldier/icon_EliteBrit_soldier_crouching.dds"
ObjectTemplate.SetSoldierProneIcon "Soldier/icon_EliteBrit_soldier_lying.dds"
ObjectTemplate.SetMinimapIcon "flag_brit.tga"
ObjectTemplate.SetControlPointIcon "conp_brit.tga"
ObjectTemplate.SetTicketIcon "flag_ticket_brit.tga"
ObjectTemplate.SetTeamFlagIcon "Icon_flag_brit.tga"
ObjectTemplate.SetRadioLanguage "English"
ObjectTemplate.AddTemplate BritCommandoComplexHead
ObjectTemplate.SetRandomGeometries 3
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue 0.01
ObjectTemplate.BindToSkeletonPart Bip01_Spine3 3
ObjectTemplate.AddTemplate BritCommandoHead
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue -0.01
ObjectTemplate.AddTemplate BritCommando3PBody
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.AddTemplate BritCommando1PBody
ObjectTemplate.SetIsFirstPersonPart 1
ObjectTemplate.AddTemplate BritCommandoRightHand
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue 0.03
ObjectTemplate.AddTemplate BritCommandoLeftHand
ObjectTemplate.SetIsFirstPersonPart 0
ObjectTemplate.SetLodValue 0.03
ObjectTemplate.AddTemplate 1PBritCommandoRightHand
ObjectTemplate.SetIsFirstPersonPart 1
ObjectTemplate.SetLodValue 0.03
ObjectTemplate.AddTemplate 1PBritCommandoLeftHand
ObjectTemplate.SetIsFirstPersonPart 1
ObjectTemplate.SetLodValue 0.03
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.