Skip to content

Commit

Permalink
Added shadows for walls and gates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzierzan authored and Mailaender committed Dec 4, 2021
1 parent 2c71b56 commit f32694f
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 21 deletions.
Binary file modified mods/hv/bits/barrier.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions mods/hv/bits/barrier.yaml
@@ -1,5 +1,5 @@
FrameSize: 20,30
FrameAmount: 32
FrameSize: 27,37
FrameAmount: 48
Offset: 0,0
Author: Daniel Cook, Pawel Dzierzanowski
License: CC-BY-3.0-US
Binary file modified mods/hv/bits/gate-horizontal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions mods/hv/bits/gate-horizontal.yaml
@@ -1,5 +1,5 @@
FrameSize: 60,26
FrameAmount: 32
FrameSize: 64,27
FrameAmount: 64
Offset: 0,0
Author: Pawel Dzierzanowski
License: CC-BY-SA-4.0
Binary file modified mods/hv/bits/gate-vertical.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions mods/hv/bits/gate-vertical.yaml
@@ -1,5 +1,5 @@
FrameSize: 14,75
FrameAmount: 32
FrameSize: 21,83
FrameAmount: 64
Offset: 0,0
Author: Pawel Dzierzanowski
License: CC-BY-SA-4.0
6 changes: 0 additions & 6 deletions mods/hv/rules/buildings.yaml
Expand Up @@ -1846,9 +1846,6 @@ BARRIER:
UpdatesPlayerStatistics:
AddToAssetsValue: false
-ShakeOnDeath:
WithShadow:
Offset: 200,200,0
ZOffset: -1000
-Selectable:
Interactable:
Replaceable:
Expand Down Expand Up @@ -1916,9 +1913,6 @@ BARRIER:
WithConstructionBeamOverlay:
UpdatesPlayerStatistics:
AddToAssetsValue: false
WithShadow:
Offset: 200,200,0
ZOffset: -1000
Sellable:
SellSounds: Quedicemipez_teleportation-barrier-sell.wav

Expand Down
25 changes: 16 additions & 9 deletions mods/hv/sequences/buildings.yaml
Expand Up @@ -1129,38 +1129,45 @@ wall:

barrier:
Defaults:
Offset: 0,-5
Offset: 3,-2
idle: bits/barrier.png
Length: 16
ShadowStart: 32
damaged-idle: bits/barrier.png
Start: 16
Length: 16
ShadowStart: 32
make-overlay: bits/barrier-teleport.png
Length: 15
Tick: 25
Offset: 0,-5
ZOffset: 2048
icon: bits/buildings-icons.png
Start: 32
Offset: 0, 0

gate-horizontal:
Defaults:
Offset: 0,-3
Offset: 2,0
idle: bits/gate-horizontal.png
Length: 16
ShadowStart: 32
open: bits/gate-horizontal.png
Start: 15
Offset: 0,-3,0
Offset: 2,0,0
ZRamp: 1
ZOffset: -2024
ZOffset: -3036
ShadowStart: 47
damaged-idle: bits/gate-horizontal.png
Start: 16
Length: 16
ShadowStart: 32
damaged-open: bits/gate-horizontal.png
Start: 31
Offset: 0,-3,0
Offset: 2,0,0
ZRamp: 1
ZOffset: -2024
ZOffset: -3036
ShadowStart: 47
make-overlay: bits/build-vanish.png
Length: 26
Tick: 30
Expand All @@ -1172,13 +1179,13 @@ gate-horizontal:
gate-vertical:
Inherits: gate-horizontal
Defaults:
Offset: 0,-8
Offset: 3,-4
idle: bits/gate-vertical.png
open: bits/gate-vertical.png
Offset: 0,-8,0
Offset: 3,-4,0
damaged-idle: bits/gate-vertical.png
damaged-open: bits/gate-vertical.png
Offset: 0,-8,0
Offset: 3,-4,0
icon: bits/buildings-icons.png
Start: 34
Offset: 0, 0
Expand Down

0 comments on commit f32694f

Please sign in to comment.