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
|
||||
|
||||
Reference in New Issue
Block a user