Adding damage visuals for directional windows (#21194)

* Added a crack overlay for directional windows. Added directional window crack components to windows, reinforced windows, plasma windows and reinforced plasma windows.

* Changed the copyright information with the files I actually used.

* Updated the copyright further.
This commit is contained in:
Darkie
2023-11-08 03:31:45 +02:00
committed by GitHub
parent ac25dd85fc
commit b5e88901eb
8 changed files with 51 additions and 0 deletions

View File

@@ -63,6 +63,13 @@
- type: Construction
graph: WindowDirectional
node: plasmaWindowDirectional
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 12
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks_directional.rsi
- type: Destructible
thresholds:
- trigger:

View File

@@ -87,6 +87,13 @@
- type: Construction
graph: WindowDirectional
node: windowReinforcedDirectional
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 10
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks_directional.rsi
- type: Damageable
damageModifierSet: RGlass
- type: Destructible

View File

@@ -72,6 +72,13 @@
- type: Construction
graph: WindowDirectional
node: plasmaReinforcedWindowDirectional
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 36
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks_directional.rsi
- type: Destructible
thresholds:
- trigger:

View File

@@ -166,6 +166,13 @@
- type: Construction
graph: WindowDirectional
node: windowDirectional
- type: Appearance
- type: DamageVisuals
thresholds: [4, 8, 12]
damageDivisor: 2
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks_directional.rsi
- type: StaticPrice
price: 10

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 539 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

View File

@@ -0,0 +1,23 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Adapted from https://github.com/space-wizards/space-station-14/ at commit f57e8ec6b9b4b72ef56c8146be0bc159ed2691ee, originally added by Zumorica, and modified for directional use by Darkie",
"states": [
{
"name": "DamageOverlay_4",
"directions": 4
},
{
"name": "DamageOverlay_8",
"directions": 4
},
{
"name": "DamageOverlay_12",
"directions": 4
}
]
}