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:
|
||||
|
||||
@@ -602,6 +602,120 @@ gawall:
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
|
||||
gagate_a:
|
||||
Defaults:
|
||||
Offset: -24, -24
|
||||
UseTilesetCode: true
|
||||
idle:
|
||||
Length: 10
|
||||
ShadowStart: 21
|
||||
damaged-idle:
|
||||
Start: 10
|
||||
Length: 10
|
||||
ShadowStart: 31
|
||||
dead:
|
||||
Start: 20
|
||||
Tick: 400
|
||||
ShadowStart: 41
|
||||
make:
|
||||
Frames: 9, 8, 7, 6, 5, 4, 3, 2, 1
|
||||
Length: 9
|
||||
emp-overlay: emp_fx01
|
||||
Length: *
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
ZOffset: 512
|
||||
BlendMode: Additive
|
||||
icon: gateicon
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
|
||||
gagate_b:
|
||||
Defaults:
|
||||
Offset: 24, -24
|
||||
UseTilesetCode: true
|
||||
idle:
|
||||
Length: 10
|
||||
ShadowStart: 21
|
||||
damaged-idle:
|
||||
Start: 10
|
||||
Length: 10
|
||||
ShadowStart: 31
|
||||
dead:
|
||||
Start: 20
|
||||
Tick: 400
|
||||
ShadowStart: 41
|
||||
make:
|
||||
Frames: 9, 8, 7, 6, 5, 4, 3, 2, 1
|
||||
Length: 9
|
||||
emp-overlay: emp_fx01
|
||||
Length: *
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
ZOffset: 512
|
||||
BlendMode: Additive
|
||||
icon: gat2icon
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
|
||||
nagate_a:
|
||||
Defaults:
|
||||
Offset: -24, -24
|
||||
UseTilesetCode: true
|
||||
Tick: 80
|
||||
idle:
|
||||
Length: 7
|
||||
ShadowStart: 15
|
||||
damaged-idle:
|
||||
Start: 7
|
||||
Length: 7
|
||||
ShadowStart: 22
|
||||
dead:
|
||||
Start: 14
|
||||
Tick: 400
|
||||
ShadowStart: 29
|
||||
make:
|
||||
Frames: 6, 5, 4, 3, 2, 1
|
||||
Length: 6
|
||||
emp-overlay: emp_fx01
|
||||
Length: *
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
ZOffset: 512
|
||||
BlendMode: Additive
|
||||
icon: ngaticon
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
|
||||
nagate_b:
|
||||
Defaults:
|
||||
Offset: 24, -24
|
||||
UseTilesetCode: true
|
||||
Tick: 80
|
||||
idle:
|
||||
Length: 7
|
||||
ShadowStart: 15
|
||||
damaged-idle:
|
||||
Start: 7
|
||||
Length: 7
|
||||
ShadowStart: 22
|
||||
dead:
|
||||
Start: 14
|
||||
Tick: 400
|
||||
ShadowStart: 29
|
||||
make:
|
||||
Frames: 6, 5, 4, 3, 2, 1
|
||||
Length: 6
|
||||
emp-overlay: emp_fx01
|
||||
Length: *
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
ZOffset: 512
|
||||
BlendMode: Additive
|
||||
icon: nga2icon
|
||||
Offset: 0, 0
|
||||
UseTilesetCode: false
|
||||
|
||||
nawall:
|
||||
Defaults:
|
||||
Offset: 0, -12
|
||||
|
||||
Reference in New Issue
Block a user