diff --git a/OpenRA.Game/Traits/Buildable.cs b/OpenRA.Game/Traits/Buildable.cs index 7f1310a610..4b19a97f10 100755 --- a/OpenRA.Game/Traits/Buildable.cs +++ b/OpenRA.Game/Traits/Buildable.cs @@ -31,14 +31,13 @@ namespace OpenRA.Traits class BuildableInfo : ValuedInfo { - public readonly int TechLevel = -1; public readonly string[] Prerequisites = { }; public readonly string[] BuiltAt = { }; public readonly string[] Owner = { }; public readonly string Icon = null; public readonly string[] AlternateName = { }; - public readonly int BuildPaletteOrder = 50; + public readonly int BuildPaletteOrder = 9999; public readonly string Hotkey = null; public override object Create(Actor self) { return new Buildable(); } diff --git a/OpenRA.Game/Widgets/BuildPaletteWidget.cs b/OpenRA.Game/Widgets/BuildPaletteWidget.cs index fb07fe802c..e8a213929c 100644 --- a/OpenRA.Game/Widgets/BuildPaletteWidget.cs +++ b/OpenRA.Game/Widgets/BuildPaletteWidget.cs @@ -201,7 +201,7 @@ namespace OpenRA.Widgets var allBuildables = Rules.TechTree.AllBuildables(queueName) .Where(a => a.Traits.Get().Owner.Contains(world.LocalPlayer.Country.Race)) .OrderBy(a => a.Traits.Get().BuildPaletteOrder) - .ThenBy(a => a.Traits.Get().TechLevel).ToArray(); + .ToArray(); var queue = world.LocalPlayer.PlayerActor.traits.Get(); diff --git a/mods/ra/infantry.yaml b/mods/ra/infantry.yaml index aa1a33b59e..2ac4d608bc 100644 --- a/mods/ra/infantry.yaml +++ b/mods/ra/infantry.yaml @@ -1,7 +1,7 @@ DOG: Inherits: ^Infantry Buildable: - TechLevel: 3 + BuildPaletteOrder: 30 Prerequisites: kenn BuiltAt: KENN Owner: soviet @@ -22,7 +22,7 @@ DOG: E1: Inherits: ^Infantry Buildable: - TechLevel: 1 + BuildPaletteOrder: 10 Prerequisites: @Barracks Owner: allies,soviet Cost: 100 @@ -41,7 +41,7 @@ E1: E2: Inherits: ^Infantry Buildable: - TechLevel: 1 + BuildPaletteOrder: 10 Owner: soviet Cost: 160 Description: Grenadier @@ -62,7 +62,7 @@ E2: E3: Inherits: ^Infantry Buildable: - TechLevel: 2 + BuildPaletteOrder: 20 Owner: allies,soviet Cost: 300 Description: Rocket Soldier @@ -83,7 +83,7 @@ E3: E4: Inherits: ^Infantry Buildable: - TechLevel: 6 + BuildPaletteOrder: 60 Prerequisites: stek, @Barracks Owner: soviet Cost: 300 @@ -104,7 +104,7 @@ E4: E6: Inherits: ^Infantry Buildable: - TechLevel: 5 + BuildPaletteOrder: 50 Owner: soviet,allies Cost: 500 Description: Engineer @@ -126,7 +126,7 @@ E6: SPY: Inherits: ^Infantry Buildable: - TechLevel: 6 + BuildPaletteOrder: 60 Prerequisites: dome, tent Owner: allies Cost: 500 @@ -151,7 +151,7 @@ SPY: E7: Inherits: ^Infantry Buildable: - TechLevel: 11 + BuildPaletteOrder: 110 Prerequisites: @Tech Center, @Barracks Owner: allies,soviet Cost: 1200 @@ -175,7 +175,7 @@ E7: MEDI: Inherits: ^Infantry Buildable: - TechLevel: 2 + BuildPaletteOrder: 20 Owner: allies Cost: 800 Description: Medic diff --git a/mods/ra/structures.yaml b/mods/ra/structures.yaml index b4ac5dfc0f..a9b964b001 100644 --- a/mods/ra/structures.yaml +++ b/mods/ra/structures.yaml @@ -1,25 +1,25 @@ -MSLO: - Category: Defense - NukeSilo: - Inherits: ^Building - Buildable: - TechLevel: 13 - Prerequisites: @Tech Center - Owner: soviet,allies - Cost: 2500 - Description: Missile Silo - LongDesc: Launches a devastating nuclear strike.\n Strong vs Infantry, Buildings\n Weak vs Tanks\n Special Ability: Nuclear Missile - Hotkey: m - Building: - Power: -100 - Footprint: xx - Dimensions: 2,1 - HP: 400 - Armor: heavy - Crewed: yes - Sight: 5 - IronCurtainable: - +MSLO: + Category: Defense + NukeSilo: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 130 + Prerequisites: @Tech Center + Owner: soviet,allies + Cost: 2500 + Description: Missile Silo + LongDesc: Launches a devastating nuclear strike.\n Strong vs Infantry, Buildings\n Weak vs Tanks\n Special Ability: Nuclear Missile + Hotkey: m + Building: + Power: -100 + Footprint: xx + Dimensions: 2,1 + HP: 400 + Armor: heavy + Crewed: yes + Sight: 5 + IronCurtainable: + GAP: Category: Defense RequiresPower: @@ -28,7 +28,7 @@ GAP: Range: 10 Inherits: ^Building # Buildable: -# TechLevel: 10 +# BuildPaletteOrder: 100 # Prerequisites: atek # Owner: allies # Cost: 500 @@ -44,881 +44,866 @@ GAP: Armor: wood Crewed: yes Sight: 10 - IronCurtainable: - -SPEN: - InfiltrateForSonarPulse: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: @Power Plant - Owner: soviet - Cost: 650 - Description: Sub Pen - LongDesc: Produces and repairs submarines and \ntransports - Hotkey: s - Building: - Power: -30 - Footprint: xxx xxx xxx - Dimensions: 3,3 - Capturable: true - BaseNormal: no - Adjacent: 8 - HP: 1000 - Armor: light - WaterBound: yes - Sight: 4 - ProductionSurround: - Produces: Ship - IronCurtainable: - -EmitInfantryOnSell: - RepairsUnits: - -SYRD: - InfiltrateForSonarPulse: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: @Power Plant - Owner: allies - Cost: 650 - Description: Shipyard - LongDesc: Produces and repairs ships - BuildPaletteOrder: 4 - Hotkey: s - Building: - Power: -30 - Footprint: xxx xxx xxx - Dimensions: 3,3 - Capturable: true - BaseNormal: no - Adjacent: 8 - HP: 1000 - Armor: light - WaterBound: yes - Sight: 4 - ProductionSurround: - Produces: Ship - IronCurtainable: - -EmitInfantryOnSell: - RepairsUnits: - -IRON: - Category: Defense - RequiresPower: - CanPowerDown: - Inherits: ^Building - Buildable: - TechLevel: 12 - Prerequisites: stek - Owner: soviet - Cost: 2800 - Description: Iron Curtain - LongDesc: Makes a group of units invulnerable for a \nshort time.\n Special Ability: Invulnerability - Hotkey: c - Building: - Power: -200 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 400 - Armor: wood - Crewed: yes - Sight: 10 - Bib: - IronCurtainable: - IronCurtain: - -PDOX: - Category: Defense - RequiresPower: - CanPowerDown: - Inherits: ^Building - Buildable: - TechLevel: 12 - Prerequisites: atek - Owner: allies - Cost: 2800 - Description: Chronosphere - LongDesc: Teleports a unit from one place \nto another, for a limited time.\n Special Ability: Chronoshift - Hotkey: o - Building: - Power: -200 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 400 - Armor: wood - Crewed: yes - Sight: 10 - Bib: - Chronosphere: - IronCurtainable: - -TSLA: - Category: Defense - RequiresPower: - CanPowerDown: - Inherits: ^Building - Buildable: - TechLevel: 7 - Prerequisites: weap - Owner: soviet - Cost: 1500 - Description: Tesla Coil - LongDesc: Advanced base defense. Requires power\nto operate.\n Strong vs Tanks, Infantry\n Weak vs Aircraft - Hotkey: t - Building: - Power: -150 - Footprint: _ x - Dimensions: 1,2 - HP: 400 - Armor: heavy - Crewed: yes - Sight: 8 - RenderBuildingCharge: - AttackTesla: - PrimaryWeapon: TeslaZap - FireDelay: 8 - AutoTarget: - IronCurtainable: - -RenderBuilding: - RenderRangeCircle: - -AGUN: - Category: Defense - RequiresPower: - CanPowerDown: - Inherits: ^Building - Buildable: - TechLevel: 5 - Prerequisites: dome - Owner: allies - Cost: 600 - Description: AA Gun - LongDesc: Anti-Air base defense.\n Strong vs Aircraft\n Weak vs Infantry, Tanks - Hotkey: a - Building: - Power: -50 - Footprint: _ x - Dimensions: 1,2 - HP: 400 - Armor: heavy - Crewed: yes - Sight: 6 - Turreted: - ROT: 15 - InitialFacing: 224 - RenderBuildingTurreted: - AttackTurreted: - PrimaryWeapon: ZSU-23 - SecondaryWeapon: ZSU-23 - AutoTarget: - IronCurtainable: - -RenderBuilding: - RenderRangeCircle: - -DOME: - RequiresPower: - CanPowerDown: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: proc - Owner: allies,soviet - Cost: 1000 - Description: Radar Dome - LongDesc: Provides an overview of the battlefield.\n Requires power to operate. - BuildPaletteOrder: 6 - Hotkey: r - Building: - Power: -40 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 1000 - Armor: wood - Crewed: yes - Sight: 10 - Bib: - ProvidesRadar: - IronCurtainable: - -PBOX: - Category: Defense - Inherits: ^Building - Buildable: - TechLevel: 2 - Prerequisites: tent - Owner: allies - Cost: 400 - Description: Pillbox - LongDesc: Basic defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft - Hotkey: x - Building: - Power: -15 - HP: 400 - Armor: wood - Crewed: yes - Sight: 6 - AttackOmni: - PrimaryWeapon: Vulcan - AutoTarget: - IronCurtainable: - RenderRangeCircle: - -HBOX: - Category: Defense - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: tent - Owner: allies - Cost: 600 - Description: Camo Pillbox - LongDesc: Hidden defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft - Hotkey: c - Building: - Power: -15 - HP: 600 - Armor: wood - Crewed: yes - Sight: 6 - AttackOmni: - PrimaryWeapon: Vulcan - AutoTarget: - IronCurtainable: - RenderRangeCircle: - -GUN: - Category: Defense - Inherits: ^Building - Buildable: - TechLevel: 4 - Prerequisites: tent - Owner: allies - Cost: 600 - Description: Turret - LongDesc: Anti-Armor base defense.\n Strong vs Tanks\n Weak vs Infantry, Aircraft - Hotkey: t - Building: - Power: -40 - HP: 400 - Armor: heavy - Crewed: yes - Sight: 7 - Turreted: - ROT: 12 - InitialFacing: 50 - RenderBuildingTurreted: - AttackTurreted: - PrimaryWeapon: TurretGun - AutoTarget: - IronCurtainable: - -RenderBuilding: - RenderRangeCircle: - -FTUR: - Category: Defense - Inherits: ^Building - Buildable: - TechLevel: 2 - Prerequisites: barr - Owner: soviet - Cost: 600 - Description: Flame Turret - LongDesc: Anti-Infantry base defense.\n Strong vs Infantry\n Weak vs Aircraft - Hotkey: f - Building: - Power: -20 - HP: 400 - Armor: heavy - Crewed: yes - Sight: 6 - AttackOmni: - PrimaryWeapon: FireballLauncher - PrimaryOffset: 0,0,12,8 - AutoTarget: - IronCurtainable: - RenderRangeCircle: - -SAM: - Category: Defense - Inherits: ^Building - Buildable: - TechLevel: 9 - Prerequisites: dome - Owner: soviet - Cost: 750 - Description: SAM Site - LongDesc: Anti-Air base defense.\n Strong vs Aircraft\n Weak vs Infantry, Tanks - Hotkey: s - Building: - Power: -20 - Footprint: xx - Dimensions: 2,1 - HP: 400 - Armor: heavy - Crewed: yes - Sight: 5 - Turreted: - ROT: 30 - InitialFacing: 0 - RenderBuildingTurreted: - AttackTurreted: - PrimaryWeapon: Nike - AutoTarget: - IronCurtainable: - -RenderBuilding: - RenderRangeCircle: - -ATEK: - Inherits: ^Building - Buildable: - TechLevel: 10 - Prerequisites: weap,dome - Owner: allies - Cost: 1500 - Description: Allied Tech Center - LongDesc: Provides Allied advanced technologies.\n Special Ability: GPS Satellite - AlternateName: @Tech Center - Hotkey: t - Building: - Power: -200 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 400 - Armor: wood - Crewed: yes - Sight: 10 - Bib: - IronCurtainable: - GpsLaunchSite: - -WEAP: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: proc - Owner: soviet,allies - Cost: 2000 - Description: War Factory - LongDesc: Produces tanks & light vehicles. - BuildPaletteOrder: 5 - Hotkey: w - Building: - Power: -30 - Footprint: xxx xxx - Dimensions: 3,2 - Capturable: true - HP: 1000 - Armor: light - Crewed: yes - Sight: 4 - Bib: - RenderWarFactory: - RallyPoint: - Production: - Produces: Vehicle - IronCurtainable: - -FACT: - Inherits: ^Building - Building: - Power: 0 - Footprint: xxx xxx xxx - Dimensions: 3,3 - Capturable: true - HP: 1000 - Armor: heavy - Crewed: yes - Sight: 5 - Bib: - Production: - Produces: Building,Defense - ConstructionYard: - IronCurtainable: - Valued: - Cost: 2500 - Description: Construction Yard - CustomSellValue: - Value: 2500 - BaseBuilding: - -PROC: - Inherits: ^Building - Buildable: - TechLevel: 1 - Prerequisites: @Power Plant - Owner: allies,soviet - Cost: 1400 - Description: Ore Refinery - LongDesc: Converts Ore and Gems into money - BuildPaletteOrder: 1 - Hotkey: e - Building: - Power: -30 - Footprint: _x_ xxx x== - Dimensions: 3,3 - Capturable: true - HP: 900 - Armor: wood - Crewed: yes - Sight: 6 - Bib: - OreRefinery: - StoresOre: - Pips: 17 - Capacity: 2000 - IronCurtainable: - CustomSellValue: - Value: 600 - HasUnitOnBuild: - Unit: HARV - InitialActivity: Harvest - SpawnOffset: 1,2 - Facing: 64 - -SILO: - Inherits: ^Building - Buildable: - TechLevel: 1 - Prerequisites: proc - Owner: allies,soviet - Cost: 150 - Description: Silo - LongDesc: Stores excess harvested Ore - Hotkey: o - Building: - Power: -10 - Capturable: true - HP: 300 - Armor: wood - Sight: 4 - RenderBuildingOre: - StoresOre: - Pips: 5 - Capacity: 1500 - IronCurtainable: - -RenderBuilding: - -HPAD: - Inherits: ^Building - Buildable: - TechLevel: 9 - Prerequisites: dome - Owner: allies - Cost: 1500 - Description: Helipad - LongDesc: Produces and reloads helicopters - Hotkey: i - Building: - Power: -10 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 800 - Armor: wood - Crewed: yes - Sight: 5 - Bib: - Production: - SpawnOffset: 0,-4 - Produces: Plane - BelowUnits: - Reservable: - IronCurtainable: - -AFLD: - Inherits: ^Building - Buildable: - TechLevel: 5 - Prerequisites: dome - Owner: soviet - Cost: 600 - Description: Airstrip - LongDesc: Produces and reloads planes\n Special Ability: Paratroopers\n Special Ability: Spy Plane - Hotkey: a - Building: - Power: -30 - Footprint: xxx xxx - Dimensions: 3,2 - Capturable: true - HP: 1000 - Armor: heavy - Crewed: yes - Sight: 7 - Production: - Produces: Plane - BelowUnits: - Reservable: - IronCurtainable: - -POWR: - Inherits: ^Building - Buildable: - TechLevel: 1 - Owner: allies,soviet - Cost: 300 - Description: Power Plant - LongDesc: Provides power for other structures - BuildPaletteOrder: 0 - AlternateName: @Power Plant - Hotkey: p - Building: - Power: 100 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 400 - Armor: wood - Crewed: yes - Sight: 4 - Bib: - IronCurtainable: - -APWR: - Inherits: ^Building - Buildable: - TechLevel: 8 - Prerequisites: @Power Plant - Owner: allies,soviet - Cost: 500 - Description: Advanced Power Plant - LongDesc: Provides more power, cheaper than the \nstandard Power Plant - BuildPaletteOrder:2 - Hotkey: l - AlternateName: @Power Plant - Building: - Power: 200 - Footprint: ___ xxx xxx - Dimensions: 3,3 - Capturable: true - HP: 700 - Armor: wood - Crewed: yes - Sight: 4 - Bib: - IronCurtainable: - -STEK: - Inherits: ^Building - Buildable: - TechLevel: 6 - Prerequisites: weap,dome - Owner: soviet - Cost: 1500 - Description: Soviet Tech Center - LongDesc: Provides Soviet advanced technologies - AlternateName: @Tech Center - Hotkey: t - Building: - Power: -100 - Footprint: xxx xxx - Dimensions: 3,2 - Capturable: true - HP: 600 - Armor: wood - Crewed: yes - Sight: 4 - Bib: - IronCurtainable: - -BARR: - Inherits: ^Building - Buildable: - TechLevel: 1 - Prerequisites: @Power Plant - Owner: soviet - Cost: 300 - Description: Soviet Barracks - LongDesc: Produces infantry - BuildPaletteOrder: 3 - Hotkey: b - AlternateName: @Barracks - Building: - Power: -20 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 800 - Armor: wood - Crewed: yes - Sight: 5 - Bib: - RallyPoint: - Production: - Produces: Infantry - IronCurtainable: - -TENT: - Inherits: ^Building - Buildable: - TechLevel: 1 - Prerequisites: @Power Plant - Owner: allies - Cost: 300 - Description: Allied Barracks - LongDesc: Produces infantry - BuildPaletteOrder: 3 - Hotkey: b - AlternateName: @Barracks - Building: - Power: -20 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - HP: 800 - Armor: wood - Crewed: yes - Sight: 5 - Bib: - RallyPoint: - Production: - Produces: Infantry - IronCurtainable: - -KENN: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: @Power Plant - Owner: soviet - Cost: 200 - Description: Kennel - LongDesc: Produces attack dogs - Hotkey: k - Building: - Power: -10 - HP: 400 - Armor: wood - Sight: 4 - RallyPoint: - Production: - Produces: Infantry - IronCurtainable: - -FIX: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: weap - Owner: allies,soviet - Cost: 700 - Description: Service Depot - LongDesc: Repairs vehicles, reloads minelayers, and \nallows the construction of additional bases. - Hotkey: d - Building: - Power: -30 - Footprint: _x_ xxx _x_ - Dimensions: 3,3 - Capturable: true - HP: 800 - Armor: wood - Crewed: yes - Sight: 5 - BelowUnits: - Reservable: - RallyPoint: - IronCurtainable: - RepairsUnits: - -FACF: - Inherits: ^Building - Buildable: - TechLevel: 1 - Owner: allies - Cost: 50 - Description: Fake Construction Yard - LongDesc: Looks like a Construction Yard. - BuildPaletteOrder: 90 - Hotkey: c - Building: - Power: -2 - Footprint: xxx xxx xxx - Dimensions: 3,3 - Capturable: true - BaseNormal: no - HP: 30 - Sight: 4 - Bib: - RenderBuilding: - Image: FACT - Fake: - IronCurtainable: - -WEAF: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: proc - Owner: allies - Cost: 50 - Description: Fake War Factory - LongDesc: Looks like a War Factory. - BuildPaletteOrder: 90 - Hotkey: x - Building: - Power: -2 - Footprint: xxx xxx - Dimensions: 3,2 - Capturable: true - BaseNormal: no - HP: 30 - Sight: 4 - Bib: - RenderWarFactory: - RenderBuilding: - Image: WEAP - Fake: - IronCurtainable: - -SYRF: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: @Power Plant - Owner: allies - Cost: 50 - Description: Fake Shipyard - LongDesc: Looks like a Shipyard - BuildPaletteOrder: 90 - Hotkey: z - Building: - Power: -2 - Footprint: xxx xxx xxx - Dimensions: 3,3 - Capturable: true - BaseNormal: no - Adjacent: 8 - HP: 30 - WaterBound: yes - Sight: 4 - RenderBuilding: - Image: SYRD - Fake: - -EmitInfantryOnSell: - -SPEF: - Inherits: ^Building - Building: - Power: -2 - Footprint: xxx xxx xxx - Dimensions: 3,3 - Capturable: true - BaseNormal: no - Adjacent: 8 - HP: 30 - WaterBound: yes - Sight: 4 - RenderBuilding: - Image: SPEN - Fake: - -EmitInfantryOnSell: - -DOMF: - Inherits: ^Building - Buildable: - TechLevel: 3 - Prerequisites: proc - Owner: allies - Cost: 50 - Description: Fake Radar Dome - LongDesc: Looks like a Radar Dome - BuildPaletteOrder: 90 - Hotkey: v - Building: - Power: -2 - Footprint: xx xx - Dimensions: 2,2 - Capturable: true - BaseNormal: no - HP: 30 - Sight: 4 - Bib: - RenderBuilding: - Image: DOME - Fake: - -SBAG: - Category: Defense - Inherits: ^Wall - Buildable: - TechLevel: 2 - Prerequisites: fact - Owner: allies - Cost: 25 - Description: Sandbag Wall - LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. - BuildPaletteOrder: 100 - Hotkey: b - Building: - HP: 100 - Armor: none - Wall: - CrushableBy: Wheel, Track - -FENC: - Category: Defense - Inherits: ^Wall - Buildable: - TechLevel: 2 - Prerequisites: fact - Owner: soviet - Cost: 25 - Description: Wire Fence - LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. - BuildPaletteOrder: 100 - Hotkey: n - Building: - HP: 100 - Armor: none - Wall: - CrushableBy: Track - -BRIK: - Category: Defense - Inherits: ^Wall - Buildable: - TechLevel: 8 - Prerequisites: fact - Owner: allies,soviet - Cost: 100 - Description: Concrete Wall - LongDesc: Stop units and blocks enemy fire. - BuildPaletteOrder: 100 - Hotkey: w - Building: - HP: 100 - Armor: none - DamagedSound: crmble2.aud - DestroyedSound: kaboom30.aud - RenderBuildingWall: - DamageStates: 4 - -CYCL: - Inherits: ^Wall - Building: - HP: 100 - Armor: none - RenderBuildingWall: - DamageStates: 3 - Wall: - CrushableBy: Track - -BARB: - Inherits: ^Wall - Building: - HP: 100 - Armor: none - Wall: - CrushableBy: Track - -WOOD: - Inherits: ^Wall - Building: - HP: 100 - Armor: none - Wall: - CrushableBy: Track + IronCurtainable: + +SPEN: + InfiltrateForSonarPulse: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 30 + Prerequisites: @Power Plant + Owner: soviet + Cost: 650 + Description: Sub Pen + LongDesc: Produces and repairs submarines and \ntransports + Hotkey: s + Building: + Power: -30 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Capturable: true + BaseNormal: no + Adjacent: 8 + HP: 1000 + Armor: light + WaterBound: yes + Sight: 4 + ProductionSurround: + Produces: Ship + IronCurtainable: + -EmitInfantryOnSell: + RepairsUnits: + +SYRD: + InfiltrateForSonarPulse: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 40 + Prerequisites: @Power Plant + Owner: allies + Cost: 650 + Description: Shipyard + LongDesc: Produces and repairs ships + Hotkey: s + Building: + Power: -30 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Capturable: true + BaseNormal: no + Adjacent: 8 + HP: 1000 + Armor: light + WaterBound: yes + Sight: 4 + ProductionSurround: + Produces: Ship + IronCurtainable: + -EmitInfantryOnSell: + RepairsUnits: + +IRON: + Category: Defense + RequiresPower: + CanPowerDown: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 120 + Prerequisites: stek + Owner: soviet + Cost: 2800 + Description: Iron Curtain + LongDesc: Makes a group of units invulnerable for a \nshort time.\n Special Ability: Invulnerability + Hotkey: c + Building: + Power: -200 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 400 + Armor: wood + Crewed: yes + Sight: 10 + Bib: + IronCurtainable: + IronCurtain: + +PDOX: + Category: Defense + RequiresPower: + CanPowerDown: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 120 + Prerequisites: atek + Owner: allies + Cost: 2800 + Description: Chronosphere + LongDesc: Teleports a unit from one place \nto another, for a limited time.\n Special Ability: Chronoshift + Hotkey: o + Building: + Power: -200 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 400 + Armor: wood + Crewed: yes + Sight: 10 + Bib: + Chronosphere: + IronCurtainable: + +TSLA: + Category: Defense + RequiresPower: + CanPowerDown: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 70 + Prerequisites: weap + Owner: soviet + Cost: 1500 + Description: Tesla Coil + LongDesc: Advanced base defense. Requires power\nto operate.\n Strong vs Tanks, Infantry\n Weak vs Aircraft + Hotkey: t + Building: + Power: -150 + Footprint: _ x + Dimensions: 1,2 + HP: 400 + Armor: heavy + Crewed: yes + Sight: 8 + RenderBuildingCharge: + AttackTesla: + PrimaryWeapon: TeslaZap + FireDelay: 8 + AutoTarget: + IronCurtainable: + -RenderBuilding: + RenderRangeCircle: + +AGUN: + Category: Defense + RequiresPower: + CanPowerDown: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 50 + Prerequisites: dome + Owner: allies + Cost: 600 + Description: AA Gun + LongDesc: Anti-Air base defense.\n Strong vs Aircraft\n Weak vs Infantry, Tanks + Hotkey: a + Building: + Power: -50 + Footprint: _ x + Dimensions: 1,2 + HP: 400 + Armor: heavy + Crewed: yes + Sight: 6 + Turreted: + ROT: 15 + InitialFacing: 224 + RenderBuildingTurreted: + AttackTurreted: + PrimaryWeapon: ZSU-23 + SecondaryWeapon: ZSU-23 + AutoTarget: + IronCurtainable: + -RenderBuilding: + RenderRangeCircle: + +DOME: + RequiresPower: + CanPowerDown: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 60 + Prerequisites: proc + Owner: allies,soviet + Cost: 1000 + Description: Radar Dome + LongDesc: Provides an overview of the battlefield.\n Requires power to operate. + Hotkey: r + Building: + Power: -40 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 1000 + Armor: wood + Crewed: yes + Sight: 10 + Bib: + ProvidesRadar: + IronCurtainable: + +PBOX: + Category: Defense + Inherits: ^Building + Buildable: + BuildPaletteOrder: 20 + Prerequisites: tent + Owner: allies + Cost: 400 + Description: Pillbox + LongDesc: Basic defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft + Hotkey: x + Building: + Power: -15 + HP: 400 + Armor: wood + Crewed: yes + Sight: 6 + AttackOmni: + PrimaryWeapon: Vulcan + AutoTarget: + IronCurtainable: + RenderRangeCircle: + +HBOX: + Category: Defense + Inherits: ^Building + Buildable: + BuildPaletteOrder: 30 + Prerequisites: tent + Owner: allies + Cost: 600 + Description: Camo Pillbox + LongDesc: Hidden defensive structure.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft + Hotkey: c + Building: + Power: -15 + HP: 600 + Armor: wood + Crewed: yes + Sight: 6 + AttackOmni: + PrimaryWeapon: Vulcan + AutoTarget: + IronCurtainable: + RenderRangeCircle: + +GUN: + Category: Defense + Inherits: ^Building + Buildable: + BuildPaletteOrder: 40 + Prerequisites: tent + Owner: allies + Cost: 600 + Description: Turret + LongDesc: Anti-Armor base defense.\n Strong vs Tanks\n Weak vs Infantry, Aircraft + Hotkey: t + Building: + Power: -40 + HP: 400 + Armor: heavy + Crewed: yes + Sight: 7 + Turreted: + ROT: 12 + InitialFacing: 50 + RenderBuildingTurreted: + AttackTurreted: + PrimaryWeapon: TurretGun + AutoTarget: + IronCurtainable: + -RenderBuilding: + RenderRangeCircle: + +FTUR: + Category: Defense + Inherits: ^Building + Buildable: + BuildPaletteOrder: 20 + Prerequisites: barr + Owner: soviet + Cost: 600 + Description: Flame Turret + LongDesc: Anti-Infantry base defense.\n Strong vs Infantry\n Weak vs Aircraft + Hotkey: f + Building: + Power: -20 + HP: 400 + Armor: heavy + Crewed: yes + Sight: 6 + AttackOmni: + PrimaryWeapon: FireballLauncher + PrimaryOffset: 0,0,12,8 + AutoTarget: + IronCurtainable: + RenderRangeCircle: + +SAM: + Category: Defense + Inherits: ^Building + Buildable: + BuildPaletteOrder: 90 + Prerequisites: dome + Owner: soviet + Cost: 750 + Description: SAM Site + LongDesc: Anti-Air base defense.\n Strong vs Aircraft\n Weak vs Infantry, Tanks + Hotkey: s + Building: + Power: -20 + Footprint: xx + Dimensions: 2,1 + HP: 400 + Armor: heavy + Crewed: yes + Sight: 5 + Turreted: + ROT: 30 + InitialFacing: 0 + RenderBuildingTurreted: + AttackTurreted: + PrimaryWeapon: Nike + AutoTarget: + IronCurtainable: + -RenderBuilding: + RenderRangeCircle: + +ATEK: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 100 + Prerequisites: weap,dome + Owner: allies + Cost: 1500 + Description: Allied Tech Center + LongDesc: Provides Allied advanced technologies.\n Special Ability: GPS Satellite + AlternateName: @Tech Center + Hotkey: t + Building: + Power: -200 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 400 + Armor: wood + Crewed: yes + Sight: 10 + Bib: + IronCurtainable: + GpsLaunchSite: + +WEAP: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 50 + Prerequisites: proc + Owner: soviet,allies + Cost: 2000 + Description: War Factory + LongDesc: Produces tanks & light vehicles. + Hotkey: w + Building: + Power: -30 + Footprint: xxx xxx + Dimensions: 3,2 + Capturable: true + HP: 1000 + Armor: light + Crewed: yes + Sight: 4 + Bib: + RenderWarFactory: + RallyPoint: + Production: + Produces: Vehicle + IronCurtainable: + +FACT: + Inherits: ^Building + Building: + Power: 0 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Capturable: true + HP: 1000 + Armor: heavy + Crewed: yes + Sight: 5 + Bib: + Production: + Produces: Building,Defense + ConstructionYard: + IronCurtainable: + Valued: + Cost: 2500 + Description: Construction Yard + CustomSellValue: + Value: 2500 + BaseBuilding: + +PROC: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 10 + Prerequisites: @Power Plant + Owner: allies,soviet + Cost: 1400 + Description: Ore Refinery + LongDesc: Converts Ore and Gems into money + Hotkey: e + Building: + Power: -30 + Footprint: _x_ xxx x== + Dimensions: 3,3 + Capturable: true + HP: 900 + Armor: wood + Crewed: yes + Sight: 6 + Bib: + OreRefinery: + StoresOre: + Pips: 17 + Capacity: 2000 + IronCurtainable: + CustomSellValue: + Value: 600 + HasUnitOnBuild: + Unit: HARV + InitialActivity: Harvest + SpawnOffset: 1,2 + Facing: 64 + +SILO: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 40 + Prerequisites: proc + Owner: allies,soviet + Cost: 150 + Description: Silo + LongDesc: Stores excess harvested Ore + Hotkey: o + Building: + Power: -10 + Capturable: true + HP: 300 + Armor: wood + Sight: 4 + RenderBuildingOre: + StoresOre: + Pips: 5 + Capacity: 1500 + IronCurtainable: + -RenderBuilding: + +HPAD: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 90 + Prerequisites: dome + Owner: allies + Cost: 1500 + Description: Helipad + LongDesc: Produces and reloads helicopters + Hotkey: i + Building: + Power: -10 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 800 + Armor: wood + Crewed: yes + Sight: 5 + Bib: + Production: + SpawnOffset: 0,-4 + Produces: Plane + BelowUnits: + Reservable: + IronCurtainable: + +AFLD: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 50 + Prerequisites: dome + Owner: soviet + Cost: 600 + Description: Airstrip + LongDesc: Produces and reloads planes\n Special Ability: Paratroopers\n Special Ability: Spy Plane + Hotkey: a + Building: + Power: -30 + Footprint: xxx xxx + Dimensions: 3,2 + Capturable: true + HP: 1000 + Armor: heavy + Crewed: yes + Sight: 7 + Production: + Produces: Plane + BelowUnits: + Reservable: + IronCurtainable: + +POWR: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 0 + Owner: allies,soviet + Cost: 300 + Description: Power Plant + LongDesc: Provides power for other structures + AlternateName: @Power Plant + Hotkey: p + Building: + Power: 100 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 400 + Armor: wood + Crewed: yes + Sight: 4 + Bib: + IronCurtainable: + +APWR: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 20 + Prerequisites: @Power Plant + Owner: allies,soviet + Cost: 500 + Description: Advanced Power Plant + LongDesc: Provides more power, cheaper than the \nstandard Power Plant + Hotkey: l + AlternateName: @Power Plant + Building: + Power: 200 + Footprint: ___ xxx xxx + Dimensions: 3,3 + Capturable: true + HP: 700 + Armor: wood + Crewed: yes + Sight: 4 + Bib: + IronCurtainable: + +STEK: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 60 + Prerequisites: weap,dome + Owner: soviet + Cost: 1500 + Description: Soviet Tech Center + LongDesc: Provides Soviet advanced technologies + AlternateName: @Tech Center + Hotkey: t + Building: + Power: -100 + Footprint: xxx xxx + Dimensions: 3,2 + Capturable: true + HP: 600 + Armor: wood + Crewed: yes + Sight: 4 + Bib: + IronCurtainable: + +BARR: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 30 + Prerequisites: @Power Plant + Owner: soviet + Cost: 300 + Description: Soviet Barracks + LongDesc: Produces infantry + Hotkey: b + AlternateName: @Barracks + Building: + Power: -20 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 800 + Armor: wood + Crewed: yes + Sight: 5 + Bib: + RallyPoint: + Production: + Produces: Infantry + IronCurtainable: + +TENT: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 30 + Prerequisites: @Power Plant + Owner: allies + Cost: 300 + Description: Allied Barracks + LongDesc: Produces infantry + Hotkey: b + AlternateName: @Barracks + Building: + Power: -20 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + HP: 800 + Armor: wood + Crewed: yes + Sight: 5 + Bib: + RallyPoint: + Production: + Produces: Infantry + IronCurtainable: + +KENN: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 30 + Prerequisites: @Power Plant + Owner: soviet + Cost: 200 + Description: Kennel + LongDesc: Produces attack dogs + Hotkey: k + Building: + Power: -10 + HP: 400 + Armor: wood + Sight: 4 + RallyPoint: + Production: + Produces: Infantry + IronCurtainable: + +FIX: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 30 + Prerequisites: weap + Owner: allies,soviet + Cost: 700 + Description: Service Depot + LongDesc: Repairs vehicles, reloads minelayers, and \nallows the construction of additional bases. + Hotkey: d + Building: + Power: -30 + Footprint: _x_ xxx _x_ + Dimensions: 3,3 + Capturable: true + HP: 800 + Armor: wood + Crewed: yes + Sight: 5 + BelowUnits: + Reservable: + RallyPoint: + IronCurtainable: + RepairsUnits: + +FACF: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 900 + Owner: allies + Cost: 50 + Description: Fake Construction Yard + LongDesc: Looks like a Construction Yard. + Hotkey: c + Building: + Power: -2 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Capturable: true + BaseNormal: no + HP: 30 + Sight: 4 + Bib: + RenderBuilding: + Image: FACT + Fake: + IronCurtainable: + +WEAF: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 900 + Prerequisites: proc + Owner: allies + Cost: 50 + Description: Fake War Factory + LongDesc: Looks like a War Factory. + Hotkey: x + Building: + Power: -2 + Footprint: xxx xxx + Dimensions: 3,2 + Capturable: true + BaseNormal: no + HP: 30 + Sight: 4 + Bib: + RenderWarFactory: + RenderBuilding: + Image: WEAP + Fake: + IronCurtainable: + +SYRF: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 900 + Prerequisites: @Power Plant + Owner: allies + Cost: 50 + Description: Fake Shipyard + LongDesc: Looks like a Shipyard + Hotkey: z + Building: + Power: -2 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Capturable: true + BaseNormal: no + Adjacent: 8 + HP: 30 + WaterBound: yes + Sight: 4 + RenderBuilding: + Image: SYRD + Fake: + -EmitInfantryOnSell: + +SPEF: + Inherits: ^Building + Building: + Power: -2 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Capturable: true + BaseNormal: no + Adjacent: 8 + HP: 30 + WaterBound: yes + Sight: 4 + RenderBuilding: + Image: SPEN + Fake: + -EmitInfantryOnSell: + +DOMF: + Inherits: ^Building + Buildable: + BuildPaletteOrder: 900 + Prerequisites: proc + Owner: allies + Cost: 50 + Description: Fake Radar Dome + LongDesc: Looks like a Radar Dome + Hotkey: v + Building: + Power: -2 + Footprint: xx xx + Dimensions: 2,2 + Capturable: true + BaseNormal: no + HP: 30 + Sight: 4 + Bib: + RenderBuilding: + Image: DOME + Fake: + +SBAG: + Category: Defense + Inherits: ^Wall + Buildable: + BuildPaletteOrder: 1000 + Prerequisites: fact + Owner: allies + Cost: 25 + Description: Sandbag Wall + LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. + Hotkey: b + Building: + HP: 100 + Armor: none + Wall: + CrushableBy: Wheel, Track + +FENC: + Category: Defense + Inherits: ^Wall + Buildable: + BuildPaletteOrder: 1000 + Prerequisites: fact + Owner: soviet + Cost: 25 + Description: Wire Fence + LongDesc: Stops infantry and blocks enemy fire.\nCan be crushed by tanks. + Hotkey: n + Building: + HP: 100 + Armor: none + Wall: + CrushableBy: Track + +BRIK: + Category: Defense + Inherits: ^Wall + Buildable: + BuildPaletteOrder: 1000 + Prerequisites: fact + Owner: allies,soviet + Cost: 100 + Description: Concrete Wall + LongDesc: Stop units and blocks enemy fire. + Hotkey: w + Building: + HP: 100 + Armor: none + DamagedSound: crmble2.aud + DestroyedSound: kaboom30.aud + RenderBuildingWall: + DamageStates: 4 + +CYCL: + Inherits: ^Wall + Building: + HP: 100 + Armor: none + RenderBuildingWall: + DamageStates: 3 + Wall: + CrushableBy: Track + +BARB: + Inherits: ^Wall + Building: + HP: 100 + Armor: none + Wall: + CrushableBy: Track + +WOOD: + Inherits: ^Wall + Building: + HP: 100 + Armor: none + Wall: + CrushableBy: Track diff --git a/mods/ra/vehicles.yaml b/mods/ra/vehicles.yaml index dc6843969d..c8f8d3d563 100644 --- a/mods/ra/vehicles.yaml +++ b/mods/ra/vehicles.yaml @@ -39,7 +39,7 @@ BADR.bomber: V2RL: Inherits: ^Vehicle Buildable: - TechLevel: 4 + BuildPaletteOrder: 40 Prerequisites: weap,dome Owner: soviet Cost: 700 @@ -61,7 +61,7 @@ V2RL: 1TNK: Inherits: ^Vehicle Buildable: - TechLevel: 4 + BuildPaletteOrder: 40 Prerequisites: weap Owner: allies Cost: 700 @@ -86,7 +86,7 @@ V2RL: 2TNK: Inherits: ^Vehicle Buildable: - TechLevel: 6 + BuildPaletteOrder: 60 Prerequisites: weap Owner: allies Cost: 800 @@ -111,7 +111,7 @@ V2RL: 3TNK: Inherits: ^Vehicle Buildable: - TechLevel: 4 + BuildPaletteOrder: 40 Prerequisites: weap Owner: soviet Cost: 950 @@ -136,7 +136,7 @@ V2RL: 4TNK: Inherits: ^Vehicle Buildable: - TechLevel: 10 + BuildPaletteOrder: 100 Prerequisites: weap,stek Owner: soviet Cost: 1700 @@ -164,7 +164,7 @@ V2RL: ARTY: Inherits: ^Vehicle Buildable: - TechLevel: 8 + BuildPaletteOrder: 80 Prerequisites: weap Owner: allies Cost: 600 @@ -188,7 +188,7 @@ ARTY: HARV: Inherits: ^Vehicle Buildable: - TechLevel: 1 + BuildPaletteOrder: 10 Prerequisites: weap,proc Owner: allies,soviet Cost: 1100 @@ -212,7 +212,7 @@ HARV: MCV: Inherits: ^Vehicle Buildable: - TechLevel: 11 + BuildPaletteOrder: 110 Prerequisites: weap,fix Owner: allies,soviet Cost: 2000 @@ -239,7 +239,7 @@ MCV: JEEP: Inherits: ^Vehicle Buildable: - TechLevel: 3 + BuildPaletteOrder: 30 Prerequisites: weap Owner: allies Cost: 600 @@ -264,7 +264,7 @@ JEEP: APC: Inherits: ^Vehicle Buildable: - TechLevel: 5 + BuildPaletteOrder: 50 Prerequisites: weap,tent Owner: allies Cost: 800 @@ -292,7 +292,7 @@ APC: MNLY.AP: Inherits: ^Vehicle Buildable: - TechLevel: 3 + BuildPaletteOrder: 30 Prerequisites: weap,fix Owner: soviet Cost: 800 @@ -318,7 +318,7 @@ MNLY.AP: MNLY.AT: Inherits: ^Vehicle Buildable: - TechLevel: 3 + BuildPaletteOrder: 30 Prerequisites: weap,fix Owner: allies Cost: 800 @@ -353,7 +353,7 @@ TRUK: SS: Inherits: ^Ship Buildable: - TechLevel: 5 + BuildPaletteOrder: 50 Prerequisites: spen BuiltAt: spen Owner: soviet @@ -380,7 +380,7 @@ SS: DD: Inherits: ^Ship Buildable: - TechLevel: 7 + BuildPaletteOrder: 70 Prerequisites: syrd BuiltAt: syrd Owner: allies @@ -409,7 +409,7 @@ DD: CA: Inherits: ^Ship Buildable: - TechLevel: 10 + BuildPaletteOrder: 100 Prerequisites: syrd,atek BuiltAt: syrd Owner: allies @@ -440,7 +440,7 @@ CA: LST: Inherits: ^Ship Buildable: - TechLevel: 3 + BuildPaletteOrder: 30 Owner: allies,soviet Cost: 700 Description: Transport @@ -462,7 +462,7 @@ LST: PT: Inherits: ^Ship Buildable: - TechLevel: 5 + BuildPaletteOrder: 50 Prerequisites: syrd BuiltAt: syrd Owner: allies @@ -491,7 +491,7 @@ PT: MIG: Inherits: ^Plane Buildable: - TechLevel: 10 + BuildPaletteOrder: 100 Prerequisites: afld BuiltAt: afld Owner: soviet @@ -519,7 +519,7 @@ MIG: YAK: Inherits: ^Plane Buildable: - TechLevel: 5 + BuildPaletteOrder: 50 Prerequisites: afld BuiltAt: afld Owner: soviet @@ -548,7 +548,7 @@ YAK: TRAN: Inherits: ^Plane Buildable: - TechLevel: 11 + BuildPaletteOrder: 110 Prerequisites: hpad BuiltAt: hpad Owner: allies @@ -575,7 +575,7 @@ TRAN: HELI: Inherits: ^Plane Buildable: - TechLevel: 9 + BuildPaletteOrder: 90 Prerequisites: hpad BuiltAt: hpad Owner: allies @@ -606,7 +606,7 @@ HELI: HIND: Inherits: ^Plane Buildable: - TechLevel: 9 + BuildPaletteOrder: 90 Prerequisites: hpad BuiltAt: hpad Owner: allies