From 42a4722ebc61651fb2b6e40f4aa21fd0afc64413 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 13 Sep 2015 21:21:37 +0200 Subject: [PATCH 1/4] Make only concrete walls block fire in TD --- mods/cnc/rules/defaults.yaml | 1 - mods/cnc/rules/structures.yaml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/cnc/rules/defaults.yaml b/mods/cnc/rules/defaults.yaml index b58d80bde9..a9ed00d270 100644 --- a/mods/cnc/rules/defaults.yaml +++ b/mods/cnc/rules/defaults.yaml @@ -556,7 +556,6 @@ Crushable: CrushClasses: wall CrushSound: sandbag2.aud - BlocksProjectiles: LineBuild: Range: 8 NodeTypes: wall diff --git a/mods/cnc/rules/structures.yaml b/mods/cnc/rules/structures.yaml index 6b78945766..2324c8d1cd 100644 --- a/mods/cnc/rules/structures.yaml +++ b/mods/cnc/rules/structures.yaml @@ -892,7 +892,7 @@ BRIK: Value: 0 Tooltip: Name: Concrete Barrier - Description: Stops infantry and most tanks. + Description: Stops infantry and most tanks.\nBlocks some projectiles. Buildable: BuildPaletteOrder: 30 Prerequisites: vehicleproduction @@ -901,6 +901,7 @@ BRIK: HP: 250 Armor: Type: Heavy + BlocksProjectiles: Crushable: CrushClasses: heavywall -CrushSound: From 81b8754ffa744bf10a67f59c94364096d3737fc4 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 13 Sep 2015 21:22:00 +0200 Subject: [PATCH 2/4] Make only concrete walls block fire in RA --- mods/ra/rules/defaults.yaml | 1 - mods/ra/rules/structures.yaml | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 434ad61bd4..70b90b4b03 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -466,7 +466,6 @@ DestroyedSounds: sandbag2.aud Crushable: CrushClasses: wall - BlocksProjectiles: LineBuild: Range: 8 NodeTypes: wall diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 539173b831..74146fe77b 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -1494,7 +1494,7 @@ SBAG: Value: 0 Tooltip: Name: Sandbag Wall - Description: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. + Description: Stops infantry and light vehicles.\nCan be crushed by tanks. Health: HP: 300 Armor: @@ -1519,7 +1519,7 @@ FENC: Value: 0 Tooltip: Name: Wire Fence - Description: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. + Description: Stops infantry and light vehicles.\nCan be crushed by tanks. Health: HP: 300 Armor: @@ -1554,6 +1554,7 @@ BRIK: Type: Concrete Crushable: CrushClasses: heavywall + BlocksProjectiles: LineBuild: Range: 8 NodeTypes: concrete From b5bf9ec6050bfbab19ee76d061a1cf56aef58322 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 13 Sep 2015 21:33:39 +0200 Subject: [PATCH 3/4] Make TS sandbags not block fire anymore --- mods/ts/rules/civilian-structures.yaml | 2 +- mods/ts/rules/defaults.yaml | 1 - mods/ts/rules/gdi-support.yaml | 1 + mods/ts/rules/nod-support.yaml | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/ts/rules/civilian-structures.yaml b/mods/ts/rules/civilian-structures.yaml index 0b52a3629e..44e8a6404e 100644 --- a/mods/ts/rules/civilian-structures.yaml +++ b/mods/ts/rules/civilian-structures.yaml @@ -1238,7 +1238,7 @@ GASAND: Value: 0 Tooltip: Name: Sandbags - Description: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. + Description: Stops infantry and light vehicles.\nCan be crushed by tanks. Health: HP: 250 Armor: diff --git a/mods/ts/rules/defaults.yaml b/mods/ts/rules/defaults.yaml index fd38943285..a9a8a103d0 100644 --- a/mods/ts/rules/defaults.yaml +++ b/mods/ts/rules/defaults.yaml @@ -186,7 +186,6 @@ DestroyedSounds: crmble2.aud Crushable: CrushClasses: wall - BlocksProjectiles: LineBuild: Range: 8 NodeTypes: wall diff --git a/mods/ts/rules/gdi-support.yaml b/mods/ts/rules/gdi-support.yaml index a0e7342a6e..3c53701739 100644 --- a/mods/ts/rules/gdi-support.yaml +++ b/mods/ts/rules/gdi-support.yaml @@ -18,6 +18,7 @@ GAWALL: HP: 300 Armor: Type: Concrete + BlocksProjectiles: Crushable: CrushClasses: heavywall LineBuild: diff --git a/mods/ts/rules/nod-support.yaml b/mods/ts/rules/nod-support.yaml index 47b8a19d48..fe6a42aaa1 100644 --- a/mods/ts/rules/nod-support.yaml +++ b/mods/ts/rules/nod-support.yaml @@ -18,6 +18,7 @@ NAWALL: HP: 300 Armor: Type: Concrete + BlocksProjectiles: Crushable: CrushClasses: heavywall LineBuild: From 886f366926b0efa6d5b45f47f43b3375f8204da7 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 13 Sep 2015 21:36:48 +0200 Subject: [PATCH 4/4] Clean up TS wall default - don't give experience - don't update player statistics - don't count it as structure that must be destroyed --- mods/ts/rules/defaults.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/mods/ts/rules/defaults.yaml b/mods/ts/rules/defaults.yaml index a9a8a103d0..edf878646a 100644 --- a/mods/ts/rules/defaults.yaml +++ b/mods/ts/rules/defaults.yaml @@ -195,11 +195,9 @@ TargetTypes: Ground, Wall, C4 WithWallSpriteBody: Type: wall - GivesExperience: AutoTargetIgnore: Sellable: SellSounds: cashturn.aud - UpdatesPlayerStatistics: Demolishable: ScriptTriggers: UpgradeManager: @@ -209,7 +207,6 @@ InitialDelay: 0 CloakDelay: 90 IsPlayerPalette: true - MustBeDestroyed: ^BuildingPlug: AlwaysVisible: