From 7d7503d8011f9d4ba543c4ea821aa0196de04ccb Mon Sep 17 00:00:00 2001 From: dnqbob Date: Wed, 29 Apr 2026 14:56:48 +0800 Subject: [PATCH] CNC3 ioncannon for gdi ioncannon --- rules/gdi-support.yaml | 3 +- weapons/gdi-weapons.yaml | 141 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+), 1 deletion(-) diff --git a/rules/gdi-support.yaml b/rules/gdi-support.yaml index e5a3d05..5594850 100644 --- a/rules/gdi-support.yaml +++ b/rules/gdi-support.yaml @@ -665,7 +665,8 @@ GAPLUG: Health: HP: 8000000 DetonateWeaponPower@SupportPowerIonCannon: - RequiresCondition: plug.ioncannona || plug.ioncannonb + #RequiresCondition: plug.ioncannona || plug.ioncannonb + Weapon: CNC3IonCannonSpawner Exit@1: ExitsDebugOverlay: SupportPowerChargeBar: diff --git a/weapons/gdi-weapons.yaml b/weapons/gdi-weapons.yaml index 397b552..69b3969 100644 --- a/weapons/gdi-weapons.yaml +++ b/weapons/gdi-weapons.yaml @@ -1945,3 +1945,144 @@ IonCannonSparks: ContrailWidth: 0c20 Sequences: 1 Shadow: false + + +## new +CNC3IonCannonSpawner: ### THIS ONE GENERATES THE MAIN ION BEAM DUMMY + ReloadDelay: 6 + Range: 12c0 + ValidTargets: Ground, Vehicle, Infantry, Building, Water, Air + #Warhead@beacon: CreateEffect ## needs a begin sound + # ImpactSounds: sparlo.wav + Warhead@4BeamEff: FireReverseRadius + ValidTargets: Vehicle, Infantry, Building, Ground, Water, Air + Weapon: CNC3IonBeamMini + ImpactActors: false + Amount: 26 + AirThreshold: 8c0 + Warhead@5BeamEff: FireFragment + Delay: 100 + ImpactActors: false + Weapon: CNC3IonBeam + ValidTargets: Ground, Water, Air + AirThreshold: 8c0 + Warhead@6BeamEff: FireFragment + Delay: 147 + ImpactActors: false + Weapon: CNC3IonBeamMini + ValidTargets: Ground, Water, Air + AirThreshold: 8c0 + ### THIS IS THE MAIN ION CANON WEAPON, after Delay=110 + Warhead@1Dam_impact: SpreadDamage + AffectsParent: True + Spread: 5c424 + Damage: 1000000 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + ValidTargets: Ground, Aircraft + DamageTypes: EnergyDeath + Delay: 110 + Warhead@2Dam_area: SpreadDamage + AffectsParent: True + Spread: 3c424 + Damage: 2500000 + Falloff: 100, 50, 25, 0 + Delay: 3 + ValidTargets: Ground, Aircraft + DamageTypes: TakeCoverEffect, EnergyDeath + Delay: 110 + AirThreshold: 8c0 + Warhead@12Smu: LeaveSmudge + AffectsParent: True + SmudgeType: LargeCrater + AirThreshold: 8c0 + Delay: 110 + Warhead@13BeamEff: FireShrapnel + AffectsParent: True + Delay: 109 + ImpactActors: false + Weapon: IonCannonSparks + Amount: 30 + AllowDirectHit: false + ValidTargets: Ground, Water, Air + AirThreshold: 8c0 + Warhead@11Effect: CreateEffect + AffectsParent: True + Explosions: ionring + ExplosionPalette: apolblue + ImpactSounds: ion1.aud + AffectsParent: true + ImpactActors: false + Delay: 109 + ValidTargets: Ground, Water, BlueTiberium, Tiberium, Air + AirThreshold: 8c0 + WarheadAS@63: SpawnActor + AffectsParent: True + Range: 5 + Actors: DummyShakerVision + Owner: Creeps + Amount: 6 + Delay: 111 + +CNC3IonBeam: + ReloadDelay: 9999 + ValidTargets: Ground, Water, Air + Projectile: SpriteAthenaLaser + Image: explosion + Sequence: ionbeam + RingImage: explosion + RingSequence: ionring + Palette: apolblue + SpriteNumber: 18 + HeightOffset: 6146 + StayTicks: 50 + Speed: 0 + ExplosionInterval: 10 + Warhead@3Eff: CreateEffect + Explosions: large_flash + ExplosionPalette: light + AffectsParent: true + ImpactActors: false + AirThreshold: 8c0 + +CNC3IonBeamMini: + Inherits: CNC3IonBeam + Range: 8c0 + Projectile: SpriteAthenaLaser + Sequence: ionbeammini + RingSequence: ionringmini + StayTicks: 10 + ExplosionInterval: 3 + SpriteNumber: 30 + HeightOffset: 3397 + Speed: 73 + RotSpeed: 12 + Warhead@3Eff: CreateEffect + Explosions: small_flash + ExplosionPalette: light + AffectsParent: true + ImpactActors: false + AirThreshold: 8c0 + Warhead@1Dam_impact: SpreadDamage + AffectsParent: True + Spread: 1c0 + Damage: 1000 + Falloff: 100, 50,0 + ValidTargets: Ground, Aircraft + DamageTypes: EnergyDeath + ImpactActors: false + AirThreshold: 8c0 + Warhead@2Dam_area: SpreadDamage + AffectsParent: True + Spread: 1c0 + Damage: 2500 + Falloff: 100, 50,0 + Delay: 2 + ValidTargets: Ground, Aircraft + DamageTypes: TakeCoverEffect, EnergyDeath + ImpactActors: false + AirThreshold: 8c0 + Warhead@12Smu: LeaveSmudge + AffectsParent: True + SmudgeType: MediumCrater + AirThreshold: 8c0 +