Usage:
ObjectTemplate.ExplosionForce
number
Argument values:
argument 1: | range is 0 to 1.0; most commonly 0 |
Description: Used in rafts.
Related properties: ExplosionDamage, ExplosionForceMax, ExplosionForceMod, ExplosionRadius
Used in object types (and how often in each type): PlayerControlObject (1%)
Used in a total of 4 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Sea/Raft/Objects.con)
rem *** Dingy ***
ObjectTemplate.Create PlayerControlObject Raft
ObjectTemplate.SetNetworkableInfo DingyBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.Drag 0.288
ObjectTemplate.Mass 2000
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 50
ObjectTemplate.Maxhitpoints 50
ObjectTemplate.Material 45
ObjectTemplate.CriticalDamage 6
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.ExplosionForceMod 0
ObjectTemplate.ExplosionRadius 3.0
ObjectTemplate.ExplosionDamage 1.0
ObjectTemplate.ExplosionForce 1.0
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.AddArmorEffect 7 em_DingyDamage 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.AiTemplate DingyAI
rem -------------------------------------
ObjectTemplate.AddTemplate lodDingy
ObjectTemplate.AddTemplate Dingy_Floater
ObjectTemplate.SetPosition 1.7/-0.25/-4.499
ObjectTemplate.AddTemplate Dingy_Floater
ObjectTemplate.SetPosition -1.699/-0.25/-4.499
ObjectTemplate.AddTemplate Dingy_Floater
ObjectTemplate.SetPosition 1.7/-0.25/4.5
ObjectTemplate.AddTemplate Dingy_Floater2
ObjectTemplate.SetPosition -1.699/-0.25/4.5
rem -------------------------------------
ObjectTemplate.SetPcoId 0
ObjectTemplate.SetSoldierExitLocation -0.3/0.3/-1.5 0/0/0
ObjectTemplate.GUIIndex 42
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_Dinghie.tga"
ObjectTemplate.SetVehicleIconPos 37/68
ObjectTemplate.SetPrimaryAmmoBar ABNone
ObjectTemplate.SetCrossHairType CHTNone
ObjectTemplate.SetVehicleCategory VCSea
ObjectTemplate.SetVehicleType VTLcvp
ObjectTemplate.SetToolTipType TTCommandoRaft
ObjectTemplate.ExitTimer -0.5
ObjectTemplate.ExitSpeedMod 0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.