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:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 |
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user