SetLodValue Property

Usage:
   ObjectTemplate.SetLodValue number

Argument values:

argument 1:    range is -0.01 to 0.03; most commonly 0.03

Related properties: AddTemplate, BindToSkeletonPart, CreateSkeleton, HeadIcon, SetIsFirstPersonPart

Used in object types (and how often in each type): BFSoldier (67%)

Used in a total of 36 .con files: Objects.con

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/GermanDesertSoldier/Objects.con)
   include ../Common/CommonSoldierData.inc
   rem Sound.addRunTimeDirectory Language German
   Game.AddLanguageRunTimeDirectory German
   include ../Common/Sounds/SoldierSound.inc
   ObjectTemplate.SetSoldierStandingIcon "Soldier/Icon_ger_soldier_standing.tga"
   ObjectTemplate.SetSoldierCrouchIcon "Soldier/Icon_ger_soldier_crouching.tga"
   ObjectTemplate.SetSoldierProneIcon "Soldier/Icon_ger_soldier_lying.tga"
   ObjectTemplate.SetMinimapIcon "flag_ger.tga"
   ObjectTemplate.SetControlPointIcon "conp_ger.tga"
   ObjectTemplate.SetTicketIcon "flag_ticket_ger.tga"
   ObjectTemplate.SetTeamFlagIcon "Icon_flag_ger.tga"
   ObjectTemplate.SetRadioLanguage "German"
   ObjectTemplate.AddTemplate GerSoldierComplexHead
   ObjectTemplate.SetRandomGeometries 3
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.01
   ObjectTemplate.BindToSkeletonPart Bip01_Spine3 3
   ObjectTemplate.AddTemplate GerSoldierHead
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue -0.01
   ObjectTemplate.AddTemplate DesGerSoldier3PBody
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.AddTemplate DesGerSoldier1PBody
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.AddTemplate GerSoldierRightHand
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate GerSoldierLeftHand
   ObjectTemplate.SetIsFirstPersonPart 0
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate 1PGerSoldierRightHand
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.SetLodValue 0.03
   ObjectTemplate.AddTemplate 1PGerSoldierLeftHand
   ObjectTemplate.SetIsFirstPersonPart 1
   ObjectTemplate.SetLodValue 0.03


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