Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline smokezalot16  
#1 Posted : Friday, February 9, 2018 10:11:28 PM(UTC)
smokezalot16
Private
Joined: 6/29/2016(UTC)
Posts: 35

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
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
Offline Unknown Editor  
#2 Posted : Saturday, February 10, 2018 5:10:07 AM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 278
Location: Some where on Earth

Thanks: 123 times
Was thanked: 69 time(s) in 59 post(s)
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%
Offline Annihilationzh  
#3 Posted : Saturday, February 10, 2018 10:12:22 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 475 time(s) in 331 post(s)
Originally Posted by: smokezalot16 Go to Quoted Post
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?

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.
Offline smokezalot16  
#4 Posted : Saturday, February 10, 2018 9:21:00 PM(UTC)
smokezalot16
Private
Joined: 6/29/2016(UTC)
Posts: 35

Thanks: 3 times
Was thanked: 1 time(s) in 1 post(s)
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.
Offline Annihilationzh  
#5 Posted : Sunday, February 11, 2018 7:24:15 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 475 time(s) in 331 post(s)
Originally Posted by: smokezalot16 Go to Quoted Post
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.

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

Code:
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.