FadeAtTimeToLiveAfterDeath Property

Usage:
   ObjectTemplate.FadeAtTimeToLiveAfterDeath boolean

Argument values:

argument 1:    0, 1; most commonly 0

Description: A boolean that determines if an object will fade over time after it dies. The TimeToStartFadeAfterDeath determines when the wreck begins to fade. Whatever the setting, the wreck or body or whatever will disappear entirely at TimeToLiveAfterDeath.

FadeAtTimeToLiveAfterDeath is normally set to 1, but the Defgun has it set to 0. This is because of the way the Defgun regenerates: when it dies, it is replaced by a wrecked gun model. When it respawns, the old object is replaced, turning back into a shiny new gun.

Related properties: TimeToLiveAfterDeath, TimeToStartFadeAfterDeath

Used in object types (and how often in each type): Bundle (1%), PlayerControlObject (5%), simpleobject (1%)

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

Parent directories of these .con files: objects/Vehicles, objects/Objectives, objects/MOVE_FILES

Example: (from objects/Objectives/Telemark_Turbines/Objects.con)
   rem *** Telemark_Turbines ***
   ObjectTemplate.Create PlayerControlObject Telemark_Turbines
   ObjectTemplate.SetNetworkableInfo Telemark_TurbinesBodyInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.Hitpoints 675
   ObjectTemplate.Maxhitpoints 675
   ObjectTemplate.Material 76
   ObjectTemplate.CriticalDamage 12
   ObjectTemplate.HpLostWhileCriticalDamage 1
   ObjectTemplate.AddArmorEffect 30 e_DefGunDamage 0/6/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal 0/20/0
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/10/0
   ObjectTemplate.TimeToLiveAfterDeath 9999
   ObjectTemplate.FadeAtTimeToLiveAfterDeath 0
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodTelemark_Turbines
   ObjectTemplate.GUIIndex 67
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_blank_16x16.dds"


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