From eb32884b24b4749a3628ba2d44e96f05eaa650ab Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 31 Jan 2010 22:19:33 +1300 Subject: [PATCH] More structures --- mods/cnc/infantry.yaml | 0 mods/cnc/mod.yaml | 18 ++- mods/cnc/rules.yaml | 119 -------------------- mods/cnc/sequences-infantry.xml | 4 + mods/cnc/sequences-structures.xml | 49 ++++++++ mods/cnc/sequences-vehicles.xml | 18 +++ mods/cnc/sequences.xml | 76 +------------ mods/cnc/structures.yaml | 180 ++++++++++++++++++++++++++++++ mods/cnc/system.yaml | 16 +++ mods/cnc/vehicles.yaml | 41 +++++++ 10 files changed, 324 insertions(+), 197 deletions(-) create mode 100644 mods/cnc/infantry.yaml delete mode 100644 mods/cnc/rules.yaml create mode 100644 mods/cnc/sequences-infantry.xml create mode 100644 mods/cnc/sequences-structures.xml create mode 100644 mods/cnc/sequences-vehicles.xml create mode 100644 mods/cnc/structures.yaml create mode 100644 mods/cnc/system.yaml create mode 100644 mods/cnc/vehicles.yaml diff --git a/mods/cnc/infantry.yaml b/mods/cnc/infantry.yaml new file mode 100644 index 0000000000..e69de29bb2 diff --git a/mods/cnc/mod.yaml b/mods/cnc/mod.yaml index 8f049496c3..83c8a942d6 100644 --- a/mods/cnc/mod.yaml +++ b/mods/cnc/mod.yaml @@ -34,14 +34,20 @@ LegacyRules: mods/ra/units.ini: OpenRA patches Rules: - mods/ra/defaults.yaml: Basic stuff - mods/cnc/rules.yaml: OpenRA actorinfos - mods/cnc/trees.yaml: Trees - mods/cnc/civilian.yaml: Civilian structures and bridges - mods/cnc/compat.yaml: Compatability tweaks for real-ra maps + mods/ra/defaults.yaml: Basic stuff + mods/cnc/system.yaml: Player and world actors + mods/cnc/structures.yaml: Structures + mods/cnc/infantry.yaml: Infantry + mods/cnc/vehicles.yaml: Vehicles + mods/cnc/trees.yaml: Trees + mods/cnc/civilian.yaml: Civilian structures and bridges + mods/cnc/compat.yaml: Compatability tweaks for real-ra maps Sequences: - mods/cnc/sequences.xml: Original animation sequences + mods/cnc/sequences-structures.xml: Structures + mods/cnc/sequences-vehicles.xml: Vehicles + mods/cnc/sequences-infantry.xml: Infantry + mods/cnc/sequences.xml: Everything else Assemblies: mods/ra/OpenRa.Mods.RA.dll: Traits used diff --git a/mods/cnc/rules.yaml b/mods/cnc/rules.yaml deleted file mode 100644 index f31aae9597..0000000000 --- a/mods/cnc/rules.yaml +++ /dev/null @@ -1,119 +0,0 @@ -Player: - ProductionQueue: - BuildingSelectAudio: bldging1.aud - BuildingReadyAudio: constru1.aud - BuildingCannotPlaceAudio: deploy1.aud - UnitSelectAudio: bldging1.aud - UnitReadyAudio: unitredy.aud - OnHoldAudio: onhold1.aud - CancelledAudio: cancel1.aud - ClickAudio: button.aud - PlaceBuilding: - -World: - WaterPaletteRotation: - BuildingInfluence: - UnitInfluence: - -MCV: - Inherits: ^Vehicle - Buildable: - TechLevel: 7 - Prerequisites: eye - Owner: allies,soviet - Cost: 5000 - Description: Mobile Construction Vehicle - LongDesc: Deploys into another Construction Yard.\n Unarmed - Selectable: - Priority: 3 - Unit: - HP: 600 - Armor: light - Crewed: yes - Sight: 2 - Speed: 12 - McvDeploy: - RenderUnit: - -HARV: - Inherits: ^Vehicle - Buildable: - TechLevel: 2 - Prerequisites: proc - Owner: allies,soviet - Cost: 1400 - Description: Harvester - LongDesc: Collects Tiberium for processing.\n Unarmed - Selectable: - Priority: 7 - Harvester: - Unit: - HP: 600 - Armor: light - Crewed: yes - Sight: 4 - Speed: 6 - Mobile: - MovementType: Track - RenderUnit: - -FACT: - Inherits: ^Building - Building: - Power: 15 - Footprint: xxx xxx xxx - Dimensions: 3,3 - Capturable: true - Bib: yes - HP: 400 - Armor: wood - Crewed: yes - Sight: 3 - Production: - Produces: Building,Defense - ConstructionYard: - -NUKE: - Inherits: ^Building - Buildable: - Icon: nukeicnh - TechLevel: 1 - Owner: allies,soviet - Cost: 300 - Description: Power Plant - LongDesc: Provides power for other structures - Building: - Power: 100 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - Bib: yes - HP: 200 - Armor: wood - Crewed: yes - Sight: 2 - -PROC: - Inherits: ^Building - Buildable: - Icon: procicnh - TechLevel: 2 - Prerequisites: nuke - Owner: allies,soviet - Cost: 2000 - Description: Tiberium Refinery - LongDesc: Processes Tiberium into useable resources - Building: - Power: -30 - Footprint: _x_ xxx x== - Dimensions: 3,3 - Capturable: true - Bib: yes - HP: 450 - Armor: wood - Crewed: yes - Sight: 4 - AcceptsOre: - StoresOre: - Pips: 17 - Capacity: 1000 diff --git a/mods/cnc/sequences-infantry.xml b/mods/cnc/sequences-infantry.xml new file mode 100644 index 0000000000..56329ef75b --- /dev/null +++ b/mods/cnc/sequences-infantry.xml @@ -0,0 +1,4 @@ + + + + diff --git a/mods/cnc/sequences-structures.xml b/mods/cnc/sequences-structures.xml new file mode 100644 index 0000000000..e6b6b59b00 --- /dev/null +++ b/mods/cnc/sequences-structures.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mods/cnc/sequences-vehicles.xml b/mods/cnc/sequences-vehicles.xml new file mode 100644 index 0000000000..c02c1a812c --- /dev/null +++ b/mods/cnc/sequences-vehicles.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/mods/cnc/sequences.xml b/mods/cnc/sequences.xml index cd4b909f97..a572993d0d 100644 --- a/mods/cnc/sequences.xml +++ b/mods/cnc/sequences.xml @@ -1,60 +1,12 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - + @@ -80,16 +32,7 @@ - - - - - - - - - - + @@ -98,14 +41,7 @@ - - - - - - - - + @@ -202,10 +138,6 @@ - - - - diff --git a/mods/cnc/structures.yaml b/mods/cnc/structures.yaml new file mode 100644 index 0000000000..1edb0d6eb8 --- /dev/null +++ b/mods/cnc/structures.yaml @@ -0,0 +1,180 @@ +FACT: + Inherits: ^Building + Building: + Power: 15 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Capturable: true + Bib: yes + HP: 400 + Armor: wood + Crewed: yes + Sight: 3 + Production: + Produces: Building,Defense + ConstructionYard: + +NUKE: + Inherits: ^Building + Buildable: + Icon: nukeicnh + TechLevel: 1 + Owner: allies,soviet + Cost: 300 + Description: Power Plant + LongDesc: Provides power for other structures + Building: + Power: 100 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + Bib: yes + HP: 200 + Armor: wood + Crewed: yes + Sight: 2 + +PROC: + Inherits: ^Building + Buildable: + Icon: procicnh + TechLevel: 2 + Prerequisites: nuke + Owner: allies,soviet + Cost: 2000 + Description: Tiberium Refinery + LongDesc: Processes Tiberium into useable resources + Building: + Power: -30 + Footprint: _x_ xxx x== + Dimensions: 3,3 + Capturable: true + Bib: yes + HP: 450 + Armor: wood + Crewed: yes + Sight: 4 + AcceptsOre: + StoresOre: + Pips: 17 + Capacity: 1000 +SILO: + Inherits: ^Building + Buildable: + Icon: siloicnh + TechLevel: 2 + Prerequisites: proc + Owner: allies,soviet + Cost: 150 + Description: Tiberium Silo + LongDesc: Stores excess Tiberium until it can be processed + Building: + Power: -10 + Footprint: xx + Dimensions: 2,1 + Capturable: true + HP: 150 + Armor: wood + Sight: 2 + RenderBuildingOre: + StoresOre: + Pips: 5 + Capacity: 1500 + -RenderBuilding: + +PYLE: + Inherits: ^Building + Buildable: + Icon: pyleicnh + TechLevel: 2 + Prerequisites: nuke + Owner: allies + Cost: 300 + Description: Barracks + LongDesc: Trains infantry + Building: + Power: -20 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + Bib: yes + HP: 400 + Armor: wood + Crewed: yes + Sight: 3 + RallyPoint: + Production: + Produces: Infantry + +HAND: + Inherits: ^Building + Buildable: + Icon: handicnh + TechLevel: 2 + Prerequisites: nuke + Owner: soviet + Cost: 300 + Description: Hand of Nod + LongDesc: Trains infantry + Building: + Power: -20 + Footprint: __ xx xx + Dimensions: 2,3 + Capturable: true + Bib: yes + HP: 400 + Armor: wood + Crewed: yes + Sight: 3 + RallyPoint: + Production: + Produces: Infantry + +AFLD: + Inherits: ^Building + Buildable: + Icon: afldicnh + TechLevel: 5 + Prerequisites: proc + Owner: soviet + Cost: 2000 + Description: Airfield + LongDesc: Provides a dropzone for vehicle reinforcements + Building: + Power: -30 + Footprint: xxxx xxxx + Dimensions: 4,2 + Capturable: true + Bib: yes + HP: 500 + Armor: heavy + Crewed: yes + Sight: 5 + RallyPoint: + Production: + Produces: Vehicle + +WEAP: + Inherits: ^Building + Buildable: + Icon: weapicnh + TechLevel: 5 + Prerequisites: proc + Owner: allies + Cost: 2000 + Description: Weapons Factory + LongDesc: Assembly point for vehicle reinforcements + Building: + Power: -30 + Footprint: ___ xxx xxx + Dimensions: 3,3 + Capturable: true + Bib: yes + HP: 200 + Armor: light + Crewed: yes + Sight: 3 + RenderWarFactory: + RallyPoint: + Production: + Produces: Vehicle \ No newline at end of file diff --git a/mods/cnc/system.yaml b/mods/cnc/system.yaml new file mode 100644 index 0000000000..555e538df8 --- /dev/null +++ b/mods/cnc/system.yaml @@ -0,0 +1,16 @@ +Player: + ProductionQueue: + BuildingSelectAudio: bldging1.aud + BuildingReadyAudio: constru1.aud + BuildingCannotPlaceAudio: deploy1.aud + UnitSelectAudio: bldging1.aud + UnitReadyAudio: unitredy.aud + OnHoldAudio: onhold1.aud + CancelledAudio: cancel1.aud + ClickAudio: button.aud + PlaceBuilding: + +World: + WaterPaletteRotation: + BuildingInfluence: + UnitInfluence: \ No newline at end of file diff --git a/mods/cnc/vehicles.yaml b/mods/cnc/vehicles.yaml new file mode 100644 index 0000000000..ce2d23d818 --- /dev/null +++ b/mods/cnc/vehicles.yaml @@ -0,0 +1,41 @@ +MCV: + Inherits: ^Vehicle + Buildable: + TechLevel: 7 + Prerequisites: eye + Owner: allies,soviet + Cost: 5000 + Description: Mobile Construction Vehicle + LongDesc: Deploys into another Construction Yard.\n Unarmed + Selectable: + Priority: 3 + Unit: + HP: 600 + Armor: light + Crewed: yes + Sight: 2 + Speed: 12 + McvDeploy: + RenderUnit: + +HARV: + Inherits: ^Vehicle + Buildable: + TechLevel: 2 + Prerequisites: proc + Owner: allies,soviet + Cost: 1400 + Description: Harvester + LongDesc: Collects Tiberium for processing.\n Unarmed + Selectable: + Priority: 7 + Harvester: + Unit: + HP: 600 + Armor: light + Crewed: yes + Sight: 4 + Speed: 6 + Mobile: + MovementType: Track + RenderUnit: \ No newline at end of file