Added Gates
FIXUP: account for full gate footprint when updating neighbours. FIXUP: gate-wall connection adjacency yaml.
This commit is contained in:
@@ -750,3 +750,52 @@
|
||||
Inherits: ^TerrainOverlay
|
||||
CustomSelectionSize:
|
||||
CustomBounds: 220,220
|
||||
|
||||
^Gate:
|
||||
Inherits: ^Building
|
||||
Valued:
|
||||
Cost: 250
|
||||
Health:
|
||||
HP: 350
|
||||
Armor:
|
||||
Type: Heavy
|
||||
LineBuildNode:
|
||||
Types: wall, gate
|
||||
-Building:
|
||||
-Capturable:
|
||||
-GivesBuildableArea:
|
||||
-MustBeDestroyed:
|
||||
-WithSpriteBody:
|
||||
WithGateSpriteBody:
|
||||
Power:
|
||||
CanPowerDown:
|
||||
IndicatorPalette: mouse
|
||||
Tooltip:
|
||||
Description: Automated barrier that opens for allied units.
|
||||
Gate:
|
||||
Adjacent: 4
|
||||
BuildSounds: place2.aud
|
||||
OpeningSound: gateup1.aud
|
||||
ClosingSound: gatedwn1.aud
|
||||
TerrainTypes: Clear, Rough, Road, DirtRoad, Green, Sand, Pavement
|
||||
BlocksProjectilesHeight: 640
|
||||
|
||||
^Gate_A:
|
||||
Inherits: ^Gate
|
||||
Gate:
|
||||
Dimensions: 3,1
|
||||
Footprint: xxx
|
||||
WithGateSpriteBody:
|
||||
WallConnections: -1,0, 3,0
|
||||
LineBuildNode:
|
||||
Connections: -1,0, 1,0
|
||||
|
||||
^Gate_B:
|
||||
Inherits: ^Gate
|
||||
Gate:
|
||||
Dimensions: 1,3
|
||||
Footprint: x x x
|
||||
WithGateSpriteBody:
|
||||
WallConnections: 0,-1, 0,3
|
||||
LineBuildNode:
|
||||
Connections: 0,-1, 0,1
|
||||
|
||||
@@ -25,6 +25,24 @@ GAWALL:
|
||||
LineBuild:
|
||||
NodeTypes: wall, turret
|
||||
|
||||
GAGATE_A:
|
||||
Inherits: ^Gate_A
|
||||
Buildable:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 100
|
||||
Prerequisites: gapile, ~structures.gdi
|
||||
Tooltip:
|
||||
Name: GDI Gate
|
||||
|
||||
GAGATE_B:
|
||||
Inherits: ^Gate_B
|
||||
Buildable:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 100
|
||||
Prerequisites: gapile, ~structures.gdi
|
||||
Tooltip:
|
||||
Name: GDI Gate
|
||||
|
||||
GACTWR:
|
||||
Inherits: ^Defense
|
||||
-WithSpriteBody:
|
||||
|
||||
@@ -25,6 +25,24 @@ NAWALL:
|
||||
LineBuild:
|
||||
NodeTypes: wall, turret
|
||||
|
||||
NAGATE_A:
|
||||
Inherits: ^Gate_A
|
||||
Buildable:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 100
|
||||
Prerequisites: nahand, ~structures.nod
|
||||
Tooltip:
|
||||
Name: Nod Gate
|
||||
|
||||
NAGATE_B:
|
||||
Inherits: ^Gate_B
|
||||
Buildable:
|
||||
Queue: Defense
|
||||
BuildPaletteOrder: 100
|
||||
Prerequisites: nahand, ~structures.nod
|
||||
Tooltip:
|
||||
Name: Nod Gate
|
||||
|
||||
NALASR:
|
||||
Inherits: ^Defense
|
||||
Valued:
|
||||
|
||||
Reference in New Issue
Block a user