From 0173719ae65ae3b50a8e226bbd73d59ddbecff90 Mon Sep 17 00:00:00 2001 From: pchote Date: Sat, 27 Feb 2010 15:25:13 +1300 Subject: [PATCH] Walls in cnc --- mods/cnc/defaults.yaml | 17 ++++++++- mods/cnc/sequences-structures.xml | 28 +++++++++++++++ mods/cnc/structures.yaml | 58 +++++++++++++++++++++++++++++++ mods/ra/rules.yaml | 6 ++-- 4 files changed, 105 insertions(+), 4 deletions(-) diff --git a/mods/cnc/defaults.yaml b/mods/cnc/defaults.yaml index 5949c781da..ff161673ca 100644 --- a/mods/cnc/defaults.yaml +++ b/mods/cnc/defaults.yaml @@ -51,4 +51,19 @@ Palette: terrain Building: Footprint: __ x_ - Dimensions: 2,2 \ No newline at end of file + Dimensions: 2,2 +^Wall: + Category: Building + Building: + Dimensions: 1,1 + Footprint: x + Capturable: false + Bib: no + Crewed: no + Sight: 0 + Wall: + Selectable: + RenderBuildingWall: + HasMakeAnimation: false + Palette: player + DamageStates: 2 diff --git a/mods/cnc/sequences-structures.xml b/mods/cnc/sequences-structures.xml index 010135efed..84ca2bd1f4 100644 --- a/mods/cnc/sequences-structures.xml +++ b/mods/cnc/sequences-structures.xml @@ -142,4 +142,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mods/cnc/structures.yaml b/mods/cnc/structures.yaml index 9eda47e93c..a7144c7bee 100644 --- a/mods/cnc/structures.yaml +++ b/mods/cnc/structures.yaml @@ -355,3 +355,61 @@ OBLI: FireDelay: 8 AutoTarget: -RenderBuilding: + +BARB: + Inherits: ^Wall + Building: + HP: 100 + Armor: none + +WOOD: + Inherits: ^Wall + Building: + HP: 100 + Armor: none + +CYCL: + Inherits: ^Wall + Buildable: + Icon:cyclicnh + TechLevel: 5 + Prerequisites: fact + Owner: gdi,nod + Cost: 75 + Description: Chain Link Barrier + LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. + Building: + HP: 100 + Armor: none + RenderBuildingWall: + DamageStates: 3 + +SBAG: + Inherits: ^Wall + Buildable: + Icon:sbagicnh + TechLevel: 5 + Prerequisites: fact + Owner: gdi,nod + Cost: 50 + Description: Sandbag Barrier + LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. + Building: + HP: 100 + Armor: none + +BRIK: + Inherits: ^Wall + Buildable: + Icon:brikicnh + TechLevel: 7 + Prerequisites: fact + Owner: gdi,nod + Cost: 100 + Description: Concrete Barrier + LongDesc: Stop units and blocks enemy fire. + Building: + HP: 100 + Armor: none + RenderBuildingWall: + DamageStates: 4 \ No newline at end of file diff --git a/mods/ra/rules.yaml b/mods/ra/rules.yaml index 97631a7544..f8f8f12aad 100644 --- a/mods/ra/rules.yaml +++ b/mods/ra/rules.yaml @@ -2516,7 +2516,7 @@ SBAG: Owner: allies Cost: 25 Description: Sandbag Wall - LongDesc: Stops infantry and blocks enemy fire.\n Can be crushed by tanks. + LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. Building: HP: 100 Armor: none @@ -2529,7 +2529,7 @@ FENC: Owner: soviet Cost: 25 Description: Wire Fence - LongDesc: Stops infantry and blocks enemy fire.\n Can be crushed by tanks. + LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. Building: HP: 100 Armor: none @@ -2542,7 +2542,7 @@ BRIK: Owner: allies,soviet Cost: 100 Description: Concrete Wall - LongDesc: Stop units from passing and block enemy fire. + LongDesc: Stop units and blocks enemy fire. Building: HP: 100 Armor: none