Usage:
ObjectTemplate.ExplosionRadius
number
Argument values:
argument 1: | range is 0 to 20; most commonly 8 |
Description: When an object is destroyed, this property specifies the radius of the explosion for that object, radiating from its center.
Related properties: ExplosionDamage, ExplosionForceMod
Used in object types (and how often in each type): PlayerControlObject (33%), Projectile (1%)
Used in a total of 103 .con files: Objects.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from objects/Vehicles/Air/AichiVal-T/Objects.con)
rem *** Aichival-T ***
ObjectTemplate.Create PlayerControlObject Aichival-T
ObjectTemplate.SetNetworkableInfo Aichival-T_body_info
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.CullRadiusScale 5
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.Drag 0.065
ObjectTemplate.Mass 3000
ObjectTemplate.InertiaModifier 1.02/0.855/0.922
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.ExplosionRadius 8
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.HasArmor 1
ObjectTemplate.AngleMod 1
ObjectTemplate.SpeedMod 2
ObjectTemplate.Hitpoints 130
ObjectTemplate.Maxhitpoints 130
ObjectTemplate.Material 60
ObjectTemplate.CriticalDamage 20
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.ExplosionForceMod 15
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.HpLostWhileDamageFromWater 10
ObjectTemplate.AddArmorEffect 65 em_AichiValDamage 0/0.102/2.11
ObjectTemplate.AddArmorEffect 65 em_PlaneDamage 0/-0.303/2.21
ObjectTemplate.AddArmorEffect 20 e_AichivalFire 0/1/2.11
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.AddArmorEffect 0 e_ScrapMetal_Aichival 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.DamageFromWater 1
ObjectTemplate.AiTemplate Aichival-T
rem -------------------------------------
ObjectTemplate.AddTemplate lodAichival-T
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -2.8/0.203/-3.9 0/0/0
ObjectTemplate.GUIIndex 110
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_aichival.tga"
ObjectTemplate.SetVehicleIconPos 64/104
ObjectTemplate.SetNumberOfWeaponIcons 2
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.SetPrimaryAmmoBar ABAmmoBar
ObjectTemplate.SetSecondaryAmmoIcon "Ammo/Icon_torpedo.tga"
ObjectTemplate.SetSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.SetCrossHairType CHTIcon
ObjectTemplate.SetVehicleCategory VCAir
ObjectTemplate.SetVehicleType VTDiveBomber
ObjectTemplate.SetToolTipType TTDiveBomber
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_plane_16x16.tga"
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.