Usage:
ObjectTemplate.InertiaModifier
x/y/z
Argument values:
argument 1: | 0.6/0.6/0.3, 0.775/0.825/0.825, 0.85/0.833/0.84, 0.917/0.71/0.784, 0.95/0.943/0.968, 1.02/0.855/0.922, 1.05/0.850/0.94, 1.12/1.12/1.12, 1.125/1.086/1.12, 1.4013e-045/1.4013e-045/1.4013e-045, 1.71971e-039/1.71971e-039/1.71971e-039, ... |
Description: Inertia is basically an object's "desire" to maintain its current speed. It will affect acceleration and decelleration, and is more important for vehicles like carriers than for planes (though this also has to do with the Mass). It affects the rate of change of turning the object on each axis. 0/0/0 makes the object move freely in all directions with no inertia. 1/1/1 makes the object continue to move in its current direction, so modifying the control.
Related properties: Drag, Mass
Used in object types (and how often in each type): EffectBundle (1%), Emitter (17%), PlayerControlObject (11%)
Used in a total of 104 .con files: Effects.con, Objects.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from Bf1942/Levels/Battle_of_Britain/Objects/Ju88A/Objects.con)
rem *** Ju88A ***
ObjectTemplate.Create PlayerControlObject Ju88A
ObjectTemplate.NameTagOffset 0/0.6/3.05
ObjectTemplate.SetNetworkableInfo Ju88ABodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.CullRadiusScale 5
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.Drag 0.005
ObjectTemplate.Mass 15000
ObjectTemplate.InertiaModifier 0.6/0.6/0.3
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.ExplosionRadius 8
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.HasArmor 1
ObjectTemplate.AngleMod 1
ObjectTemplate.SpeedMod 3
ObjectTemplate.Hitpoints 300
ObjectTemplate.Maxhitpoints 300
ObjectTemplate.Material 60
ObjectTemplate.CriticalDamage 30
ObjectTemplate.HpLostWhileCriticalDamage 4
ObjectTemplate.ExplosionForceMod 5
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.HpLostWhileDamageFromWater 10
ObjectTemplate.AddArmorEffect 200 em_B17Damage -2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 200 em_PlaneDamage -2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 100 em_B17Damage -2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 100 em_PlaneDamage -2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 100 em_B17Damage 2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 100 em_PlaneDamage 2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 30 e_StukaFire -2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 30 e_StukaFire 2.984/-0.127/4.4
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.AddArmorEffect 0 e_ScrapMetal_Ju88A 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.DamageFromWater 1
ObjectTemplate.AiTemplate B17
rem -------------------------------------
ObjectTemplate.AddTemplate lodJu88A
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -1.399/-1.299/5.05 0/0/0
ObjectTemplate.GUIIndex 28
ObjectTemplate.SetVehicleIcon "Vehicle/Junker_Icon.tga"
ObjectTemplate.SetVehicleIconPos 82/113
ObjectTemplate.SetNumberOfWeaponIcons 1
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_bomb.tga"
ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.SetCrossHairType CHTNone
ObjectTemplate.SetVehicleCategory VCAir
ObjectTemplate.SetVehicleType VTBomber
ObjectTemplate.SetToolTipType TTBomber
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_plane_16x16.tga"
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.