Apc & Substation resprite (#28998)

* substation

* apcs

* top pixels

* new screens
This commit is contained in:
Nemanja
2024-06-16 06:43:22 -04:00
committed by GitHub
parent 732576b518
commit 9348a5cea6
40 changed files with 186 additions and 73 deletions

View File

@@ -87,7 +87,7 @@ public sealed partial class ApcVisualsComponent : Component
/// </summary>
[DataField("screenColors")]
[ViewVariables(VVAccess.ReadWrite)]
public Color[] ScreenColors = new Color[(byte)ApcChargeState.NumStates]{Color.FromHex("#d1332e"), Color.FromHex("#2e8ad1"), Color.FromHex("#3db83b"), Color.FromHex("#ffac1c")};
public Color[] ScreenColors = new Color[(byte)ApcChargeState.NumStates]{Color.FromHex("#d1332e"), Color.FromHex("#dcdc28"), Color.FromHex("#82ff4c"), Color.FromHex("#ffac1c")};
/// <summary>
/// The sprite state of the unlit overlay used for the APC screen when the APC has been emagged.

View File

@@ -35,21 +35,26 @@
- state: display-charging
shader: unshaded
map: ["enum.ApcVisualLayers.ChargeState"]
- state: lock0-unlocked
- state: lock0-locked
shader: unshaded
map: ["enum.ApcVisualLayers.InterfaceLock"]
- state: lock1-unlocked
visible: false
- state: lock1-locked
shader: unshaded
map: ["enum.ApcVisualLayers.PanelLock"]
- state: channel0-auto_on
visible: false
- state: lock1-locked #when these are implemented get actual sprites.
shader: unshaded
map: ["enum.ApcVisualLayers.Equipment"]
- state: channel1-auto_on
visible: false
- state: lock1-locked
shader: unshaded
map: ["enum.ApcVisualLayers.Lighting"]
- state: channel2-auto_on
visible: false
- state: lock1-locked
shader: unshaded
map: ["enum.ApcVisualLayers.Environment"]
visible: false
- type: Appearance
- type: ApcVisuals
- type: Battery

View File

@@ -23,8 +23,8 @@
- type: ExaminableBattery
- type: PointLight
radius: 1.5
energy: 1.6
color: "#3db83b"
energy: 1
color: "#ff6900"
castShadows: false
- type: NodeContainer
examinable: true
@@ -126,10 +126,11 @@
path: /Audio/Ambience/Objects/buzzing.ogg
- type: PointLight
radius: 1.5
energy: 1.6
color: "#3db83b"
energy: 1
color: "#ff6900"
netsync: false
castShadows: false
offset: 0, -0.2
- type: Clickable
- type: AccessReader
access: [["Engineering"]]
@@ -151,7 +152,7 @@
sprite: Structures/Power/substation.rsi
layers:
- state: substation_wall
- state: screen
- state: screen_wall
shader: unshaded
- type: Battery
maxCharge: 2000000

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 673 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 B

After

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 B

After

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 B

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 436 B

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

View File

@@ -1,88 +1,106 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/9c7d509354ee030300f63c701da63c17928c3b3b and modified by Swept",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/9c7d509354ee030300f63c701da63c17928c3b3b and heavily modified by EmoGarbage404 (github)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "base"
"name": "base",
"directions": 4
},
{
"name": "static"
},
{
"name": "broken"
"name": "broken",
"directions": 4
},
{
"name": "frame"
"name": "frame",
"directions": 4
},
{
"name": "panel"
"name": "panel",
"directions": 4
},
{
"name": "lock0-unlocked"
"name": "lock0-locked",
"directions": 4
},
{
"name": "lock0-locked"
},
{
"name": "lock1-unlocked"
},
{
"name": "lock1-locked"
},
{
"name": "channel0-auto_off"
},
{
"name": "channel0-manual_off"
},
{
"name": "channel0-auto_on"
},
{
"name": "channel0-manual_on"
},
{
"name": "channel1-auto_off"
},
{
"name": "channel1-manual_off"
},
{
"name": "channel1-auto_on"
},
{
"name": "channel1-manual_on"
},
{
"name": "channel2-auto_off"
},
{
"name": "channel2-manual_off"
},
{
"name": "channel2-auto_on"
},
{
"name": "channel2-manual_on"
"name": "lock1-locked",
"directions": 4
},
{
"name": "display-lack",
"directions": 4,
"delays": [
[
0.25,
0.25,
1,
2
3
],
[
0.25,
0.25,
1,
3
],
[
0.25,
0.25,
1,
3
],
[
0.25,
0.25,
1,
3
]
]
},
{
"name": "display-charging",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.2
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.2
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.2
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
@@ -94,7 +112,20 @@
},
{
"name": "display-full",
"directions": 4,
"delays": [
[
1,
1
],
[
1,
1
],
[
1,
1
],
[
1,
1
@@ -103,7 +134,29 @@
},
{
"name": "display-remote",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
@@ -115,7 +168,20 @@
},
{
"name": "emag-unlit",
"directions": 4,
"delays": [
[
0.5,
0.5
],
[
0.5,
0.5
],
[
0.5,
0.5
],
[
0.5,
0.5

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 B

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 124 B

View File

@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Drawn by Ubaser.",
"license": "CC0-1.0",
"copyright": "Created by EmoGarbage404 (github)",
"size": {
"x": 32,
"y": 32
@@ -13,8 +13,39 @@
{
"name": "substation_static"
},
{
"name": "substation_wall"
{
"name": "substation_wall",
"directions": 4
},
{
"name": "screen_wall",
"directions": 4,
"delays": [
[
5.0,
0.5,
0.5,
0.5
],
[
5.0,
0.5,
0.5,
0.5
],
[
5.0,
0.5,
0.5,
0.5
],
[
5.0,
0.5,
0.5,
0.5
]
]
},
{
"name": "substation_wall_static"
@@ -23,21 +54,31 @@
"name": "full"
},
{
"name": "charging"
"name": "charging",
"delays": [
[
0.1,
0.1
]
]
},
{
"name": "dead"
"name": "dead",
"delays": [
[
0.3,
0.1
]
]
},
{
"name": "screen",
"delays": [
[
0.15,
0.15,
0.15,
0.15,
0.15,
0.15
5.0,
0.5,
0.5,
0.5
]
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 588 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 339 B