Usage:
ObjectTemplate.ExplosionForceMod
number
Argument values:
argument 1: | range is 0 to 150; most commonly 15 |
Description: Modifies the ExplosionForce applied to the object. The higher this property, the more the object will be affected by an explosion near it. It does not affect (direct) damage, which is set by ExplosionDamage.
Related properties: ExplosionDamage, ExplosionForceMax, ExplosionRadius
Used in object types (and how often in each type): PlayerControlObject (36%), Projectile (1%)
Used in a total of 112 .con files: Commonsoldierdata.inc, Objects.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/Soldiers, Bf1942/Levels
Example: (from objects/Vehicles/Land/M3Grant/Objects.con)
rem *** M3Grant ***
ObjectTemplate.Create PlayerControlObject M3Grant
ObjectTemplate.NameTagOffset 0/-0.3/0
ObjectTemplate.SetNetworkableInfo M3GrantBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.CullRadiusScale 5
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.ExplosionRadius 8
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.ExitTimer 1
ObjectTemplate.Drag 2
ObjectTemplate.Mass 25000
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 80
ObjectTemplate.Maxhitpoints 80
ObjectTemplate.Material 50
ObjectTemplate.SpeedMod 1
ObjectTemplate.CriticalDamage 12
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.ExplosionForceMod 13
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.HpLostWhileDamageFromWater 10
ObjectTemplate.AddArmorEffect 50 e_PanzDamage 0/0.9/-1.8
ObjectTemplate.AddArmorEffect 12 e_PanzFire 0/1.2/-1.4
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.AddArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.AddArmorEffect 0 e_scrapmetalsmoke 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.DamageFromWater 1
ObjectTemplate.AiTemplate M3Grant
rem -------------------------------------
ObjectTemplate.AddTemplate lodM3Grant
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -2/0.5/0 0/0/0
ObjectTemplate.GUIIndex 25
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_m3grant.tga"
ObjectTemplate.SetVehicleIconPos 55/88
ObjectTemplate.SetNumberOfWeaponIcons 1
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_cannon.tga"
ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.SetHasTurretIcon 1
ObjectTemplate.SetCrossHairType CHTIcon
ObjectTemplate.SetVehicleCategory VCLand
ObjectTemplate.SetVehicleType VTArmoredCar
ObjectTemplate.SetToolTipType TTArmoredCar
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"
ObjectTemplate.HasRestrictedExit 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.