diff --git a/mods/ts/rules/structures.yaml b/mods/ts/rules/structures.yaml index 24b4663266..cffcc502c1 100644 --- a/mods/ts/rules/structures.yaml +++ b/mods/ts/rules/structures.yaml @@ -80,6 +80,8 @@ GAPILE: Tooltip: Name: GDI Barracks Description: Produces infantry + ProvidesCustomPrerequisite: + Prerequisite: barracks Building: Power: -20 Footprint: xx xx @@ -112,6 +114,8 @@ GAWEAP: Tooltip: Name: GDI War Factory Description: Assembly point for\nvehicle reinforcements + ProvidesCustomPrerequisite: + Prerequisite: factory Buildable: Queue: Building BuildPaletteOrder: 50 @@ -134,6 +138,12 @@ GAWEAP: Production: Produces: Vehicle ProductionBar: + WithIdleOverlay@LIGHTS1: + Sequence: idle-lights1 + WithIdleOverlay@LIGHTS2: + Sequence: idle-lights2 + WithIdleOverlay@TURBINES: + Sequence: idle-turbines NAPOWR: Inherits: ^Building @@ -175,6 +185,8 @@ NAHAND: Tooltip: Name: Hand of Nod Description: Produces infantry + ProvidesCustomPrerequisite: + Prerequisite: barracks Building: Power: -20 Footprint: xxx xxx @@ -205,6 +217,8 @@ NAWEAP: Tooltip: Name: Nod War Factory Description: Assembly point for\nvehicle reinforcements + ProvidesCustomPrerequisite: + Prerequisite: factory Buildable: Queue: Building BuildPaletteOrder: 50 @@ -227,6 +241,8 @@ NAWEAP: Production: Produces: Vehicle ProductionBar: + WithIdleOverlay@LIGHTS: + Sequence: idle-lights GASAND: Inherits: ^Wall @@ -251,6 +267,52 @@ GASAND: Armor: Type: Light +GAWALL: + Inherits: ^Wall + Buildable: + Queue: Defense + BuildPaletteOrder: 1001 + Prerequisites: gacnst + Owner: gdi + Hotkey: b + SoundOnDamageTransition: + DamagedSound: + DestroyedSound: + Valued: + Cost: 50 + CustomSellValue: + Value: 0 + Tooltip: + Name: Concrete Wall + Description: Stops infantry and blocks enemy fire.\nCan NOT be crushed by tanks. + Health: + HP: 300 + Armor: + Type: Concrete + +NAWALL: + Inherits: ^Wall + Buildable: + Queue: Defense + BuildPaletteOrder: 1001 + Prerequisites: gacnst + Owner: nod + Hotkey: b + SoundOnDamageTransition: + DamagedSound: + DestroyedSound: + Valued: + Cost: 50 + CustomSellValue: + Value: 0 + Tooltip: + Name: Concrete Wall + Description: Stops infantry and blocks enemy fire.\nCan NOT be crushed by tanks. + Health: + HP: 300 + Armor: + Type: Concrete + GATICK: Inherits: ^Building Valued: @@ -406,6 +468,132 @@ GASPOT: WithIdleOverlay@LIGHTS: Sequence: idle-lights +GARADR: + Inherits: ^Building + Buildable: + Queue: Building + BuildPaletteOrder: 90 + Owner: gdi + Prerequisites: anypower, factory + Valued: + Cost: 1000 + Tooltip: + Name: GDI Radar + Description: Provides radar screen + ProvidesCustomPrerequisite: + Prerequisite: radar + Building: + Power: -50 + Footprint: ___ xxx xxx + Dimensions: 3,3 + Health: + HP: 800 + Armor: + Type: Wood + RequiresPower: + CanPowerDown: + ProvidesRadar: + Infiltratable: + Type: Exploration + InfiltrateForExploration: + DetectCloaked: + Range: 10 + RenderDetectionCircle: + RevealsShroud: + Range: 10c0 + WithIdleOverlay@DISH: + Sequence: idle-dish + +NARADR: + Inherits: ^Building + Buildable: + Queue: Building + BuildPaletteOrder: 90 + Owner: nod + Prerequisites: anypower, factory + Valued: + Cost: 1000 + Tooltip: + Name: Nod Radar + Description: Provides radar screen + ProvidesCustomPrerequisite: + Prerequisite: radar + Building: + Power: -50 + Footprint: xx xx + Dimensions: 2,2 + Health: + HP: 800 + Armor: + Type: Wood + RequiresPower: + CanPowerDown: + ProvidesRadar: + Infiltratable: + Type: Exploration + InfiltrateForExploration: + DetectCloaked: + Range: 10 + RenderDetectionCircle: + RevealsShroud: + Range: 10c0 + WithIdleOverlay@DISH: + Sequence: idle-dish + +GATECH: + Inherits: ^Building + Buildable: + Queue: Building + BuildPaletteOrder: 100 + Owner: gdi + Prerequisites: GARADR + Valued: + Cost: 2000 + Tooltip: + Name: GDI Tech Center + Description: Required for high-\ntech research + ProvidesCustomPrerequisite: + Prerequisite: tech + Building: + Power: -150 + Footprint: xxx xxx xxx + Dimensions: 3,3 + Health: + HP: 500 + Armor: + Type: Wood + RevealsShroud: + Range: 4c0 + WithIdleOverlay@LIGHTS: + Sequence: idle-lights + +NATECH: + Inherits: ^Building + Buildable: + Queue: Building + BuildPaletteOrder: 100 + Owner: nod + Prerequisites: NARADR + Valued: + Cost: 2000 + Tooltip: + Name: Nod Tech Center + Description: Required for high-\ntech research + ProvidesCustomPrerequisite: + Prerequisite: tech + Building: + Power: -150 + Footprint: xx xx + Dimensions: 2,2 + Health: + HP: 500 + Armor: + Type: Wood + RevealsShroud: + Range: 4c0 + WithIdleOverlay@LIGHTS: + Sequence: idle-lights + GAHPAD: Inherits: ^Building Valued: @@ -480,3 +668,17 @@ BARRACKS: Name: Infantry Production Description: Infantry Production +FACTORY: + Tooltip: + Name: Vehicle Production + Description: Vehicle Production + +RADAR: + Tooltip: + Name: Radar + Description: Radar + +TECH: + Tooltip: + Name: Tech Center + Description: Tech Center diff --git a/mods/ts/sequences/structures.yaml b/mods/ts/sequences/structures.yaml index ea73ec208e..ede205e187 100644 --- a/mods/ts/sequences/structures.yaml +++ b/mods/ts/sequences/structures.yaml @@ -139,6 +139,36 @@ gaweap: dead: gtweap Start: 2 ShadowStart: 5 + idle-lights1: gtweap_a + Start: 0 + Length: 8 + Tick: 100 + ZOffset: 2048 + damaged-idle-lights1: gtweap_a + Start: 8 + Length: 8 + Tick: 100 + ZOffset: 2048 + idle-lights2: gtweap_b + Start: 0 + Length: 4 + Tick: 120 + ZOffset: 2048 + damaged-idle-lights2: gtweap_b + Start: 4 + Length: 4 + Tick: 120 + ZOffset: 2048 + idle-turbines: gtweap_c + Start: 0 + Length: 4 + Tick: 80 + ZOffset: 2048 + damaged-idle-turbines: gtweap_c + Start: 0 + Length: 4 + Tick: 80 + ZOffset: 2048 build-top: gtweap_d Start: 0 Length: 9 @@ -232,6 +262,16 @@ naweap: dead: ntweap Start: 2 ShadowStart: 5 + idle-lights: ntweap_a + Start: 0 + Length: 16 + Tick: 100 + ZOffset: 2048 + damaged-idle-lights: ntweap_a + Start: 16 + Length: 16 + Tick: 100 + ZOffset: 2048 build-top: ntweap_b Start: 0 Length: 10 @@ -251,7 +291,115 @@ naweap: ShadowStart: 22 icon: nwepicon Start: 0 -# TODO: ntweap_1 & ntweapbb & ntweap_a & ntweap_b & ntweap_c are unused +# TODO: ntweap_1 & ntweapbb & ntweap_b & ntweap_c are unused + +naradr: + idle: ntradr + Start: 0 + ShadowStart: 3 + damaged-idle: ntradr + Start: 1 + ShadowStart: 4 + critical-idle: ntradr + Start: 2 + ShadowStart: 5 + idle-dish: ntradr_a + Start: 0 + Length: 24 + Tick: 120 + damaged-idle-dish: ntradr_a + Start: 24 + Length: 24 + Tick: 120 + make: ntradrmk + Start: 0 + Length: 20 + ShadowStart: 20 + icon: nradicon + Start: 0 + +natech: + idle: nttech + Start: 0 + ShadowStart: 3 + damaged-idle: nttech + Start: 1 + ShadowStart: 4 + critical-idle: nttech + Start: 2 + ShadowStart: 5 + idle-lights: nttech_a + Start: 0 + Length: 9 + Tick: 120 + damaged-idle-lights: nttech_a + Start: 0 + Length: 9 + Tick: 120 + critical-idle-lights: nttech_a + Start: 0 + Length: 9 + Tick: 120 + make: nttechmk + Start: 0 + Length: 18 + ShadowStart: 18 + icon: ntchicon + Start: 0 + +garadr: + idle: gtradr + Start: 0 + ShadowStart: 3 + damaged-idle: gtradr + Start: 1 + ShadowStart: 4 + critical-idle: gtradr + Start: 2 + ShadowStart: 5 + idle-dish: gtradr_a # TODO: needs to ping-pong + Start: 0 + Length: 15 + Tick: 120 + damaged-idle-dish: gtradr_a # TODO: needs to ping-pong + Start: 15 + Length: 15 + Tick: 160 + make: gtradrmk + Start: 0 + Length: 20 + ShadowStart: 20 + icon: radricon + Start: 0 + +gatech: + idle: gttech + Start: 0 + ShadowStart: 3 + damaged-idle: gttech + Start: 1 + ShadowStart: 4 + critical-idle: gttech + Start: 2 + ShadowStart: 5 + idle-lights: gttech_a + Start: 0 + Length: 8 + Tick: 200 + damaged-idle-lights: gttech_a + Start: 8 + Length: 8 + Tick: 240 + critical-idle-lights: gttech_a + Start: 8 + Length: 8 + Tick: 240 + make: gttechmk + Start: 0 + Length: 20 + ShadowStart: 20 + icon: techicon + Start: 0 gasand: # TODO frame order (horizontal seems busted) idle: gtsand @@ -265,6 +413,38 @@ gasand: # TODO frame order (horizontal seems busted) icon: sbagicon Start: 0 +gawall: # TODO frame order (horizontal seems busted) + idle: gtwall + Start: 0 + Length: 16 + ShadowStart: 48 + damaged-idle: gtwall + Start: 16 + Length: 16 + ShadowStart: 64 + critical-idle: gtwall + Start: 32 + Length: 16 + ShadowStart: 80 + icon: wallicon + Start: 0 + +nawall: # TODO frame order (horizontal seems busted) + idle: ntwall + Start: 0 + Length: 16 + ShadowStart: 48 + damaged-idle: ntwall + Start: 16 + Length: 16 + ShadowStart: 64 + critical-idle: ntwall + Start: 32 + Length: 16 + ShadowStart: 80 + icon: nwalicon + Start: 0 + gatick: idle: Start: 0