Add gates to the Red Alert mod.

This commit is contained in:
Matthias Mailänder
2016-01-26 22:12:00 +01:00
parent 2865c833eb
commit 8fcb31407d
3 changed files with 87 additions and 0 deletions

View File

@@ -511,6 +511,32 @@
TopLeft: -512, -512
BottomRight: 512, 512
^Gate:
Inherits: ^BasicBuilding
Valued:
Cost: 250
Health:
HP: 350
Armor:
Type: Heavy
LineBuildNode:
Types: concrete, gate
-Building:
-WithSpriteBody:
WithGateSpriteBody:
Power:
CanPowerDown:
Tooltip:
Name: Gate
Description: Automated barrier that opens for allied units.
Gate:
Adjacent: 4
BlocksProjectilesHeight: 0
BuildSounds: place2.aud
OpeningSound: cashturn.aud
ClosingSound: cashturn.aud
TerrainTypes: Clear, Road
^TechBuilding:
Inherits: ^BasicBuilding
Health:

View File

@@ -1666,6 +1666,40 @@ BRIK:
WithWallSpriteBody:
Type: concrete
VGATE:
Inherits: ^Gate
Gate:
Footprint: x x x
Dimensions: 1,3
WithGateSpriteBody:
WallConnections: 0,-1, 0,3
LineBuildNode:
Connections: 0,-1, 0,1
Tooltip:
Name: Vertical Gate
HGATE:
Inherits: ^Gate
Gate:
Footprint: xxx
Dimensions: 3,1
WithGateSpriteBody:
WallConnections: -1,0, 3,0
LineBuildNode:
Connections: -1,0, 1,0
Tooltip:
Name: Horizontal Gate
RenderSprites:
Image: agate
FactionImages:
allies: agate
england: agate
france: agate
germany: agate
soviet: sgate
russia: sgate
ukraine: sgate
CYCL:
Inherits: ^Wall
Tooltip:

View File

@@ -598,6 +598,33 @@ brik:
Length: 16
icon: brikicon
vgate:
make:
Length: 7
idle:
Frames: 6, 5, 4, 3, 2, 1, 0
Length: 7
ZOffset: -1c511
damaged-idle:
Frames: 13, 12, 11, 10, 9, 8, 7
Length: 7
ZOffset: -1c511
agate:
make:
Length: 7
idle:
Frames: 6, 5, 4, 3, 2, 1, 0
Length: 7
ZOffset: -1c511
damaged-idle:
Frames: 13, 12, 11, 10, 9, 8, 7
Length: 7
ZOffset: -1c511
sgate:
Inherits: agate
sbag:
idle:
Length: 16