Fix tunnel top definitions.

This commit is contained in:
Paul Chote
2017-04-20 23:36:11 +00:00
parent 4917c6e453
commit 43ff56eea9
6 changed files with 41 additions and 24 deletions

View File

@@ -1552,16 +1552,16 @@ Actors:
Owner: Neutral Owner: Neutral
Actor620: tuntop04 Actor620: tuntop04
Owner: Neutral Owner: Neutral
Location: 145,5 Location: 146,5
Actor621: tuntop04 Actor621: tuntop04
Owner: Neutral Owner: Neutral
Location: 116,9 Location: 117,9
Actor622: tuntop02 Actor622: tuntop02
Owner: Neutral Owner: Neutral
Location: 144,-19 Location: 146,-19
Actor623: tuntop02 Actor623: tuntop02
Owner: Neutral Owner: Neutral
Location: 115,-15 Location: 117,-15
Actor494: bridge1 Actor494: bridge1
Owner: Neutral Owner: Neutral
Location: 232,0 Location: 232,0

View File

@@ -806,49 +806,49 @@ Actors:
Owner: Neutral Owner: Neutral
Actor219: tuntop03 Actor219: tuntop03
Owner: Neutral Owner: Neutral
Location: 68,-5 Location: 68,-4
Actor220: tuntop04 Actor220: tuntop04
Owner: Neutral Owner: Neutral
Location: 73,-12 Location: 74,-12
Actor221: tuntop04 Actor221: tuntop04
Owner: Neutral Owner: Neutral
Location: 107,-7 Location: 108,-7
Actor222: tuntop03 Actor222: tuntop03
Owner: Neutral Owner: Neutral
Location: 109,4 Location: 109,5
Actor224: tuntop04 Actor224: tuntop04
Owner: Neutral Owner: Neutral
Location: 87,28 Location: 88,28
Actor225: tuntop03 Actor225: tuntop03
Owner: Neutral Owner: Neutral
Location: 73,34 Location: 73,35
Actor227: tuntop01 Actor227: tuntop01
Owner: Neutral Owner: Neutral
Location: 60,34 Location: 60,35
Actor228: tuntop04 Actor228: tuntop04
Owner: Neutral Owner: Neutral
Location: 42,13 Location: 43,13
Actor233: tuntop03 Actor233: tuntop03
Owner: Neutral Owner: Neutral
Location: 93,-37 Location: 93,-36
Actor237: tuntop02 Actor237: tuntop02
Owner: Neutral Owner: Neutral
Location: 107,-16 Location: 108,-16
Actor238: tuntop01 Actor238: tuntop01
Owner: Neutral Owner: Neutral
Location: 77,-37 Location: 77,-36
Actor239: tuntop01 Actor239: tuntop01
Owner: Neutral Owner: Neutral
Location: 95,4 Location: 95,5
Actor240: tuntop02 Actor240: tuntop02
Owner: Neutral Owner: Neutral
Location: 73,-28 Location: 73,-28
Actor234: tuntop02 Actor234: tuntop02
Owner: Neutral Owner: Neutral
Location: 42,-2 Location: 43,-2
Actor236: tuntop01 Actor236: tuntop01
Owner: Neutral Owner: Neutral
Location: 51,-5 Location: 51,-4
Actor235: tuntop02 Actor235: tuntop02
Owner: Neutral Owner: Neutral
Location: 88,13 Location: 88,13

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -2564,6 +2564,9 @@ Actors:
Owner: Creeps Owner: Creeps
Location: 58,23 Location: 58,23
Facing: 92 Facing: 92
Actor741: tuntop04
Owner: Neutral
Location: 183,-43
Rules: rules.yaml Rules: rules.yaml

View File

@@ -870,9 +870,19 @@
TerrainType: Rail TerrainType: Rail
^Tunnel: ^Tunnel:
Inherits: ^TerrainOverlay RenderSprites:
Palette: terraindecoration
WithSpriteBody:
BodyOrientation:
UseClassicPerspectiveFudge: False
QuantizedFacings: 1
Building:
Dimensions: 3, 3
Footprint: ___ ___ ___
CustomSelectionSize: CustomSelectionSize:
CustomBounds: 220,220 CustomBounds: 144, 144
Targetable:
AlwaysVisible:
^Gate: ^Gate:
Inherits: ^Building Inherits: ^Building

View File

@@ -614,24 +614,28 @@ tracks16:
^tuntop: ^tuntop:
idle: idle:
Offset: 0, -13, 42
ZRamp: 1 ZRamp: 1
UseTilesetExtension: true UseTilesetExtension: true
# Disabled to avoid glitches until shadow rendering is fixed
# Appears to be unused in the original game too
# ShadowStart: 1
tuntop01: tuntop01:
Inherits: ^tuntop Inherits: ^tuntop
idle:
Offset: 24, -49, 36
tuntop02: tuntop02:
Inherits: ^tuntop Inherits: ^tuntop
idle:
Offset: -24, -49, 36
tuntop03: tuntop03:
Inherits: ^tuntop Inherits: ^tuntop
idle:
Offset: 24, -49, 24
tuntop04: tuntop04:
Inherits: ^tuntop Inherits: ^tuntop
idle:
Offset: -24, -49, 24
dig: dig:
idle: idle: