Skip to content

Commit

Permalink
Merge pull request #3752 from reaperrr/ts-nod-buildings
Browse files Browse the repository at this point in the history
Further TS mod improvements
  • Loading branch information
Mailaender committed Aug 29, 2013
2 parents 5641113 + bac7f14 commit dd56994
Show file tree
Hide file tree
Showing 5 changed files with 324 additions and 45 deletions.
68 changes: 34 additions & 34 deletions mods/ts/cursors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,52 +84,52 @@ Cursors:
harvest-minimap: #TODO
start:134
length: 8
enter: #TODO
start:113
length: 3
enter-minimap: #TODO
start:139
length: 3
enter-blocked: #TODO
start:212
enter:
start: 89
length: 10
enter-minimap:
start: 100
length: 10
enter-blocked:
start: 99
length: 1
enter-blocked-minimap: #TODO
start:33
c4: #TODO
start:116
length: 3
c4:
start: 309
length: 10
c4-minimap: #TODO
start:121
length: 3
guard: #TODO
start:147
length: 1
guard-minimap: #TODO
start:146
length: 1
capture: #TODO
start:164
length: 3
capture-minimap: #TODO
start:167
length: 3
heal: #TODO
start:160
length: 4
guard:
start: 68
length: 5
guard-minimap:
start: 73
length: 5
capture:
start: 89
length: 10
capture-minimap:
start: 100
length: 10
heal:
start: 346
length: 10
heal-minimap: #TODO
start:194
length: 1
ability: #TODO
start:82
length: 8
ability:
start: 78
length: 10
ability-minimap: #TODO
start:214
length: 8
deploy:
start:110
start: 110
length: 9
deploy-blocked:
start:119
start: 119
length: 1
undeploy: #TODO: unused
start:120
Expand Down Expand Up @@ -158,9 +158,9 @@ Cursors:
repair-blocked:
start:190
length: 1
sell2: #TODO ?
start:148
length: 12
sell2:
start:139
length: 10
powerdown-blocked:
start:345
length: 1
Expand Down
8 changes: 4 additions & 4 deletions mods/ts/rules/aircraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@ SCRIN:
Buildable:
Queue: Air
BuildPaletteOrder: 20
Prerequisites: #nahpad, natech
Prerequisites: nahpad #, natech
Owner: nod
Selectable:
Bounds: 30,24
Helicopter:
RearmBuildings: #nahpad # TODO: use DROPUP1.AUD and DROPDWN1.AUD
RearmBuildings: nahpad # TODO: use DROPUP1.AUD and DROPDWN1.AUD
ROT: 3
Speed: 18
Health:
Expand Down Expand Up @@ -239,12 +239,12 @@ APACHE:
Buildable:
Queue: Air
BuildPaletteOrder: 20
Prerequisites: #nahpad
Prerequisites: nahpad
Owner: nod
Selectable:
Bounds: 30,24
Helicopter:
RearmBuildings: #nahpad
RearmBuildings: nahpad
ROT: 5
Speed: 14
Health:
Expand Down
137 changes: 135 additions & 2 deletions mods/ts/rules/structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,109 @@ GAWEAP:
Range: 4
-RenderBuilding:
RenderBuildingWarFactory:
# RallyPoint: # TODO: setup sequences
RallyPoint: # TODO: setup sequences/palettes
RallyPoint: 6,5
# IndicatorPalettePrefix: effect
Exit@1:
SpawnOffset: -8,-8
SpawnOffset: -4,24
ExitCell: 3,3
Production:
Produces: Vehicle
ProductionBar:

NAPOWR:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 0
Owner: nod
Hotkey: p
Valued:
Cost: 300
Tooltip:
Name: Nod Power Plant
Description: Provides power for other structures
ProvidesCustomPrerequisite:
Prerequisite: anypower
Building:
Power: 100
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 750
Armor:
Type: Wood
RevealsShroud:
Range: 4
WithIdleOverlay@LIGHTS:
Sequence: idle-lights

NAHAND:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 30
Prerequisites: anypower
Owner: nod
Hotkey: b
Valued:
Cost: 300
Tooltip:
Name: Hand of Nod
Description: Produces infantry
Building:
Power: -20
Footprint: xxx xxx
Dimensions: 3,2
Health:
HP: 800
Armor:
Type: Wood
RevealsShroud:
Range: 5
# RallyPoint: #TODO: setup sequences
Exit@1:
SpawnOffset: -64,64,0
ExitCell: 0,2
Production:
Produces: Infantry
PrimaryBuilding:
IronCurtainable:
ProductionBar:
WithIdleOverlay@LIGHTS:
Sequence: idle-lights
WithIdleOverlay@LIGHT:
Sequence: idle-light

NAWEAP:
Inherits: ^Building
Valued:
Cost: 2000
Tooltip:
Name: Nod War Factory
Description: Assembly point for\nvehicle reinforcements
# ProvidesCustomPrerequisite:
# Prerequisite: VehicleProduction
Buildable:
Queue: Building
BuildPaletteOrder: 50
Owner: nod
Building:
Power: -30
Footprint: ___ xxx ===
Dimensions: 3,3
Health:
HP: 1000
RevealsShroud:
Range: 4
-RenderBuilding:
RenderBuildingWarFactory:
RallyPoint: # TODO: setup sequences/palettes
RallyPoint: 6,5
# IndicatorPalettePrefix: effect
Exit@1:
SpawnOffset: -4,24
ExitCell: 3,3
Production:
Produces: Vehicle
ProductionBar:
Expand Down Expand Up @@ -348,6 +447,40 @@ GAHPAD:
WithIdleOverlay@LIGHTS:
Sequence: idle-lights

NAHPAD:
Inherits: ^Building
Valued:
Cost: 500
Tooltip:
Name: Nod Helipad
Description: Produces, rearms and\nrepairs helicopters
Buildable:
BuildPaletteOrder: 60
# Prerequisites: naradr
Owner: nod
Queue: Building
Building:
Power: -10
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 600
RevealsShroud:
Range: 5
Exit@1:
SpawnOffset: 0,-6
Production:
Produces: Air
BelowUnits:
Reservable:
RepairsUnits:
# RallyPoint:
ProductionBar:
WithIdleOverlay@PLATFORM:
Sequence: idle-platform
WithIdleOverlay@LIGHTS:
Sequence: idle-lights

# custom prerequisites:
ANYPOWER:
Tooltip:
Expand Down
12 changes: 12 additions & 0 deletions mods/ts/sequences/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ allyrepair:
Length: *
Tick: 160

# TODO: fix/replace them, just placeholders
rallypoint:
flag: smokland
Start: 40
Length: 50
Offset: 5,-3
BlendMode: Additive
circles: ring
Start: 0
Length: 12
BlendMode: Additive

rank: # TODO: backfall to RA asset
rank:
Start: 0
Expand Down

0 comments on commit dd56994

Please sign in to comment.