From dc12dff3514056c4c348cd9a63ce82702095a93c Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Thu, 4 Sep 2014 00:27:10 +1200 Subject: [PATCH 1/7] Add cloak detection abilities to all ra defenses (not hbox because it already has cloak detection) --- mods/ra/rules/structures.yaml | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index cbc35409ee..72c89d9dba 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -4,7 +4,7 @@ MSLO: Cost: 2500 Tooltip: Name: Missile Silo - Description: Provides an atomic bomb.\nSpecial Ability: Atom Bomb\n\nMaximum 1 can be built + Description: Provides an atomic bomb.\nRequires power to operate.\n Special Ability: Atom Bomb\n\nMaximum 1 can be built Buildable: Queue: Defense BuildPaletteOrder: 140 @@ -51,7 +51,7 @@ GAP: Cost: 800 Tooltip: Name: Gap Generator - Description: Obscures the enemy's view with shroud. + Description: Obscures the enemy's view with shroud.\nRequires power to operate. Buildable: Queue: Defense BuildPaletteOrder: 110 @@ -198,7 +198,7 @@ IRON: Cost: 1500 Tooltip: Name: Iron Curtain - Description: Makes a group of units invulnerable\nfor a short time.\n Special Ability: Invulnerability\n\nMaximum 1 can be built + Description: Makes a group of units invulnerable\nfor a short time. Requires power to operate.\n Special Ability: Invulnerability\n\nMaximum 1 can be built Building: Footprint: xx Dimensions: 2,1 @@ -242,7 +242,7 @@ PDOX: Cost: 1500 Tooltip: Name: Chronosphere - Description: Teleports a group of units across the\nmap for a short time.\n Special Ability: Chronoshift\n\nMaximum 1 can be built + Description: Teleports a group of units across the\nmap for a short time. Requires power to operate.\n Special Ability: Chronoshift\n\nMaximum 1 can be built Building: Footprint: xx xx Dimensions: 2,2 @@ -285,7 +285,7 @@ TSLA: Cost: 1200 Tooltip: Name: Tesla Coil - Description: Advanced base defense. Requires power\nto operate.\n Strong vs Tanks, Infantry\n Weak vs Aircraft + Description: Advanced base defense. Requires power\nto operate. Can detect cloaked units.\n Strong vs Tanks, Infantry\n Weak vs Aircraft Building: Footprint: _ x Dimensions: 1,2 @@ -317,6 +317,8 @@ TSLA: DrawLineToTarget: Power: Amount: -150 + DetectCloaked: + Range: 8 AGUN: Inherits: ^Defense @@ -328,7 +330,7 @@ AGUN: Cost: 800 Tooltip: Name: AA Gun - Description: Anti-Air base defense. Requires power\nto operate.\n Strong vs Aircraft\n Weak vs Infantry, Tanks + Description: Anti-Air base defense. Requires power\nto operate. Can detect cloaked units.\n Strong vs Aircraft\n Weak vs Infantry, Tanks Building: Footprint: _ x Dimensions: 1,2 @@ -363,6 +365,8 @@ AGUN: DrawLineToTarget: Power: Amount: -50 + DetectCloaked: + Range: 6 DOME: Inherits: ^Building @@ -403,7 +407,7 @@ PBOX: Inherits: ^Defense Tooltip: Name: Pillbox - Description: Static defense with a fireport for a\ngarrisoned soldier. + Description: Static defense with a fireport for a\ngarrisoned soldier.\nCan detect cloaked units.\n Strong vs Infantry\n Weak vs Tanks, Aircraft Building: Buildable: Queue: Defense @@ -443,12 +447,14 @@ PBOX: AutoTarget: Power: Amount: -15 + DetectCloaked: + Range: 6 HBOX: Inherits: ^Defense Tooltip: Name: Camo Pillbox - Description: Camouflaged static defense with a fireport\nfor a garrisoned soldier. + Description: Camouflaged static defense with a fireport\nfor a garrisoned soldier.\nCan detect cloaked units.\n Strong vs Infantry\n Weak vs Tanks, Aircraft Building: Buildable: Queue: Defense @@ -502,7 +508,7 @@ GUN: Cost: 600 Tooltip: Name: Turret - Description: Anti-Armor base defense.\n Strong vs Tanks\n Weak vs Infantry, Aircraft + Description: Anti-Armor base defense.\nCan detect cloaked units.\n Strong vs Tanks\n Weak vs Infantry, Aircraft Building: -GivesBuildableArea: Health: @@ -531,6 +537,8 @@ GUN: DrawLineToTarget: Power: Amount: -40 + DetectCloaked: + Range: 7 FTUR: Inherits: ^Defense @@ -542,7 +550,7 @@ FTUR: Cost: 600 Tooltip: Name: Flame Tower - Description: Anti-Infantry base defense.\n Strong vs Infantry\n Weak vs Aircraft + Description: Anti-Infantry base defense.\nCan detect cloaked units.\n Strong vs Infantry\n Weak vs Aircraft Building: -GivesBuildableArea: Health: @@ -569,6 +577,8 @@ FTUR: DrawLineToTarget: Power: Amount: -20 + DetectCloaked: + Range: 6 SAM: Inherits: ^Defense @@ -580,7 +590,7 @@ SAM: Cost: 750 Tooltip: Name: SAM Site - Description: Anti-Air base defense. Requires power\nto operate.\n Strong vs Aircraft\n Weak vs Infantry, Tanks + Description: Anti-Air base defense. Requires power\nto operate. Can detect cloaked units.\n Strong vs Aircraft\n Weak vs Infantry, Tanks Building: Footprint: xx Dimensions: 2,1 @@ -614,6 +624,8 @@ SAM: DrawLineToTarget: Power: Amount: -40 + DetectCloaked: + Range: 5 ATEK: Inherits: ^Building From ba7a01748957c2b6f832c32039364e71d76cf31a Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Thu, 4 Sep 2014 01:11:41 +1200 Subject: [PATCH 2/7] Remove C4 target type from ra vehicles - Tanya was a bit too strong C4ing vehicles --- mods/ra/rules/defaults.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index fc6c58e301..b606aa0a66 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -15,7 +15,7 @@ Selectable: Voice: VehicleVoice TargetableUnit: - TargetTypes: Ground, C4, Repair, Vehicle + TargetTypes: Ground, Repair, Vehicle Repairable: Chronoshiftable: Passenger: From 7e5664b48c073a80a250d121460925415a4cc51d Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Thu, 4 Sep 2014 01:36:54 +1200 Subject: [PATCH 3/7] Hind and Longbow were a bit too tanky, so reduced their HP levels from 150 to 100 and 150 to 120 respectively. --- mods/ra/rules/aircraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ra/rules/aircraft.yaml b/mods/ra/rules/aircraft.yaml index d58bdc6c04..3aa45e5942 100644 --- a/mods/ra/rules/aircraft.yaml +++ b/mods/ra/rules/aircraft.yaml @@ -241,7 +241,7 @@ HELI: Name: Longbow Description: Helicopter Gunship with AG Missiles.\n Strong vs Tanks\n Weak vs Infantry Health: - HP: 150 + HP: 120 Armor: Type: Light RevealsShroud: @@ -291,7 +291,7 @@ HIND: Name: Hind Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks Health: - HP: 150 + HP: 100 Armor: Type: Light RevealsShroud: From 6bde85beda67e4e469fe2f0708dd34c20e9dd83e Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Thu, 4 Sep 2014 01:47:34 +1200 Subject: [PATCH 4/7] Increase prices of yak and hind from $1000 to $1350 (Implicit build time increase as well). --- mods/ra/rules/aircraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ra/rules/aircraft.yaml b/mods/ra/rules/aircraft.yaml index 3aa45e5942..f5787dfdf0 100644 --- a/mods/ra/rules/aircraft.yaml +++ b/mods/ra/rules/aircraft.yaml @@ -135,7 +135,7 @@ YAK: BuildPaletteOrder: 30 Prerequisites: ~afld, ~techlevel.medium Valued: - Cost: 1000 + Cost: 1350 Tooltip: Name: Yak Attack Plane Description: Anti-Tanks & Anti-Infantry Plane.\n Strong vs Infantry, Tanks\n Weak vs Buildings @@ -286,7 +286,7 @@ HIND: BuildPaletteOrder: 20 Prerequisites: ~hpad, ~techlevel.medium Valued: - Cost: 1000 + Cost: 1350 Tooltip: Name: Hind Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks From 4212d04f101ef53dccf67a2da0d7d1beb7b4f62b Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Thu, 4 Sep 2014 17:16:08 +1200 Subject: [PATCH 5/7] Double projectile speed of AA gun so it misses less often --- mods/ra/weapons.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ra/weapons.yaml b/mods/ra/weapons.yaml index 7d1f70053f..8462884571 100644 --- a/mods/ra/weapons.yaml +++ b/mods/ra/weapons.yaml @@ -29,7 +29,7 @@ ZSU-23: Report: AACANON3.AUD ValidTargets: Air Projectile: Bullet - Speed: 1c682 + Speed: 3c340 High: true Warhead@1Dam: SpreadDamage Spread: 213 From 4098ad8f98dbf431852505c146122826d9c55e0d Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Sat, 6 Sep 2014 19:32:32 +1200 Subject: [PATCH 6/7] Remove MustBeDestroyed from cnc support structures --- mods/cnc/rules/structures.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mods/cnc/rules/structures.yaml b/mods/cnc/rules/structures.yaml index dbc0931663..eff98a89b4 100644 --- a/mods/cnc/rules/structures.yaml +++ b/mods/cnc/rules/structures.yaml @@ -198,6 +198,7 @@ SILO: -EmitInfantryOnSell: Power: Amount: -10 + -MustBeDestroyed: PYLE: Inherits: ^BaseBuilding @@ -615,6 +616,7 @@ GUN: Range: 3 Power: Amount: -20 + -MustBeDestroyed: SAM: Inherits: ^BaseBuilding @@ -655,6 +657,7 @@ SAM: RenderRangeCircle: Power: Amount: -20 + -MustBeDestroyed: OBLI: Inherits: ^BaseBuilding @@ -701,6 +704,7 @@ OBLI: Range: 5 Power: Amount: -150 + -MustBeDestroyed: GTWR: Inherits: ^BaseBuilding @@ -740,6 +744,7 @@ GTWR: ROT: 255 Power: Amount: -10 + -MustBeDestroyed: ATWR: Inherits: ^BaseBuilding @@ -789,6 +794,7 @@ ATWR: RenderRangeCircle: Power: Amount: -40 + -MustBeDestroyed: SBAG: Inherits: ^Wall From 48fe6cccc789205320864cc36a24be6bad4485ec Mon Sep 17 00:00:00 2001 From: ScottNZ Date: Sat, 6 Sep 2014 19:47:04 +1200 Subject: [PATCH 7/7] Remove MustBeDestroyed from ra support structures --- mods/ra/rules/defaults.yaml | 1 + mods/ra/rules/structures.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index b606aa0a66..ad9c8a3f9f 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -317,6 +317,7 @@ Inherits: ^Building TargetableBuilding: TargetTypes: Ground, C4, DetonateAttack, Structure, Defense + -MustBeDestroyed: ^Wall: AppearsOnRadar: diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 72c89d9dba..9f41c20d04 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -44,6 +44,7 @@ MSLO: SupportPowerChargeBar: Power: Amount: -100 + -MustBeDestroyed: GAP: Inherits: ^Building @@ -78,6 +79,7 @@ GAP: RenderShroudCircle: Power: Amount: -60 + -MustBeDestroyed: SPEN: Inherits: ^Building @@ -230,6 +232,7 @@ IRON: SupportPowerChargeBar: Power: Amount: -200 + -MustBeDestroyed: PDOX: Inherits: ^Building @@ -274,6 +277,7 @@ PDOX: -AcceptsSupplies: Power: Amount: -200 + -MustBeDestroyed: TSLA: Inherits: ^Defense @@ -1199,6 +1203,7 @@ FACF: -EmitInfantryOnSell: Power: Amount: -2 + -MustBeDestroyed: WEAF: Inherits: ^Building @@ -1229,6 +1234,7 @@ WEAF: -EmitInfantryOnSell: Power: Amount: -2 + -MustBeDestroyed: SYRF: Inherits: ^Building @@ -1260,6 +1266,7 @@ SYRF: -EmitInfantryOnSell: Power: Amount: -2 + -MustBeDestroyed: SPEF: Inherits: ^Building @@ -1291,6 +1298,7 @@ SPEF: -EmitInfantryOnSell: Power: Amount: -2 + -MustBeDestroyed: DOMF: Inherits: ^Building @@ -1319,6 +1327,7 @@ DOMF: -EmitInfantryOnSell: Power: Amount: -2 + -MustBeDestroyed: SBAG: Inherits: ^Wall