Posted by: smokezalot16 - Friday, February 9, 2018 10:11:28 PM
I want to make my Helos Gun to fire explosive (Splash Damage) Rounds every second or two , not a major splash radius but some thing similiar to real life 20 , 25 or 30 mm autocannons on AH-1z , Apache , Mi 24 and Ka52 and so forth . what should i change or add to this?
Weapon Comanche20mmCannonWeapon
PrimaryDamage = 6
PrimaryDamageRadius = 0
SecondaryDamage = 0
SecondaryDamageRadius = 0
AttackRange = 200
DamageType = COMANCHE_VULCAN
DeathType = NORMAL
FireSound = ComancheWeaponMachineGun
FireFX = WeaponFX_Comanche20mmCannonFire
VeterancyFireFX = HEROIC WeaponFX_HeroicComanche20mmCannonFire
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
WeaponSpeed = 999999
DelayBetweenShots = 100
AntiAirborneInfantry = Yes
END
Posted by: Unknown Editor - Saturday, February 10, 2018 5:10:07 AM
Well , I don't know much about " real life 20 , 25 or 30 mm autocannons on AH-1z , Apache , Mi 24 and Ka52 and so forth " but
If you want Splash Damage you can change "DamageRadius" from "0" to "1,2,3,..."
Also Secondary damage is used for the time that : There is a difference between Radius {usually} ; Like the following :
PrimaryDamage = 6
PrimaryDamageRadius = 5
SecondaryDamage = 2
SecondaryDamageRadius = 10
Also "DelayBetweenShots" is used to set the time between each shot and is set in mini-Seconds ; 1000 Mini-Seconds = 1 Second
Posted by: Annihilationzh - Saturday, February 10, 2018 10:12:22 AM
[quote=smokezalot16;147042]I want to make my Helos Gun to fire explosive (Splash Damage) Rounds every second or two , not a major splash radius but some thing similiar to real life 20 , 25 or 30 mm autocannons on AH-1z , Apache , Mi 24 and Ka52 and so forth . what should i change or add to this?[/quote]
There are quite a few ways of doing this. You could make every shot explosive. You could spawn an explosion after 10 shots in an area. You could also use projectiles to spawn explosive rounds semi-randomly. Or you could have the bullets randomly miss their targets.
Is there any particular style you prefer?
Posted by: smokezalot16 - Saturday, February 10, 2018 9:21:00 PM
Well Apache 30mm High Explosive Dual Purpose Shell Explosion has about a 4 Meter Radius that has Anti-Personnel Effects. What Splash Radius Number would be a close in game radius to 4 Meters?
For semi balancing Purposes I would like the Gun to fire 3 round bursts with out all rounds hitting same spot , Probly land somewhere close to first shell impact.
Posted by: Annihilationzh - Sunday, February 11, 2018 7:24:15 AM
[quote=smokezalot16;147052]Well Apache 30mm High Explosive Dual Purpose Shell Explosion has about a 4 Meter Radius that has Anti-Personnel Effects. What Splash Radius Number would be a close in game radius to 4 Meters?
For semi balancing Purposes I would like the Gun to fire 3 round bursts with out all rounds hitting same spot , Probly land somewhere close to first shell impact.[/quote]
IIRC the game measures in feet - so 13. So you want something like this?
[code=plain]Weapon Comanche20mmCannonWeapon
PrimaryDamage = 60
PrimaryDamageRadius = 3 ; full damage on direct hit
SecondaryDamage = 25
SecondaryDamageRadius = 13
AttackRange = 200
DamageType = COMANCHE_VULCAN
DeathType = NORMAL
FireSound = ComancheWeaponMachineGun
FireFX = WeaponFX_Comanche20mmCannonFire
VeterancyFireFX = HEROIC WeaponFX_HeroicComanche20mmCannonFire
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
WeaponSpeed = 999999
DelayBetweenShots = 100
ClipSize = 3
ClipReloadTime = 2000
ScatterRadius = 4
AntiAirborneInfantry = Yes
END[/code]