Shuttle airlock cleanup (#5737)
@@ -1281,7 +1281,7 @@ entities:
|
|||||||
parent: 0
|
parent: 0
|
||||||
type: Transform
|
type: Transform
|
||||||
- uid: 33
|
- uid: 33
|
||||||
type: AirlockShuttle
|
type: AirlockExternalShuttleLocked
|
||||||
components:
|
components:
|
||||||
- rot: -1.5707963267948966 rad
|
- rot: -1.5707963267948966 rad
|
||||||
pos: -5.5,1.5
|
pos: -5.5,1.5
|
||||||
|
|||||||
@@ -6947,7 +6947,7 @@ entities:
|
|||||||
ents: []
|
ents: []
|
||||||
type: ContainerContainer
|
type: ContainerContainer
|
||||||
- uid: 656
|
- uid: 656
|
||||||
type: AirlockShuttle
|
type: AirlockExternalShuttleLocked
|
||||||
components:
|
components:
|
||||||
- rot: -1.5707963267948966 rad
|
- rot: -1.5707963267948966 rad
|
||||||
pos: -41.5,8.5
|
pos: -41.5,8.5
|
||||||
@@ -6998,7 +6998,7 @@ entities:
|
|||||||
ents: []
|
ents: []
|
||||||
type: ContainerContainer
|
type: ContainerContainer
|
||||||
- uid: 661
|
- uid: 661
|
||||||
type: AirlockShuttle
|
type: AirlockExternalShuttleLocked
|
||||||
components:
|
components:
|
||||||
- rot: -1.5707963267948966 rad
|
- rot: -1.5707963267948966 rad
|
||||||
pos: -41.5,4.5
|
pos: -41.5,4.5
|
||||||
|
|||||||
@@ -449,3 +449,12 @@
|
|||||||
components:
|
components:
|
||||||
- type: AccessReader
|
- type: AccessReader
|
||||||
access: [["HeadOfPersonnel"]]
|
access: [["HeadOfPersonnel"]]
|
||||||
|
|
||||||
|
# Shuttle airlocks
|
||||||
|
- type: entity
|
||||||
|
parent: AirlockShuttle
|
||||||
|
id: AirlockExternalShuttleLocked
|
||||||
|
suffix: External, Locked
|
||||||
|
components:
|
||||||
|
- type: AccessReader
|
||||||
|
access: [["External"]]
|
||||||
|
|||||||
@@ -1,44 +1,29 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
id: AirlockShuttle
|
id: AirlockShuttle
|
||||||
parent: BaseStructure
|
parent: Airlock
|
||||||
name: airlock
|
name: external airlock
|
||||||
suffix: Docking
|
suffix: Docking
|
||||||
description: Necessary for connecting two space craft together.
|
description: Necessary for connecting two space craft together.
|
||||||
components:
|
components:
|
||||||
- type: Docking
|
- type: Docking
|
||||||
- type: InteractionOutline
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
netsync: false
|
netsync: false
|
||||||
sprite: Structures/Doors/Airlocks/Standard/shuttle.rsi
|
sprite: Structures/Doors/Airlocks/Standard/shuttle.rsi
|
||||||
layers:
|
layers:
|
||||||
- state: closed
|
- state: closed
|
||||||
map: ["enum.DoorVisualLayers.Base"]
|
map: ["enum.DoorVisualLayers.Base"]
|
||||||
#- state: closed_unlit
|
- state: closed_unlit
|
||||||
# shader: unshaded
|
shader: unshaded
|
||||||
# map: ["enum.DoorVisualLayers.BaseUnlit"]
|
map: ["enum.DoorVisualLayers.BaseUnlit"]
|
||||||
#- state: welded
|
- state: welded
|
||||||
# map: ["enum.DoorVisualLayers.BaseWelded"]
|
map: ["enum.DoorVisualLayers.BaseWelded"]
|
||||||
#- state: bolted_unlit
|
- state: bolted_unlit
|
||||||
# shader: unshaded
|
shader: unshaded
|
||||||
# map: ["enum.DoorVisualLayers.BaseBolted"]
|
map: ["enum.DoorVisualLayers.BaseBolted"]
|
||||||
#- state: panel_open
|
- state: panel_open
|
||||||
# map: ["enum.WiresVisualLayers.MaintenancePanel"]
|
map: ["enum.WiresVisualLayers.MaintenancePanel"]
|
||||||
- type: Physics
|
|
||||||
- type: Fixtures
|
|
||||||
fixtures:
|
|
||||||
- shape:
|
|
||||||
!type:PhysShapeAabb
|
|
||||||
bounds: "-0.49,-0.49,0.49,0.49" # don't want this colliding with walls or they won't close
|
|
||||||
mass: 100
|
|
||||||
mask:
|
|
||||||
- MobImpassable
|
|
||||||
layer:
|
|
||||||
- Opaque
|
|
||||||
- Impassable
|
|
||||||
- MobImpassable
|
|
||||||
- VaultImpassable
|
|
||||||
- SmallImpassable
|
|
||||||
- type: Door
|
- type: Door
|
||||||
|
bumpOpen: false
|
||||||
closeTimeTwo: 0.4
|
closeTimeTwo: 0.4
|
||||||
openTimeTwo: 0.4
|
openTimeTwo: 0.4
|
||||||
board: DoorElectronics
|
board: DoorElectronics
|
||||||
@@ -49,44 +34,9 @@
|
|||||||
path: /Audio/Effects/docking.ogg
|
path: /Audio/Effects/docking.ogg
|
||||||
closeSound:
|
closeSound:
|
||||||
path: /Audio/Effects/docking.ogg
|
path: /Audio/Effects/docking.ogg
|
||||||
# denySound:
|
denySound:
|
||||||
# path: /Audio/Machines/airlock_deny.ogg
|
path: /Audio/Machines/airlock_deny.ogg
|
||||||
- type: Airlock
|
|
||||||
- type: Appearance
|
|
||||||
visuals:
|
|
||||||
- type: AirlockVisualizer
|
|
||||||
simpleVisuals: true
|
|
||||||
# - type: WiresVisualizer
|
|
||||||
- type: ApcPowerReceiver
|
|
||||||
- type: ExtensionCableReceiver
|
|
||||||
#- type: Wires
|
|
||||||
# BoardName: "Airlock Control"
|
|
||||||
# LayoutId: Airlock
|
|
||||||
#- type: UserInterface
|
|
||||||
# interfaces:
|
|
||||||
# - key: enum.WiresUiKey.Key
|
|
||||||
# type: WiresBoundUserInterface
|
|
||||||
- type: Airtight
|
- type: Airtight
|
||||||
fixVacuum: true
|
fixVacuum: true
|
||||||
airBlockedDirection:
|
airBlockedDirection:
|
||||||
- South
|
- South
|
||||||
- type: Occluder
|
|
||||||
- type: Damageable
|
|
||||||
damageContainer: Inorganic
|
|
||||||
damageModifierSet: Metallic
|
|
||||||
- type: Destructible
|
|
||||||
thresholds:
|
|
||||||
- trigger:
|
|
||||||
!type:DamageTrigger
|
|
||||||
damage: 500
|
|
||||||
behaviors:
|
|
||||||
- !type:DoActsBehavior
|
|
||||||
acts: ["Destruction"]
|
|
||||||
#- type: Construction
|
|
||||||
# graph: airlock
|
|
||||||
# node: airlock
|
|
||||||
- type: IconSmooth
|
|
||||||
key: walls
|
|
||||||
mode: NoSprite
|
|
||||||
placement:
|
|
||||||
mode: SnapgridCenter
|
|
||||||
|
|||||||
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
Before Width: | Height: | Size: 247 B |
|
Before Width: | Height: | Size: 228 B |
@@ -1,23 +1,20 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"license": "CC-BY-SA-3.0",
|
"license": "CC-BY-SA-3.0",
|
||||||
"copyright": "Taken from CEV-Eris at commit https://github.com/discordia-space/CEV-Eris/commit/14517938186858388656a6aee14bf47af9e9649f - then modified by 20kdc for docking improvements",
|
"copyright": "Taken from CEV-Eris at commit https://github.com/discordia-space/CEV-Eris/commit/14517938186858388656a6aee14bf47af9e9649f - then modified by 20kdc & AJCM-git",
|
||||||
"size": {
|
"size": {
|
||||||
"x": 32,
|
"x": 32,
|
||||||
"y": 32
|
"y": 32
|
||||||
},
|
},
|
||||||
"states": [
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "bolted_unlit"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "closed"
|
"name": "closed"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "open"
|
"name": "closed_unlit"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "lights_green"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "lights_red"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "closing",
|
"name": "closing",
|
||||||
@@ -34,6 +31,39 @@
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "closing_unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "deny_unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "open"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "opening",
|
"name": "opening",
|
||||||
"delays": [
|
"delays": [
|
||||||
@@ -48,6 +78,57 @@
|
|||||||
0.2
|
0.2
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "opening_unlit",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel_closing",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel_open"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "panel_opening",
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2,
|
||||||
|
0.2
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "welded"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 5.5 KiB |