From 25c3fd9663d5bc740ebd050309aa74c026f74a19 Mon Sep 17 00:00:00 2001 From: jdj Date: Tue, 24 Jan 2017 08:24:28 -0600 Subject: [PATCH] Blossom tree can now emit radiation. --- rules/defaults.yaml | 9 +++++++++ rules/infantry.yaml | 1 + rules/structures.yaml | 5 ++++- rules/vehicles.yaml | 1 + weapons/explosions.yaml | 10 ++++++++++ weapons/other.yaml | 5 ----- 6 files changed, 25 insertions(+), 6 deletions(-) diff --git a/rules/defaults.yaml b/rules/defaults.yaml index a6a47dd..3db32ba 100644 --- a/rules/defaults.yaml +++ b/rules/defaults.yaml @@ -151,6 +151,11 @@ Damage: 2 DamageInterval: 16 DamageTypes: FireDeath + DamagedByRadioactivity: + DamageCoeff: 0.02 + DamageInterval: 16 + DamageTypes: FireDeath + ^Tank: Inherits: ^Vehicle @@ -275,6 +280,10 @@ Damage: 2 DamageInterval: 16 DamageTypes: FireDeath + DamagedByRadioactivity: + DamageCoeff: 0.02 + DamageInterval: 16 + DamageTypes: FireDeath ^Soldier: Inherits: ^Infantry diff --git a/rules/infantry.yaml b/rules/infantry.yaml index 2e90f91..5f03df4 100644 --- a/rules/infantry.yaml +++ b/rules/infantry.yaml @@ -737,3 +737,4 @@ Ant: SearchFromOrderRadius: 15 WithDockingAnimation: -DamagedByTerrain@tib: + -DamagedByRadioactivity: diff --git a/rules/structures.yaml b/rules/structures.yaml index 55c12d9..e2a0921 100644 --- a/rules/structures.yaml +++ b/rules/structures.yaml @@ -1962,10 +1962,13 @@ TIBTREE: Image: split3 SeedsResource: ResourceType: Tiberium - Interval: 15 + Interval: 75 MaxRange: 10 WithIdleAnimation: Selectable: Bounds: 24,24 SelectionDecorations: VisualBounds: 24,40,0,-8 + ExplodeWeapon: # radioactivity + Weapon: BlossomTreeExplosion + ResetReloadWhenEnabled: false diff --git a/rules/vehicles.yaml b/rules/vehicles.yaml index eb59fc1..15fbfad 100644 --- a/rules/vehicles.yaml +++ b/rules/vehicles.yaml @@ -977,3 +977,4 @@ QANT: Targetable: TargetTypes: Ground, Infantry, Ant -DamagedByTerrain@tib: + -DamagedByRadioactivity: diff --git a/weapons/explosions.yaml b/weapons/explosions.yaml index e0619c6..df94489 100644 --- a/weapons/explosions.yaml +++ b/weapons/explosions.yaml @@ -318,3 +318,13 @@ OreExplosion: Warhead@3Eff: CreateEffect Explosions: med_explosion ImpactSounds: kaboom25.aud + +BlossomTreeExplosion: + #Burst: 1 + #BurstDelay: 30 + ReloadDelay: 150 + Warhead@1Radio: CreateRadioactivity + Range: 5, 6, 7, 8 + Level: 32 + Falloff: 100, 50, 25, 0 + HalfLife: 150 diff --git a/weapons/other.yaml b/weapons/other.yaml index a154f95..90dc04e 100644 --- a/weapons/other.yaml +++ b/weapons/other.yaml @@ -296,11 +296,6 @@ ScoutMandible: Heavy: 10 Concrete: 10 DamageTypes: Prone50Percent, TriggerProne, DefaultDeath - Warhead@1Radio: CreateRadioactivity - Range: 5, 6, 7, 8 - Level: 32 - Falloff: 100, 50, 25, 0 - HalfLife: 150 MADTankThump: InvalidTargets: MADTank, Infantry