Usage:
ObjectTemplate.SetHeatBarType
name
Argument values:
argument 1: | B; most commonly B |
Description: This property is used to show the blue "fuel" bar for vehicles such as the Natter and Wasserfall.
Related properties: HeatIncrement, InverseHeatBar
Used in object types (and how often in each type): Engine (1%)
Used in a total of 2 .con files: Physics.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Air/Natter/Physics.con)
rem *** NatterEngine ***
ObjectTemplate.Create Engine NatterEngine
ObjectTemplate.SetNetworkableInfo Natter_engine_info
ObjectTemplate.LoadSoundScript Sounds/NatterEngine.ssc
rem -------------------------------------
ObjectTemplate.AddTemplate NatterLandingGearL
ObjectTemplate.SetPosition -0.245/0.65/2.543
ObjectTemplate.AddTemplate NatterLandingGearR
ObjectTemplate.SetPosition 0.246/0.65/2.543
ObjectTemplate.AddTemplate NatterLandingGearBL
ObjectTemplate.SetPosition -0.245/0.65/-2.543
ObjectTemplate.AddTemplate NatterLandingGearBR
ObjectTemplate.SetPosition 0.246/0.65/-2.543
rem -------------------------------------
ObjectTemplate.SetMinRotation -0.3/0/80
ObjectTemplate.SetMaxRotation 0.3/0/80
ObjectTemplate.SetMaxSpeed 1000/0/100
ObjectTemplate.SetAcceleration 500/0/10000
ObjectTemplate.SetInputToRoll c_PIThrottle
ObjectTemplate.SetAutomaticReset 1
ObjectTemplate.SetEngineType c_ETPlane
ObjectTemplate.SetTorque 500
ObjectTemplate.SetDifferential 5
ObjectTemplate.SetGearUp 0.7
ObjectTemplate.SetGearDown 0.3
ObjectTemplate.SetNoPropellerEffectAtSpeed 85
ObjectTemplate.HeatIncrement 0.0003
ObjectTemplate.InverseHeatBar 1
ObjectTemplate.SetHeatBarType B
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.