Modify light variables for optimization (#4753)

This commit is contained in:
mirrorcult
2021-10-09 09:26:45 -07:00
committed by GitHub
parent b9b216fa5a
commit 0dc32b6ac1
5 changed files with 35 additions and 28 deletions

View File

@@ -31,9 +31,10 @@
screen: generic screen: generic
- type: LitOnPowered - type: LitOnPowered
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
enabled: false enabled: false
mask: /Textures/Effects/LightMasks/cone.png mask: /Textures/Effects/LightMasks/cone.png
autoRot: true autoRot: true
offset: "0, 0.4" # shine from the top, not bottom of the computer offset: "0, 0.4" # shine from the top, not bottom of the computer
castShadows: false

View File

@@ -21,7 +21,7 @@
- type: ApcPowerReceiver - type: ApcPowerReceiver
powerLoad: 200 powerLoad: 200
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#43ccb5" color: "#43ccb5"
@@ -49,7 +49,7 @@
key: syndie_key key: syndie_key
screen: syndishuttle screen: syndishuttle
- type: PointLight - type: PointLight
radius: 1.6 radius: 1.5
energy: 1.6 energy: 1.6
color: "#c94242" color: "#c94242"
@@ -65,7 +65,7 @@
key: power_key key: power_key
screen: power_monitor screen: power_monitor
- type: PointLight - type: PointLight
radius: 1.6 radius: 1.5
energy: 1.6 energy: 1.6
color: "#c9c042" color: "#c9c042"
@@ -81,7 +81,7 @@
key: med_key key: med_key
screen: medcomp screen: medcomp
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#1f8c28" color: "#1f8c28"
@@ -111,7 +111,7 @@
- type: Computer - type: Computer
board: ResearchComputerCircuitboard board: ResearchComputerCircuitboard
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#b53ca1" color: "#b53ca1"
@@ -136,7 +136,7 @@
- type: Computer - type: Computer
board: IDComputerCircuitboard board: IDComputerCircuitboard
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#3c5eb5" color: "#3c5eb5"
@@ -159,7 +159,7 @@
- type: Computer - type: Computer
board: BodyScannerComputerCircuitboard board: BodyScannerComputerCircuitboard
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#1f8c28" color: "#1f8c28"
@@ -182,7 +182,7 @@
- type: Computer - type: Computer
board: CommsComputerCircuitboard board: CommsComputerCircuitboard
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#3c5eb5" color: "#3c5eb5"
@@ -205,7 +205,7 @@
- type: Computer - type: Computer
board: SolarControlComputerCircuitboard board: SolarControlComputerCircuitboard
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#e6e227" color: "#e6e227"
@@ -275,7 +275,7 @@
- type: Computer - type: Computer
board: SupplyComputerCircuitboard board: SupplyComputerCircuitboard
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#b89f25" color: "#b89f25"
@@ -295,6 +295,6 @@
- type: Computer - type: Computer
board: SupplyRequestComputerCircuitboard board: SupplyRequestComputerCircuitboard
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#b89f25" color: "#b89f25"

View File

@@ -46,6 +46,9 @@
BoardName: "Vending Machine" BoardName: "Vending Machine"
LayoutId: Vending LayoutId: Vending
- type: Anchorable - type: Anchorable
- type: PointLight
enabled: false
castShadows: false
- type: LitOnPowered - type: LitOnPowered
- type: entity - type: entity
@@ -263,7 +266,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.3 energy: 1.3
color: "#ad7c4b" color: "#ad7c4b"
@@ -297,7 +300,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#3c5eb5" color: "#3c5eb5"
@@ -331,7 +334,7 @@
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Service"]]
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#4b93ad" color: "#4b93ad"
@@ -363,7 +366,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#6148c7" color: "#6148c7"
@@ -396,7 +399,7 @@
- type: AccessReader - type: AccessReader
access: [["Engineering"]] access: [["Engineering"]]
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#b89e2a" color: "#b89e2a"
@@ -431,7 +434,7 @@
- type: AccessReader - type: AccessReader
access: [["Medical"]] access: [["Medical"]]
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#9dc5c9" color: "#9dc5c9"
@@ -466,7 +469,7 @@
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Service"]]
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#326e3f" color: "#326e3f"
@@ -534,7 +537,7 @@
- type: AccessReader - type: AccessReader
access: [["Service"]] access: [["Service"]]
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#326e3f" color: "#326e3f"
@@ -566,7 +569,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#9dc5c9" color: "#9dc5c9"
@@ -600,7 +603,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#c73434" color: "#c73434"
@@ -634,7 +637,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#389690" color: "#389690"
@@ -672,7 +675,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#c73434" color: "#c73434"
@@ -707,7 +710,7 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#9dc5c9" color: "#9dc5c9"
@@ -769,6 +772,6 @@
broken: true broken: true
- type: WiresVisualizer - type: WiresVisualizer
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#d4ab33" color: "#d4ab33"

View File

@@ -20,9 +20,10 @@
startingCharge: 1000 startingCharge: 1000
- type: ExaminableBattery - type: ExaminableBattery
- type: PointLight - type: PointLight
radius: 2 radius: 1.5
energy: 1.6 energy: 1.6
color: "#3db83b" color: "#3db83b"
castShadows: false
- type: NodeContainer - type: NodeContainer
examinable: true examinable: true
nodes: nodes:
@@ -60,6 +61,7 @@
radius: 1.5 radius: 1.5
energy: 1.6 energy: 1.6
color: "#3db83b" color: "#3db83b"
castShadows: false
- type: Clickable - type: Clickable
- type: AccessReader - type: AccessReader
access: [["Engineering"]] access: [["Engineering"]]

View File

@@ -47,6 +47,7 @@
supplyRampTolerance: 5000 supplyRampTolerance: 5000
supplyRampRate: 1000 supplyRampRate: 1000
- type: PointLight - type: PointLight
radius: 1.6 radius: 1.5
energy: 1.6 energy: 1.6
color: "#c9c042" color: "#c9c042"
castShadows: false