smokezalot16
8 years ago
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
Sponsor
Unknown Editor
8 years ago
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
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
Annihilationzh
8 years ago

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?

Originally Posted by: smokezalot16 


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?
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
smokezalot16
8 years ago
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.
Annihilationzh
8 years ago

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.

Originally Posted by: smokezalot16 


IIRC the game measures in feet - so 13. So you want something like this?

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

If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.