Usage:
WeaponTemplate.SetSoundSphereRadius
number
Argument values:
argument 1: | range is 80.0 to 180.0; most commonly 80.0, 120.0 |
Used in a total of 25 .con files: Aitemplates.con, Weapons.con
Parent directory of these .con files: objects/HandWeapons
Example: (from objects/HandWeapons/Gewehr42/AI/Weapons.con)
rem *** Add SG44***
WeaponTemplate.Create Gewehr42AI
WeaponTemplate.Burst 1
WeaponTemplate.Indirect 0
WeaponTemplate.MinRange 0.0
WeaponTemplate.MaxRange 175.0
WeaponTemplate.WeaponActivate PIMenuSelect3
WeaponTemplate.WeaponFire PIFire
WeaponTemplate.SetStrength Infantry 5.0
WeaponTemplate.SetStrength LightArmour 1.0
WeaponTemplate.SetStrength HeavyArmour 0.0
WeaponTemplate.SetStrength NavalArmour 0.0
WeaponTemplate.SetStrength Submarine 0.0
WeaponTemplate.SetStrength Air 2.0
WeaponTemplate.SetSoundSphereRadius 120.0
Go to the WeaponTemplate properties list page, WeaponTemplate page, All Properties list, or Main scripting page.