This commit is contained in:
joylink_fanyuhong 2024-04-23 15:12:59 +08:00
commit bfff2b2104
18 changed files with 331 additions and 166 deletions

View File

@ -2,11 +2,15 @@ extends Window
var currenScreenDoor:ScreenDoor=null var currenScreenDoor:ScreenDoor=null
func _on_screen_door_click_lcb_signal(screenDoor: Variant) -> void: func _on_screen_door_click_lcb_signal(screenDoor: Variant) -> void:
var screenDoorName=String(screenDoor.name)
self.title='LCB'+screenDoorName[screenDoorName.length() - 1]
self.show() self.show()
$"../stationKeys".show() $"../stationKeys".show()
$"../stationKeys".shouAllKeys() $"../stationKeys".shouAllKeys()
currenScreenDoor=screenDoor currenScreenDoor=screenDoor
hideHandleKey() resetState()
func _on_close_requested() -> void: func _on_close_requested() -> void:
self.hide() self.hide()
@ -42,5 +46,11 @@ func hideHandleKey():
$TextureRect2.visible=false $TextureRect2.visible=false
$LCB2_Right_Rotate.visible=false $LCB2_Right_Rotate.visible=false
$LCB2_Left_Rotate.visible=false $LCB2_Left_Rotate.visible=false
##重置面板
func resetState():
change_knob_state(KNOB_STATE.AUTO)
$TextureRect2.rotation = 0
hideHandleKey()

View File

@ -20,12 +20,13 @@ func test_enter():
func _input(event): func _input(event):
if event is InputEventMouseMotion: if event is InputEventMouseMotion:
var flag1 = test_enter() var flag1 = test_enter()
if flag1: if flag1 and Input.get_current_cursor_shape() != Input.CursorShape.CURSOR_POINTING_HAND:
pass $"..".set_default_cursor_shape(Input.CursorShape.CURSOR_POINTING_HAND)
else: elif !flag1 and Input.get_current_cursor_shape() != Input.CursorShape.CURSOR_ARROW:
pass $"..".set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed: if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.pressed:
var flag2 = test_enter() var flag2 = test_enter()
if flag2: if flag2:
open_light.visible = !open_light.visible open_light.visible = !open_light.visible
$"../..".clickButtonSignal.emit(open_light.visible) $"../..".clickButtonSignal.emit(open_light.visible,$"../..")

View File

@ -14,7 +14,7 @@ enum ButtonLightType{
@export var buttonText:String @export var buttonText:String
signal clickButtonSignal(openLight:bool) signal clickButtonSignal(openLight:bool,button)
func _ready() -> void: func _ready() -> void:

View File

@ -25,4 +25,4 @@ func _input(event):
$"../Key".rotation=-PI/6 $"../Key".rotation=-PI/6
$"../Keyhole".rotation=-PI/6 $"../Keyhole".rotation=-PI/6
open_light.visible = !open_light.visible open_light.visible = !open_light.visible
$"../..".clickKeySwitchSignal.emit(open_light.visible) $"../..".clickKeySwitchSignal.emit(open_light.visible,$"../..")

View File

@ -7,7 +7,7 @@ extends VBoxContainer
@export var keyText:String @export var keyText:String
signal clickKeySwitchSignal(openLight:bool) signal clickKeySwitchSignal(openLight:bool,keySwitch)
func _ready() -> void: func _ready() -> void:
$Light/MarginContainer/Label.text=lightText $Light/MarginContainer/Label.text=lightText
@ -16,3 +16,12 @@ func _ready() -> void:
$Key/MarginContainer/Label.text=keyText $Key/MarginContainer/Label.text=keyText
else: else:
$Key.visible = false $Key.visible = false
func shouHandleKey() -> void:
$Key/Key.visible = true
$Key/Right_Rotate.visible = true
func hideHandleKey() -> void:
$Key/Key.visible = false
$Key/Right_Rotate.visible = false

View File

@ -56,11 +56,13 @@ scale = Vector2(0.8, 0.8)
texture = ExtResource("5_7s053") texture = ExtResource("5_7s053")
[node name="Key" type="Sprite2D" parent="Key"] [node name="Key" type="Sprite2D" parent="Key"]
visible = false
position = Vector2(63, 122) position = Vector2(63, 122)
rotation = -0.523599 rotation = -0.523599
texture = ExtResource("5_ptmia") texture = ExtResource("5_ptmia")
[node name="Right_Rotate" type="Sprite2D" parent="Key"] [node name="Right_Rotate" type="Sprite2D" parent="Key"]
visible = false
modulate = Color(0, 1, 1, 1) modulate = Color(0, 1, 1, 1)
position = Vector2(118, 97) position = Vector2(118, 97)
rotation = 1.1781 rotation = 1.1781

View File

@ -1,32 +1,32 @@
extends Window extends Window
var current_focus: CanvasItem
func _on_key_focus_entered(node,light):
current_focus = node
light.visible=!light.visible
print("node : ", current_focus.name, " focus")
func _on_button_pressed():
if current_focus == null:
print("请选择钥匙")
else:
print("使用钥匙:", current_focus.name)
current_focus.hide_key()
func _on_psl_click_signal() -> void:
self.show()
$"../stationKeys".show()
$"../stationKeys".shouAllKeys()
hidePSLAllowHandleKey()
hideInterlockReleaseSwitchHandleKey()
func _on_close_requested(): func _on_close_requested():
print("close req")
self.hide() self.hide()
func _on_show_button_pressed():
self.show()
func _on_psl_button_pressed() -> void:
self.show()
func shouPSLAllowHandleKey():
$MarginContainer/GridContainer/PSLAllow.shouHandleKey()
func hidePSLAllowHandleKey():
$MarginContainer/GridContainer/PSLAllow.hideHandleKey()
func shouInterlockReleaseSwitchHandleKey():
$MarginContainer/GridContainer/InterlockReleaseSwitch.shouHandleKey()
func hideInterlockReleaseSwitchHandleKey():
$MarginContainer/GridContainer/InterlockReleaseSwitch.hideHandleKey()
func onHandleSignal(openLight: bool, keySwitch: Variant) -> void:
print(openLight,keySwitch,666)

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=8 format=3 uid="uid://dppmr7ifqt8oa"] [gd_scene load_steps=7 format=3 uid="uid://dppmr7ifqt8oa"]
[ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="1_oaabl"] [ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="1_oaabl"]
[ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_xva5j"] [ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_xva5j"]
@ -7,12 +7,10 @@
[ext_resource type="PackedScene" uid="uid://ur86pfy4w0so" path="res://UI/psl/key_switch.tscn" id="6_8mvyb"] [ext_resource type="PackedScene" uid="uid://ur86pfy4w0so" path="res://UI/psl/key_switch.tscn" id="6_8mvyb"]
[ext_resource type="PackedScene" uid="uid://c31r8s27j4dcm" path="res://UI/psl/button_light.tscn" id="7_l5iwy"] [ext_resource type="PackedScene" uid="uid://c31r8s27j4dcm" path="res://UI/psl/button_light.tscn" id="7_l5iwy"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1w22c"]
[node name="psl" type="Window"] [node name="psl" type="Window"]
title = "psl操作面板" title = "psl操作面板"
position = Vector2i(10, 36) position = Vector2i(10, 36)
size = Vector2i(450, 950) size = Vector2i(400, 720)
unresizable = true unresizable = true
transparent = true transparent = true
theme = ExtResource("1_oaabl") theme = ExtResource("1_oaabl")
@ -24,86 +22,101 @@ position = Vector2(0.255, 0)
scale = Vector2(2.66, 2.865) scale = Vector2(2.66, 2.865)
texture = ExtResource("4_cpydh") texture = ExtResource("4_cpydh")
[node name="PanelContainer" type="PanelContainer" parent="."] [node name="MarginContainer" type="MarginContainer" parent="."]
offset_left = 4.0 offset_left = 4.0
offset_top = 4.0 offset_top = 4.0
offset_right = 436.0 offset_right = 436.0
offset_bottom = 1103.0 offset_bottom = 1459.0
theme_override_styles/panel = SubResource("StyleBoxEmpty_1w22c") scale = Vector2(0.7, 0.7)
theme_override_constants/margin_left = 45
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 35
theme_override_constants/margin_top = 35 theme_override_constants/margin_top = 35
[node name="GridContainer" type="GridContainer" parent="PanelContainer/VBoxContainer/MarginContainer"] [node name="GridContainer" type="GridContainer" parent="MarginContainer"]
layout_mode = 2 layout_mode = 2
columns = 3 columns = 3
[node name="PSLAllow" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")] [node name="PSLAllow" parent="MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6 size_flags_horizontal = 6
keySwitchHasKey = true keySwitchHasKey = true
lightText = "PSL允许指示灯" lightText = "PSL允许指示灯"
keyText = "操作允许无效有效" keyText = "操作允许无效有效"
[node name="CloseDoorButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] [node name="MarginContainer" type="MarginContainer" parent="MarginContainer/GridContainer"]
layout_mode = 2
theme_override_constants/margin_left = 35
theme_override_constants/margin_right = 35
theme_override_constants/margin_bottom = 35
[node name="CloseDoorButton" parent="MarginContainer/GridContainer/MarginContainer" instance=ExtResource("7_l5iwy")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6 size_flags_horizontal = 6
buttonLightType = 1 buttonLightType = 1
lightText = "全部门关闭紧锁指" lightText = "全部门关闭紧锁指"
buttonText = "关门按钮" buttonText = "关门按钮"
[node name="OpenDoorButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] [node name="OpenDoorButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6 size_flags_horizontal = 6
lightText = "开门到位指示灯" lightText = "开门到位指示灯"
buttonText = "开门按钮" buttonText = "开门按钮"
[node name="InterlockReleaseSwitch" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")] [node name="InterlockReleaseSwitch" parent="MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6 size_flags_horizontal = 6
keySwitchHasKey = true keySwitchHasKey = true
lightText = "互锁解除指示灯" lightText = "互锁解除指示灯"
keyText = "互锁解除开关" keyText = "互锁解除开关"
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer"] [node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/GridContainer"]
layout_mode = 2
theme_override_constants/margin_bottom = 35
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/GridContainer/MarginContainer2"]
layout_mode = 2 layout_mode = 2
[node name="IBPHandle" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer/VBoxContainer" instance=ExtResource("6_8mvyb")] [node name="IBPHandle" parent="MarginContainer/GridContainer/MarginContainer2/VBoxContainer" instance=ExtResource("6_8mvyb")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6 size_flags_horizontal = 6
lightText = "IBP操作指示灯" lightText = "IBP操作指示灯"
[node name="LightTestButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer/VBoxContainer" instance=ExtResource("7_l5iwy")] [node name="LightTestButton" parent="MarginContainer/GridContainer/MarginContainer2/VBoxContainer" instance=ExtResource("7_l5iwy")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6 size_flags_horizontal = 6
buttonLightType = 2 buttonLightType = 2
buttonHasLight = false buttonHasLight = false
buttonText = "灯测试按钮" buttonText = "灯测试按钮"
[node name="PSTHandle" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")] [node name="PSTHandle" parent="MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6 size_flags_horizontal = 6
lightText = "PST操作指示灯" lightText = "PST操作指示灯"
[node name="trainDepartsButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] [node name="trainDepartsButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
layout_mode = 2 layout_mode = 2
buttonHasLight = false buttonHasLight = false
buttonText = "发车按钮" buttonText = "发车按钮"
[node name="interconnectedCloseButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] [node name="interconnectedCloseButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 6
buttonLightType = 1 buttonLightType = 1
buttonHasLight = false buttonHasLight = false
buttonText = "联动关门按钮" buttonText = "联动关门按钮"
[node name="interconnectedOpenButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] [node name="interconnectedOpenButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
layout_mode = 2 layout_mode = 2
buttonHasLight = false buttonHasLight = false
buttonText = "联动开门按钮" buttonText = "联动开门按钮"
[connection signal="close_requested" from="." to="." method="_on_close_requested"] [connection signal="close_requested" from="." to="." method="_on_close_requested"]
[connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/PSLAllow" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="MarginContainer/GridContainer/MarginContainer/CloseDoorButton" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="MarginContainer/GridContainer/OpenDoorButton" to="." method="onHandleSignal"]
[connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/InterlockReleaseSwitch" to="." method="onHandleSignal"]
[connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/MarginContainer2/VBoxContainer/IBPHandle" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="MarginContainer/GridContainer/MarginContainer2/VBoxContainer/LightTestButton" to="." method="onHandleSignal"]
[connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/PSTHandle" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="MarginContainer/GridContainer/trainDepartsButton" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="MarginContainer/GridContainer/interconnectedCloseButton" to="." method="onHandleSignal"]
[connection signal="clickButtonSignal" from="MarginContainer/GridContainer/interconnectedOpenButton" to="." method="onHandleSignal"]

View File

@ -15,10 +15,12 @@ func _on_button_pressed():
current_focus.hide_key() current_focus.hide_key()
if(current_focus.name.contains('LCB')): if(current_focus.name.contains('LCB')):
$"../LCB".shouHandleKey() $"../LCB".shouHandleKey()
elif (current_focus.name.contains('PSL')):
$"../psl".shouInterlockReleaseSwitchHandleKey()
$"../psl".shouPSLAllowHandleKey()
func _on_close_requested(): func _on_close_requested():
print("close req")
self.hide() self.hide()
@ -29,11 +31,11 @@ func _on_show_button_pressed():
func shouAllKeys(): func shouAllKeys():
make_node_and_descendants_visible($PanelContainer/VBoxContainer/GridContainer) make_node_visible($PanelContainer/VBoxContainer/GridContainer)
static func make_node_and_descendants_visible(node: Node): func make_node_visible(node: Node):
node.visible = true node.visible = true
node.modulate.a = 255 node.modulate.a = 255
for child in node.get_children(): for child in node.get_children():
make_node_and_descendants_visible(child) make_node_visible(child)

View File

@ -1,19 +1,18 @@
extends Area3D extends Area3D
@onready var mouse_over = false @onready var mouse_over = false
@onready var screen_door: ScreenDoor = $"../.."
func _input(event): func _input(event):
if event is InputEventMouseButton and event.pressed: if event is InputEventMouseButton and event.pressed:
if mouse_over and event.button_index == MOUSE_BUTTON_LEFT: # 左键点击 if mouse_over and event.button_index == MOUSE_BUTTON_LEFT: # 左键点击
screen_door.clickLcbSignal.emit(screen_door) $"../..".clickLcbSignal.emit()
func _on_mouse_entered() -> void: func _on_mouse_entered() -> void:
mouse_over = true mouse_over = true
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_POINTING_HAND)
func _on_mouse_exited() -> void: func _on_mouse_exited() -> void:
mouse_over = false mouse_over = false
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)

View File

@ -0,0 +1,18 @@
extends Area3D
@onready var mouse_over = false
func _input(event):
if event is InputEventMouseButton and event.pressed:
if mouse_over and event.button_index == MOUSE_BUTTON_LEFT:
$"../..".clickLPslSignal.emit()
func _on_mouse_entered() -> void:
mouse_over = true
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_POINTING_HAND)
func _on_mouse_exited() -> void:
mouse_over = false
Input.set_default_cursor_shape(Input.CursorShape.CURSOR_ARROW)

4
sceen/platform/lcb.gd Normal file
View File

@ -0,0 +1,4 @@
extends Node3D
signal clickLcbSignal()

91
sceen/platform/lcb.tscn Normal file
View File

@ -0,0 +1,91 @@
[gd_scene load_steps=8 format=3 uid="uid://0ys58lvdq51b"]
[ext_resource type="Script" path="res://sceen/platform/lcb.gd" id="1_rsitc"]
[ext_resource type="Script" path="res://sceen/platform/LCB_Area3D.gd" id="1_uby1l"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"]
resource_name = "20 - Default"
cull_mode = 2
albedo_color = Color(0.790731, 0.790731, 0.790731, 1)
metallic = 1.0
roughness = 0.858579
[sub_resource type="ArrayMesh" id="ArrayMesh_5y5yp"]
_surfaces = [{
"aabb": AABB(-0.101208, -0.0573144, -0.0419822, 0.202415, 0.114629, 0.0839747),
"format": 34896613377,
"index_count": 180,
"index_data": PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 1, 0, 5, 0, 3, 0, 5, 0, 1, 0, 4, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0, 15, 0, 13, 0, 12, 0, 13, 0, 15, 0, 14, 0, 17, 0, 12, 0, 16, 0, 12, 0, 17, 0, 15, 0, 18, 0, 17, 0, 16, 0, 17, 0, 18, 0, 19, 0, 21, 0, 18, 0, 20, 0, 18, 0, 21, 0, 19, 0, 22, 0, 21, 0, 20, 0, 21, 0, 22, 0, 23, 0, 23, 0, 24, 0, 25, 0, 24, 0, 23, 0, 22, 0, 25, 0, 26, 0, 27, 0, 26, 0, 25, 0, 24, 0, 14, 0, 26, 0, 13, 0, 26, 0, 14, 0, 27, 0, 31, 0, 33, 0, 32, 0, 31, 0, 34, 0, 33, 0, 35, 0, 29, 0, 28, 0, 34, 0, 29, 0, 35, 0, 34, 0, 30, 0, 29, 0, 31, 0, 30, 0, 34, 0, 20, 0, 24, 0, 22, 0, 20, 0, 26, 0, 24, 0, 26, 0, 12, 0, 13, 0, 20, 0, 12, 0, 26, 0, 12, 0, 18, 0, 16, 0, 20, 0, 18, 0, 12, 0, 34, 0, 15, 0, 33, 0, 15, 0, 34, 0, 14, 0, 34, 0, 27, 0, 14, 0, 27, 0, 34, 0, 35, 0, 35, 0, 25, 0, 27, 0, 25, 0, 35, 0, 28, 0, 29, 0, 25, 0, 28, 0, 25, 0, 29, 0, 23, 0, 30, 0, 23, 0, 29, 0, 23, 0, 30, 0, 21, 0, 21, 0, 31, 0, 19, 0, 31, 0, 21, 0, 30, 0, 17, 0, 31, 0, 32, 0, 31, 0, 17, 0, 19, 0, 32, 0, 15, 0, 17, 0, 15, 0, 32, 0, 33, 0),
"lods": [0.0354947, PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 5, 0, 1, 0, 4, 0, 1, 0, 5, 0, 3, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 17, 0, 26, 0, 16, 0, 26, 0, 17, 0, 15, 0, 26, 0, 15, 0, 18, 0, 23, 0, 18, 0, 15, 0, 18, 0, 17, 0, 16, 0, 17, 0, 18, 0, 23, 0, 26, 0, 18, 0, 16, 0, 23, 0, 15, 0, 17, 0)],
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 36,
"vertex_data": PackedByteArray(0, 0, 105, 59, 247, 255, 0, 0, 255, 255, 105, 59, 247, 255, 0, 0, 0, 0, 255, 255, 247, 255, 0, 0, 255, 255, 255, 255, 247, 255, 0, 0, 255, 127, 105, 59, 247, 255, 0, 0, 255, 127, 255, 255, 247, 255, 0, 0, 0, 0, 105, 59, 12, 39, 0, 0, 255, 255, 105, 59, 12, 39, 0, 0, 0, 0, 255, 255, 12, 39, 0, 0, 255, 255, 255, 255, 12, 39, 0, 0, 255, 127, 105, 59, 12, 39, 0, 0, 255, 127, 255, 255, 12, 39, 0, 0, 8, 139, 166, 174, 232, 224, 0, 0, 75, 101, 166, 174, 159, 219, 0, 0, 75, 101, 0, 0, 159, 219, 0, 0, 8, 139, 0, 0, 232, 224, 0, 0, 68, 167, 166, 174, 78, 164, 0, 0, 68, 167, 0, 0, 78, 164, 0, 0, 117, 169, 166, 174, 86, 73, 0, 0, 117, 169, 0, 0, 86, 73, 0, 0, 81, 144, 166, 174, 72, 5, 0, 0, 81, 144, 0, 0, 72, 5, 0, 0, 148, 106, 166, 174, 0, 0, 0, 0, 148, 106, 0, 0, 0, 0, 0, 0, 88, 78, 166, 174, 153, 60, 0, 0, 88, 78, 0, 0, 153, 60, 0, 0, 39, 76, 166, 174, 145, 151, 0, 0, 39, 76, 0, 0, 145, 151, 0, 0, 141, 91, 0, 0, 7, 76, 0, 0, 106, 111, 0, 0, 118, 33, 0, 0, 243, 137, 0, 0, 34, 37, 0, 0, 158, 155, 0, 0, 240, 84, 0, 0, 15, 154, 0, 0, 224, 148, 0, 0, 58, 134, 0, 0, 118, 191, 0, 0, 178, 107, 0, 0, 202, 187, 0, 0, 9, 90, 0, 0, 232, 139, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_fu045"]
resource_name = "screenDoor_网格_060"
_surfaces = [{
"aabb": AABB(-0.101208, -0.0573144, -0.0419822, 0.202415, 0.114629, 0.0839747),
"attribute_data": PackedByteArray(56, 44, 176, 7, 247, 39, 182, 7, 8, 1, 114, 20, 133, 48, 182, 7, 187, 36, 114, 20, 72, 48, 205, 10, 127, 40, 176, 7, 8, 1, 205, 0, 247, 39, 172, 10, 187, 36, 205, 0, 133, 48, 172, 10, 143, 44, 205, 10, 62, 44, 182, 7, 225, 18, 114, 20, 225, 18, 205, 0, 62, 44, 172, 10, 56, 44, 178, 10, 247, 39, 184, 10, 133, 48, 184, 10, 72, 48, 203, 7, 127, 40, 178, 10, 247, 39, 170, 7, 133, 48, 170, 7, 143, 44, 203, 7, 62, 44, 184, 10, 62, 44, 170, 7, 52, 82, 101, 189, 219, 24, 39, 175, 128, 21, 39, 175, 89, 86, 101, 189, 128, 21, 233, 183, 116, 33, 15, 195, 116, 33, 127, 176, 219, 24, 233, 183, 84, 79, 4, 192, 110, 1, 39, 175, 53, 28, 39, 175, 226, 47, 246, 162, 110, 1, 233, 183, 53, 28, 233, 183, 84, 79, 202, 195, 194, 4, 39, 175, 65, 68, 246, 162, 194, 4, 233, 183, 52, 82, 105, 198, 29, 8, 39, 175, 27, 83, 28, 176, 29, 8, 233, 183, 119, 11, 39, 175, 89, 86, 105, 198, 119, 11, 233, 183, 27, 83, 15, 195, 210, 14, 39, 175, 57, 89, 202, 195, 210, 14, 233, 183, 173, 68, 53, 208, 44, 18, 39, 175, 57, 89, 4, 192, 44, 18, 233, 183, 79, 48, 53, 208, 181, 65, 162, 201, 228, 75, 90, 192, 228, 75, 209, 178, 72, 65, 236, 169, 218, 50, 236, 169, 171, 40, 52, 179, 24, 41, 90, 192, 71, 51, 162, 201, 225, 18, 114, 20, 225, 18, 114, 20, 53, 28, 39, 175, 110, 1, 233, 183, 53, 28, 233, 183, 194, 4, 39, 175, 194, 4, 39, 175, 119, 11, 233, 183, 44, 18, 39, 175),
"format": 34896613399,
"index_count": 180,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 2, 0, 4, 0, 14, 0, 9, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0, 33, 0, 28, 0, 27, 0, 28, 0, 33, 0, 30, 0, 39, 0, 27, 0, 36, 0, 27, 0, 39, 0, 33, 0, 41, 0, 38, 0, 35, 0, 38, 0, 41, 0, 43, 0, 47, 0, 41, 0, 45, 0, 41, 0, 47, 0, 43, 0, 48, 0, 47, 0, 45, 0, 47, 0, 48, 0, 50, 0, 50, 0, 52, 0, 54, 0, 52, 0, 50, 0, 48, 0, 54, 0, 56, 0, 58, 0, 56, 0, 54, 0, 52, 0, 30, 0, 56, 0, 28, 0, 56, 0, 30, 0, 58, 0, 63, 0, 65, 0, 64, 0, 63, 0, 66, 0, 65, 0, 67, 0, 61, 0, 60, 0, 66, 0, 61, 0, 67, 0, 66, 0, 62, 0, 61, 0, 63, 0, 62, 0, 66, 0, 44, 0, 53, 0, 49, 0, 44, 0, 57, 0, 53, 0, 57, 0, 26, 0, 29, 0, 44, 0, 26, 0, 57, 0, 26, 0, 40, 0, 34, 0, 44, 0, 40, 0, 26, 0, 66, 0, 32, 0, 65, 0, 32, 0, 66, 0, 31, 0, 66, 0, 59, 0, 31, 0, 59, 0, 66, 0, 67, 0, 67, 0, 55, 0, 59, 0, 55, 0, 67, 0, 60, 0, 61, 0, 55, 0, 60, 0, 55, 0, 61, 0, 51, 0, 62, 0, 51, 0, 61, 0, 51, 0, 62, 0, 46, 0, 46, 0, 63, 0, 42, 0, 63, 0, 46, 0, 62, 0, 37, 0, 63, 0, 64, 0, 63, 0, 37, 0, 42, 0, 64, 0, 32, 0, 37, 0, 32, 0, 64, 0, 65, 0),
"lods": [0.0354947, PackedByteArray(68, 0, 7, 0, 14, 0, 7, 0, 68, 0, 2, 0, 14, 0, 4, 0, 69, 0, 4, 0, 14, 0, 9, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 72, 0, 76, 0, 70, 0, 56, 0, 39, 0, 33, 0, 56, 0, 33, 0, 41, 0, 50, 0, 41, 0, 33, 0, 73, 0, 38, 0, 35, 0, 71, 0, 74, 0, 75, 0, 57, 0, 40, 0, 34, 0, 51, 0, 32, 0, 37, 0)],
"material": SubResource("StandardMaterial3D_v2w26"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 77,
"vertex_data": PackedByteArray(0, 0, 105, 59, 247, 255, 84, 213, 0, 0, 105, 59, 247, 255, 255, 191, 0, 0, 105, 59, 247, 255, 255, 127, 255, 255, 105, 59, 247, 255, 255, 191, 255, 255, 105, 59, 247, 255, 255, 127, 255, 255, 105, 59, 247, 255, 84, 213, 0, 0, 255, 255, 247, 255, 84, 213, 0, 0, 255, 255, 247, 255, 255, 127, 0, 0, 255, 255, 247, 255, 255, 191, 255, 255, 255, 255, 247, 255, 255, 127, 255, 255, 255, 255, 247, 255, 255, 191, 255, 255, 255, 255, 247, 255, 84, 213, 255, 127, 105, 59, 247, 255, 255, 191, 255, 127, 105, 59, 247, 255, 255, 127, 255, 127, 255, 255, 247, 255, 255, 127, 255, 127, 255, 255, 247, 255, 255, 191, 0, 0, 105, 59, 12, 39, 84, 213, 0, 0, 105, 59, 12, 39, 255, 191, 255, 255, 105, 59, 12, 39, 255, 191, 255, 255, 105, 59, 12, 39, 84, 213, 0, 0, 255, 255, 12, 39, 84, 213, 0, 0, 255, 255, 12, 39, 255, 191, 255, 255, 255, 255, 12, 39, 255, 191, 255, 255, 255, 255, 12, 39, 84, 213, 255, 127, 105, 59, 12, 39, 255, 191, 255, 127, 255, 255, 12, 39, 255, 191, 8, 139, 166, 174, 232, 224, 85, 254, 8, 139, 166, 174, 232, 224, 162, 141, 75, 101, 166, 174, 159, 219, 91, 146, 75, 101, 166, 174, 159, 219, 83, 254, 75, 101, 0, 0, 159, 219, 91, 146, 75, 101, 0, 0, 159, 219, 207, 211, 8, 139, 0, 0, 232, 224, 7, 212, 8, 139, 0, 0, 232, 224, 162, 141, 68, 167, 166, 174, 78, 164, 222, 254, 68, 167, 166, 174, 78, 164, 162, 173, 68, 167, 166, 174, 78, 164, 162, 173, 68, 167, 0, 0, 78, 164, 220, 211, 68, 167, 0, 0, 78, 164, 162, 173, 68, 167, 0, 0, 78, 164, 162, 173, 117, 169, 166, 174, 86, 73, 58, 254, 117, 169, 166, 174, 86, 73, 162, 205, 117, 169, 0, 0, 86, 73, 86, 212, 117, 169, 0, 0, 86, 73, 162, 205, 81, 144, 166, 174, 72, 5, 65, 254, 81, 144, 166, 174, 72, 5, 162, 237, 81, 144, 0, 0, 72, 5, 252, 211, 81, 144, 0, 0, 72, 5, 162, 237, 148, 106, 166, 174, 0, 0, 91, 242, 148, 106, 166, 174, 0, 0, 83, 254, 148, 106, 0, 0, 0, 0, 91, 242, 148, 106, 0, 0, 0, 0, 46, 212, 88, 78, 166, 174, 153, 60, 91, 210, 88, 78, 166, 174, 153, 60, 131, 254, 88, 78, 0, 0, 153, 60, 91, 210, 88, 78, 0, 0, 153, 60, 27, 212, 39, 76, 166, 174, 145, 151, 91, 178, 39, 76, 166, 174, 145, 151, 90, 254, 39, 76, 0, 0, 145, 151, 91, 178, 39, 76, 0, 0, 145, 151, 215, 211, 141, 91, 0, 0, 7, 76, 21, 212, 106, 111, 0, 0, 118, 33, 52, 212, 243, 137, 0, 0, 34, 37, 18, 212, 158, 155, 0, 0, 240, 84, 74, 212, 15, 154, 0, 0, 224, 148, 236, 211, 58, 134, 0, 0, 118, 191, 22, 212, 178, 107, 0, 0, 202, 187, 234, 211, 9, 90, 0, 0, 232, 139, 224, 211, 255, 127, 105, 59, 247, 255, 194, 136, 255, 127, 105, 59, 247, 255, 24, 142, 68, 167, 166, 174, 78, 164, 97, 159, 68, 167, 0, 0, 78, 164, 252, 196, 68, 167, 0, 0, 78, 164, 97, 159, 117, 169, 166, 174, 86, 73, 11, 197, 117, 169, 166, 174, 86, 73, 18, 209, 148, 106, 0, 0, 0, 0, 113, 247, 39, 76, 166, 174, 145, 151, 164, 162, 84, 85, 170, 170, 0, 0, 255, 127, 255, 127, 255, 255, 0, 0, 255, 127, 255, 127, 255, 255, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 255, 254, 255, 255, 127, 255, 127, 255, 255, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 255, 127, 255, 255, 255, 127, 255, 255, 254, 255, 255, 127, 84, 85, 170, 170, 0, 0, 255, 127, 0, 0, 255, 127, 170, 170, 84, 85, 84, 85, 170, 170, 255, 255, 255, 127, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 254, 255, 255, 127, 232, 192, 210, 1, 255, 127, 0, 0, 255, 127, 255, 255, 233, 192, 212, 1, 255, 127, 255, 255, 115, 83, 69, 86, 186, 83, 34, 86, 255, 127, 0, 0, 158, 192, 61, 1, 255, 127, 0, 0, 255, 127, 0, 0, 132, 83, 61, 86, 255, 127, 0, 0, 255, 127, 0, 0, 246, 192, 238, 1, 255, 127, 0, 0, 29, 84, 240, 85, 255, 127, 0, 0, 242, 192, 231, 1, 255, 127, 0, 0, 172, 83, 41, 86, 255, 127, 0, 0, 255, 127, 255, 255, 233, 192, 212, 1, 255, 127, 255, 255, 235, 83, 9, 86, 255, 127, 255, 255, 207, 192, 160, 1, 255, 127, 255, 255, 211, 83, 21, 86, 255, 127, 255, 255, 229, 192, 204, 1, 255, 127, 255, 255, 126, 83, 64, 86, 203, 83, 25, 86, 243, 83, 5, 86, 200, 83, 27, 86, 14, 84, 248, 85, 152, 83, 51, 86, 205, 83, 24, 86, 150, 83, 52, 86, 137, 83, 58, 86, 255, 127, 254, 255, 255, 127, 0, 0, 255, 127, 0, 0, 238, 92, 137, 61, 255, 127, 0, 0, 255, 127, 0, 0, 250, 113, 234, 33, 200, 208, 163, 42, 255, 127, 255, 255)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_5y5yp")
[sub_resource type="BoxShape3D" id="BoxShape3D_ajatj"]
[sub_resource type="ViewportTexture" id="ViewportTexture_k6str"]
viewport_path = NodePath("SubViewport")
[node name="LCB" type="Node3D"]
script = ExtResource("1_rsitc")
[node name="LCB_body" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.75579, 2.92652, -7.30781)
mesh = SubResource("ArrayMesh_fu045")
skeleton = NodePath("")
[node name="LCB_Area3D" type="Area3D" parent="LCB_body"]
transform = Transform3D(0.207, 0, 0, 0, 0.125, 0, 0, 0, 0.205, 0, 0.00459647, 0)
script = ExtResource("1_uby1l")
[node name="CollisionShape3D" type="CollisionShape3D" parent="LCB_body/LCB_Area3D"]
shape = SubResource("BoxShape3D_ajatj")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(64, 32)
[node name="ColorRect" type="ColorRect" parent="SubViewport"]
offset_right = 64.0
offset_bottom = 32.0
color = Color(0, 0.0901961, 1, 1)
[node name="Label" type="Label" parent="SubViewport"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 32
text = "LCB"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(0.256, 0, 0, 0, 0.256, 0, 0, 0, 0.256, -2.756, 2.939, -7.265)
texture = SubResource("ViewportTexture_k6str")
[connection signal="mouse_entered" from="LCB_body/LCB_Area3D" to="LCB_body/LCB_Area3D" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="LCB_body/LCB_Area3D" to="LCB_body/LCB_Area3D" method="_on_mouse_exited"]

View File

@ -1,10 +1,13 @@
[gd_scene load_steps=11 format=3 uid="uid://cmnsn2joxo68l"] [gd_scene load_steps=11 format=3 uid="uid://cmnsn2joxo68l"]
[ext_resource type="PackedScene" uid="uid://b07w0k0uy82f7" path="res://Model/platform/platform.gltf" id="1_5t7j8"] [ext_resource type="PackedScene" uid="uid://b07w0k0uy82f7" path="res://Model/platform/platform.gltf" id="1_5t7j8"]
[ext_resource type="PackedScene" uid="uid://cc4q48i773dvn" path="res://sceen/platform/psl.tscn" id="2_wj0sf"]
[ext_resource type="PackedScene" uid="uid://b41ml6vpfik6v" path="res://UI/LCB/lcb.tscn" id="3_f0qkt"] [ext_resource type="PackedScene" uid="uid://b41ml6vpfik6v" path="res://UI/LCB/lcb.tscn" id="3_f0qkt"]
[ext_resource type="PackedScene" uid="uid://bc2dnsyx16kk6" path="res://sceen/platform/screenDoor.tscn" id="4_507v2"] [ext_resource type="PackedScene" uid="uid://bc2dnsyx16kk6" path="res://sceen/platform/screenDoor.tscn" id="4_507v2"]
[ext_resource type="PackedScene" uid="uid://d167och8l6jms" path="res://UI/station_keys/station_keys_window.tscn" id="4_xd08d"] [ext_resource type="PackedScene" uid="uid://d167och8l6jms" path="res://UI/station_keys/station_keys_window.tscn" id="4_xd08d"]
[ext_resource type="PackedScene" uid="uid://b14blnmo83fac" path="res://UI/JJTC/jjtcw.tscn" id="5_omvjf"]
[ext_resource type="PackedScene" uid="uid://dppmr7ifqt8oa" path="res://UI/psl/psl_window.tscn" id="6_e4hk2"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"]
resource_name = "20 - Default" resource_name = "20 - Default"
@ -13,38 +16,6 @@ albedo_color = Color(0.790731, 0.790731, 0.790731, 1)
metallic = 1.0 metallic = 1.0
roughness = 0.858579 roughness = 0.858579
[sub_resource type="ArrayMesh" id="ArrayMesh_q3710"]
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"format": 34896613377,
"index_count": 48,
"index_data": PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 1, 0, 5, 0, 3, 0, 5, 0, 1, 0, 4, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 0, 0, 255, 255, 0, 0, 245, 255, 0, 0, 0, 0, 255, 255, 245, 255, 0, 0, 255, 255, 255, 255, 245, 255, 0, 0, 255, 127, 0, 0, 245, 255, 0, 0, 255, 127, 255, 255, 245, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_324rb"]
resource_name = "screenDoor_网格_062"
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"attribute_data": PackedByteArray(56, 44, 1, 29, 247, 39, 7, 29, 8, 1, 194, 41, 133, 48, 7, 29, 187, 36, 194, 41, 72, 48, 29, 32, 127, 40, 1, 29, 8, 1, 29, 22, 247, 39, 252, 31, 187, 36, 29, 22, 133, 48, 252, 31, 143, 44, 29, 32, 62, 44, 7, 29, 225, 18, 194, 41, 225, 18, 29, 22, 62, 44, 252, 31, 56, 44, 2, 32, 247, 39, 8, 32, 133, 48, 8, 32, 72, 48, 27, 29, 127, 40, 2, 32, 247, 39, 251, 28, 133, 48, 251, 28, 143, 44, 27, 29, 62, 44, 8, 32, 62, 44, 251, 28),
"format": 34896613399,
"index_count": 48,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 2, 0, 4, 0, 14, 0, 9, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0),
"material": SubResource("StandardMaterial3D_v2w26"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 26,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 84, 213, 0, 0, 0, 0, 245, 255, 255, 191, 0, 0, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 255, 191, 255, 255, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 255, 127, 0, 0, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 255, 127, 255, 255, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 84, 213, 255, 127, 0, 0, 245, 255, 255, 191, 255, 127, 0, 0, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 191, 0, 0, 0, 0, 0, 0, 84, 213, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 84, 213, 255, 127, 0, 0, 0, 0, 255, 191, 255, 127, 255, 255, 0, 0, 255, 191, 84, 85, 170, 170, 0, 0, 255, 127, 255, 127, 255, 255, 0, 0, 255, 127, 255, 127, 255, 255, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 255, 254, 255, 255, 127, 255, 127, 255, 255, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 255, 127, 255, 255, 255, 127, 255, 255, 254, 255, 255, 127, 84, 85, 170, 170, 0, 0, 255, 127, 0, 0, 255, 127, 170, 170, 84, 85, 84, 85, 170, 170, 255, 255, 255, 127, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 254, 255, 255, 127)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_q3710")
[sub_resource type="ArrayMesh" id="ArrayMesh_bglq4"] [sub_resource type="ArrayMesh" id="ArrayMesh_bglq4"]
_surfaces = [{ _surfaces = [{
"aabb": AABB(-0.0341152, -0.0976391, -0.0343229, 0.0682304, 0.195288, 0.0686552), "aabb": AABB(-0.0341152, -0.0976391, -0.0343229, 0.0682304, 0.195288, 0.0686552),
@ -82,11 +53,7 @@ shadow_mesh = SubResource("ArrayMesh_bglq4")
[node name="platformBody" parent="." instance=ExtResource("1_5t7j8")] [node name="platformBody" parent="." instance=ExtResource("1_5t7j8")]
metadata/_edit_lock_ = true metadata/_edit_lock_ = true
[node name="PSL" type="MeshInstance3D" parent="."] [node name="PSL" parent="." instance=ExtResource("2_wj0sf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.68225, 2.3794, -7.38919)
mesh = SubResource("ArrayMesh_324rb")
skeleton = NodePath("")
metadata/_edit_lock_ = true
[node name="JJTC" type="MeshInstance3D" parent="."] [node name="JJTC" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.74842, 1.05459, -7.39734) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.74842, 1.05459, -7.39734)
@ -113,10 +80,14 @@ visible = false
position = Vector2i(1133, 325) position = Vector2i(1133, 325)
visible = false visible = false
[node name="JJTCW" parent="." instance=ExtResource("5_omvjf")]
[connection signal="clickLcbSignal" from="screenDoor1" to="LCB" method="_on_screen_door_click_lcb_signal"] [node name="psl" parent="." instance=ExtResource("6_e4hk2")]
[connection signal="clickLcbSignal" from="screenDoor2" to="LCB" method="_on_screen_door_click_lcb_signal"] position = Vector2i(568, 190)
[connection signal="clickLcbSignal" from="screenDoor3" to="LCB" method="_on_screen_door_click_lcb_signal"] visible = false
[connection signal="clickLcbSignal" from="screenDoor4" to="LCB" method="_on_screen_door_click_lcb_signal"]
[connection signal="clickLPslSignal" from="PSL" to="psl" method="_on_psl_click_signal"]
[connection signal="clickLcbSignalAndSent" from="screenDoor1" to="LCB" method="_on_screen_door_click_lcb_signal"]
[connection signal="clickLcbSignalAndSent" from="screenDoor2" to="LCB" method="_on_screen_door_click_lcb_signal"]
[connection signal="clickLcbSignalAndSent" from="screenDoor3" to="LCB" method="_on_screen_door_click_lcb_signal"]
[connection signal="clickLcbSignalAndSent" from="screenDoor4" to="LCB" method="_on_screen_door_click_lcb_signal"]
[connection signal="close_requested" from="LCB" to="LCB" method="_on_close_requested"] [connection signal="close_requested" from="LCB" to="LCB" method="_on_close_requested"]

4
sceen/platform/psl.gd Normal file
View File

@ -0,0 +1,4 @@
extends Node3D
signal clickLPslSignal()

90
sceen/platform/psl.tscn Normal file
View File

@ -0,0 +1,90 @@
[gd_scene load_steps=8 format=3 uid="uid://cc4q48i773dvn"]
[ext_resource type="Script" path="res://sceen/platform/PSL_Area3D.gd" id="1_5mk24"]
[ext_resource type="Script" path="res://sceen/platform/psl.gd" id="1_fwlhs"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"]
resource_name = "20 - Default"
cull_mode = 2
albedo_color = Color(0.790731, 0.790731, 0.790731, 1)
metallic = 1.0
roughness = 0.858579
[sub_resource type="ArrayMesh" id="ArrayMesh_q3710"]
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"format": 34896613377,
"index_count": 48,
"index_data": PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 1, 0, 5, 0, 3, 0, 5, 0, 1, 0, 4, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 12,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 0, 0, 255, 255, 0, 0, 245, 255, 0, 0, 0, 0, 255, 255, 245, 255, 0, 0, 255, 255, 255, 255, 245, 255, 0, 0, 255, 127, 0, 0, 245, 255, 0, 0, 255, 127, 255, 255, 245, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 255, 255, 255, 255, 0, 0, 0, 0, 255, 127, 0, 0, 0, 0, 0, 0, 255, 127, 255, 255, 0, 0, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_xtvya"]
resource_name = "screenDoor_网格_062"
_surfaces = [{
"aabb": AABB(-0.101208, -0.0440127, -0.0355776, 0.202415, 0.0880253, 0.0711652),
"attribute_data": PackedByteArray(56, 44, 1, 29, 247, 39, 7, 29, 8, 1, 194, 41, 133, 48, 7, 29, 187, 36, 194, 41, 72, 48, 29, 32, 127, 40, 1, 29, 8, 1, 29, 22, 247, 39, 252, 31, 187, 36, 29, 22, 133, 48, 252, 31, 143, 44, 29, 32, 62, 44, 7, 29, 225, 18, 194, 41, 225, 18, 29, 22, 62, 44, 252, 31, 56, 44, 2, 32, 247, 39, 8, 32, 133, 48, 8, 32, 72, 48, 27, 29, 127, 40, 2, 32, 247, 39, 251, 28, 133, 48, 251, 28, 143, 44, 27, 29, 62, 44, 8, 32, 62, 44, 251, 28),
"format": 34896613399,
"index_count": 48,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 2, 0, 4, 0, 14, 0, 9, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0),
"material": SubResource("StandardMaterial3D_v2w26"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 26,
"vertex_data": PackedByteArray(0, 0, 0, 0, 245, 255, 84, 213, 0, 0, 0, 0, 245, 255, 255, 191, 0, 0, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 255, 191, 255, 255, 0, 0, 245, 255, 255, 127, 255, 255, 0, 0, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 84, 213, 0, 0, 255, 255, 245, 255, 255, 127, 0, 0, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 255, 127, 255, 255, 255, 255, 245, 255, 255, 191, 255, 255, 255, 255, 245, 255, 84, 213, 255, 127, 0, 0, 245, 255, 255, 191, 255, 127, 0, 0, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 127, 255, 127, 255, 255, 245, 255, 255, 191, 0, 0, 0, 0, 0, 0, 84, 213, 0, 0, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 255, 191, 255, 255, 0, 0, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 84, 213, 0, 0, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 255, 191, 255, 255, 255, 255, 0, 0, 84, 213, 255, 127, 0, 0, 0, 0, 255, 191, 255, 127, 255, 255, 0, 0, 255, 191, 84, 85, 170, 170, 0, 0, 255, 127, 255, 127, 255, 255, 0, 0, 255, 127, 255, 127, 255, 255, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 255, 254, 255, 255, 127, 255, 127, 255, 255, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 255, 127, 255, 255, 255, 127, 255, 255, 254, 255, 255, 127, 84, 85, 170, 170, 0, 0, 255, 127, 0, 0, 255, 127, 170, 170, 84, 85, 84, 85, 170, 170, 255, 255, 255, 127, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 254, 255, 255, 127)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_q3710")
[sub_resource type="BoxShape3D" id="BoxShape3D_bgvqo"]
[sub_resource type="ViewportTexture" id="ViewportTexture_3lap2"]
viewport_path = NodePath("SubViewport")
[node name="PSL" type="Node3D"]
script = ExtResource("1_fwlhs")
[node name="PSL_body" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.68225, 2.3794, -7.38919)
mesh = SubResource("ArrayMesh_xtvya")
skeleton = NodePath("")
metadata/_edit_lock_ = true
[node name="PSL_Area3D" type="Area3D" parent="PSL_body"]
script = ExtResource("1_5mk24")
[node name="CollisionShape3D" type="CollisionShape3D" parent="PSL_body/PSL_Area3D"]
transform = Transform3D(0.215, 0, 0, 0, 0.095, 0, 0, 0, 0.1, 0, 0, 0)
shape = SubResource("BoxShape3D_bgvqo")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(64, 32)
[node name="ColorRect" type="ColorRect" parent="SubViewport"]
offset_right = 64.0
offset_bottom = 32.0
color = Color(0, 0.0901961, 1, 1)
[node name="Label" type="Label" parent="SubViewport"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 32
text = "PSL"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(0.256, 0, 0, 0, 0.256, 0, 0, 0, 0.256, -3.682, 2.379, -7.35)
texture = SubResource("ViewportTexture_3lap2")
[connection signal="mouse_entered" from="PSL_body/PSL_Area3D" to="PSL_body/PSL_Area3D" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="PSL_body/PSL_Area3D" to="PSL_body/PSL_Area3D" method="_on_mouse_exited"]

View File

@ -6,7 +6,7 @@ class_name ScreenDoor
@onready var right_animation_player: AnimationPlayer = $RightAnimationPlayer @onready var right_animation_player: AnimationPlayer = $RightAnimationPlayer
signal clickLcbSignal(screenDoor) signal clickLcbSignalAndSent(screenDoor)
## 屏蔽门的状态枚举 ## 屏蔽门的状态枚举
@ -51,3 +51,6 @@ func _process(delta: float) -> void:
count=0 count=0
func _on_lcb_click() -> void:
self.clickLcbSignalAndSent.emit(self)

View File

@ -1,8 +1,8 @@
[gd_scene load_steps=23 format=3 uid="uid://bc2dnsyx16kk6"] [gd_scene load_steps=20 format=3 uid="uid://bc2dnsyx16kk6"]
[ext_resource type="Script" path="res://sceen/platform/screenDoor.gd" id="1_nse1y"] [ext_resource type="Script" path="res://sceen/platform/screenDoor.gd" id="1_nse1y"]
[ext_resource type="Script" path="res://sceen/platform/LCB_Area3D.gd" id="2_lbd6y"]
[ext_resource type="Texture2D" uid="uid://c0gto8nc6msh4" path="res://Model/screenDoor/screenDoor_haerbin_jz_menkuangyanse87.png" id="2_rfgim"] [ext_resource type="Texture2D" uid="uid://c0gto8nc6msh4" path="res://Model/screenDoor/screenDoor_haerbin_jz_menkuangyanse87.png" id="2_rfgim"]
[ext_resource type="PackedScene" uid="uid://0ys58lvdq51b" path="res://sceen/platform/lcb.tscn" id="4_t5qy2"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v2w26"]
resource_name = "20 - Default" resource_name = "20 - Default"
@ -11,42 +11,6 @@ albedo_color = Color(0.790731, 0.790731, 0.790731, 1)
metallic = 1.0 metallic = 1.0
roughness = 0.858579 roughness = 0.858579
[sub_resource type="ArrayMesh" id="ArrayMesh_5y5yp"]
_surfaces = [{
"aabb": AABB(-0.101208, -0.0573144, -0.0419822, 0.202415, 0.114629, 0.0839747),
"format": 34896613377,
"index_count": 180,
"index_data": PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 1, 0, 5, 0, 3, 0, 5, 0, 1, 0, 4, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0, 15, 0, 13, 0, 12, 0, 13, 0, 15, 0, 14, 0, 17, 0, 12, 0, 16, 0, 12, 0, 17, 0, 15, 0, 18, 0, 17, 0, 16, 0, 17, 0, 18, 0, 19, 0, 21, 0, 18, 0, 20, 0, 18, 0, 21, 0, 19, 0, 22, 0, 21, 0, 20, 0, 21, 0, 22, 0, 23, 0, 23, 0, 24, 0, 25, 0, 24, 0, 23, 0, 22, 0, 25, 0, 26, 0, 27, 0, 26, 0, 25, 0, 24, 0, 14, 0, 26, 0, 13, 0, 26, 0, 14, 0, 27, 0, 31, 0, 33, 0, 32, 0, 31, 0, 34, 0, 33, 0, 35, 0, 29, 0, 28, 0, 34, 0, 29, 0, 35, 0, 34, 0, 30, 0, 29, 0, 31, 0, 30, 0, 34, 0, 20, 0, 24, 0, 22, 0, 20, 0, 26, 0, 24, 0, 26, 0, 12, 0, 13, 0, 20, 0, 12, 0, 26, 0, 12, 0, 18, 0, 16, 0, 20, 0, 18, 0, 12, 0, 34, 0, 15, 0, 33, 0, 15, 0, 34, 0, 14, 0, 34, 0, 27, 0, 14, 0, 27, 0, 34, 0, 35, 0, 35, 0, 25, 0, 27, 0, 25, 0, 35, 0, 28, 0, 29, 0, 25, 0, 28, 0, 25, 0, 29, 0, 23, 0, 30, 0, 23, 0, 29, 0, 23, 0, 30, 0, 21, 0, 21, 0, 31, 0, 19, 0, 31, 0, 21, 0, 30, 0, 17, 0, 31, 0, 32, 0, 31, 0, 17, 0, 19, 0, 32, 0, 15, 0, 17, 0, 15, 0, 32, 0, 33, 0),
"lods": [0.0354947, PackedByteArray(4, 0, 2, 0, 5, 0, 2, 0, 4, 0, 0, 0, 5, 0, 1, 0, 4, 0, 1, 0, 5, 0, 3, 0, 4, 0, 6, 0, 0, 0, 6, 0, 4, 0, 10, 0, 1, 0, 10, 0, 4, 0, 10, 0, 1, 0, 7, 0, 3, 0, 7, 0, 1, 0, 7, 0, 3, 0, 9, 0, 5, 0, 9, 0, 3, 0, 9, 0, 5, 0, 11, 0, 2, 0, 11, 0, 5, 0, 11, 0, 2, 0, 8, 0, 0, 0, 8, 0, 2, 0, 8, 0, 0, 0, 6, 0, 17, 0, 26, 0, 16, 0, 26, 0, 17, 0, 15, 0, 26, 0, 15, 0, 18, 0, 23, 0, 18, 0, 15, 0, 18, 0, 17, 0, 16, 0, 17, 0, 18, 0, 23, 0, 26, 0, 18, 0, 16, 0, 23, 0, 15, 0, 17, 0)],
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 36,
"vertex_data": PackedByteArray(0, 0, 105, 59, 247, 255, 0, 0, 255, 255, 105, 59, 247, 255, 0, 0, 0, 0, 255, 255, 247, 255, 0, 0, 255, 255, 255, 255, 247, 255, 0, 0, 255, 127, 105, 59, 247, 255, 0, 0, 255, 127, 255, 255, 247, 255, 0, 0, 0, 0, 105, 59, 12, 39, 0, 0, 255, 255, 105, 59, 12, 39, 0, 0, 0, 0, 255, 255, 12, 39, 0, 0, 255, 255, 255, 255, 12, 39, 0, 0, 255, 127, 105, 59, 12, 39, 0, 0, 255, 127, 255, 255, 12, 39, 0, 0, 8, 139, 166, 174, 232, 224, 0, 0, 75, 101, 166, 174, 159, 219, 0, 0, 75, 101, 0, 0, 159, 219, 0, 0, 8, 139, 0, 0, 232, 224, 0, 0, 68, 167, 166, 174, 78, 164, 0, 0, 68, 167, 0, 0, 78, 164, 0, 0, 117, 169, 166, 174, 86, 73, 0, 0, 117, 169, 0, 0, 86, 73, 0, 0, 81, 144, 166, 174, 72, 5, 0, 0, 81, 144, 0, 0, 72, 5, 0, 0, 148, 106, 166, 174, 0, 0, 0, 0, 148, 106, 0, 0, 0, 0, 0, 0, 88, 78, 166, 174, 153, 60, 0, 0, 88, 78, 0, 0, 153, 60, 0, 0, 39, 76, 166, 174, 145, 151, 0, 0, 39, 76, 0, 0, 145, 151, 0, 0, 141, 91, 0, 0, 7, 76, 0, 0, 106, 111, 0, 0, 118, 33, 0, 0, 243, 137, 0, 0, 34, 37, 0, 0, 158, 155, 0, 0, 240, 84, 0, 0, 15, 154, 0, 0, 224, 148, 0, 0, 58, 134, 0, 0, 118, 191, 0, 0, 178, 107, 0, 0, 202, 187, 0, 0, 9, 90, 0, 0, 232, 139, 0, 0)
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_ub7at"]
resource_name = "screenDoor_网格_060"
_surfaces = [{
"aabb": AABB(-0.101208, -0.0573144, -0.0419822, 0.202415, 0.114629, 0.0839747),
"attribute_data": PackedByteArray(56, 44, 176, 7, 247, 39, 182, 7, 8, 1, 114, 20, 133, 48, 182, 7, 187, 36, 114, 20, 72, 48, 205, 10, 127, 40, 176, 7, 8, 1, 205, 0, 247, 39, 172, 10, 187, 36, 205, 0, 133, 48, 172, 10, 143, 44, 205, 10, 62, 44, 182, 7, 225, 18, 114, 20, 225, 18, 205, 0, 62, 44, 172, 10, 56, 44, 178, 10, 247, 39, 184, 10, 133, 48, 184, 10, 72, 48, 203, 7, 127, 40, 178, 10, 247, 39, 170, 7, 133, 48, 170, 7, 143, 44, 203, 7, 62, 44, 184, 10, 62, 44, 170, 7, 52, 82, 101, 189, 219, 24, 39, 175, 128, 21, 39, 175, 89, 86, 101, 189, 128, 21, 233, 183, 116, 33, 15, 195, 116, 33, 127, 176, 219, 24, 233, 183, 84, 79, 4, 192, 110, 1, 39, 175, 53, 28, 39, 175, 226, 47, 246, 162, 110, 1, 233, 183, 53, 28, 233, 183, 84, 79, 202, 195, 194, 4, 39, 175, 65, 68, 246, 162, 194, 4, 233, 183, 52, 82, 105, 198, 29, 8, 39, 175, 27, 83, 28, 176, 29, 8, 233, 183, 119, 11, 39, 175, 89, 86, 105, 198, 119, 11, 233, 183, 27, 83, 15, 195, 210, 14, 39, 175, 57, 89, 202, 195, 210, 14, 233, 183, 173, 68, 53, 208, 44, 18, 39, 175, 57, 89, 4, 192, 44, 18, 233, 183, 79, 48, 53, 208, 181, 65, 162, 201, 228, 75, 90, 192, 228, 75, 209, 178, 72, 65, 236, 169, 218, 50, 236, 169, 171, 40, 52, 179, 24, 41, 90, 192, 71, 51, 162, 201, 225, 18, 114, 20, 225, 18, 114, 20, 53, 28, 39, 175, 110, 1, 233, 183, 53, 28, 233, 183, 194, 4, 39, 175, 194, 4, 39, 175, 119, 11, 233, 183, 44, 18, 39, 175),
"format": 34896613399,
"index_count": 180,
"index_data": PackedByteArray(13, 0, 7, 0, 14, 0, 7, 0, 13, 0, 2, 0, 4, 0, 14, 0, 9, 0, 14, 0, 4, 0, 13, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0, 33, 0, 28, 0, 27, 0, 28, 0, 33, 0, 30, 0, 39, 0, 27, 0, 36, 0, 27, 0, 39, 0, 33, 0, 41, 0, 38, 0, 35, 0, 38, 0, 41, 0, 43, 0, 47, 0, 41, 0, 45, 0, 41, 0, 47, 0, 43, 0, 48, 0, 47, 0, 45, 0, 47, 0, 48, 0, 50, 0, 50, 0, 52, 0, 54, 0, 52, 0, 50, 0, 48, 0, 54, 0, 56, 0, 58, 0, 56, 0, 54, 0, 52, 0, 30, 0, 56, 0, 28, 0, 56, 0, 30, 0, 58, 0, 63, 0, 65, 0, 64, 0, 63, 0, 66, 0, 65, 0, 67, 0, 61, 0, 60, 0, 66, 0, 61, 0, 67, 0, 66, 0, 62, 0, 61, 0, 63, 0, 62, 0, 66, 0, 44, 0, 53, 0, 49, 0, 44, 0, 57, 0, 53, 0, 57, 0, 26, 0, 29, 0, 44, 0, 26, 0, 57, 0, 26, 0, 40, 0, 34, 0, 44, 0, 40, 0, 26, 0, 66, 0, 32, 0, 65, 0, 32, 0, 66, 0, 31, 0, 66, 0, 59, 0, 31, 0, 59, 0, 66, 0, 67, 0, 67, 0, 55, 0, 59, 0, 55, 0, 67, 0, 60, 0, 61, 0, 55, 0, 60, 0, 55, 0, 61, 0, 51, 0, 62, 0, 51, 0, 61, 0, 51, 0, 62, 0, 46, 0, 46, 0, 63, 0, 42, 0, 63, 0, 46, 0, 62, 0, 37, 0, 63, 0, 64, 0, 63, 0, 37, 0, 42, 0, 64, 0, 32, 0, 37, 0, 32, 0, 64, 0, 65, 0),
"lods": [0.0354947, PackedByteArray(68, 0, 7, 0, 14, 0, 7, 0, 68, 0, 2, 0, 14, 0, 4, 0, 69, 0, 4, 0, 14, 0, 9, 0, 12, 0, 17, 0, 1, 0, 17, 0, 12, 0, 24, 0, 3, 0, 24, 0, 12, 0, 24, 0, 3, 0, 18, 0, 11, 0, 19, 0, 5, 0, 19, 0, 11, 0, 23, 0, 15, 0, 22, 0, 10, 0, 22, 0, 15, 0, 25, 0, 8, 0, 25, 0, 15, 0, 25, 0, 8, 0, 21, 0, 0, 0, 20, 0, 6, 0, 20, 0, 0, 0, 16, 0, 72, 0, 76, 0, 70, 0, 56, 0, 39, 0, 33, 0, 56, 0, 33, 0, 41, 0, 50, 0, 41, 0, 33, 0, 73, 0, 38, 0, 35, 0, 71, 0, 74, 0, 75, 0, 57, 0, 40, 0, 34, 0, 51, 0, 32, 0, 37, 0)],
"material": SubResource("StandardMaterial3D_v2w26"),
"name": "20 - Default",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 77,
"vertex_data": PackedByteArray(0, 0, 105, 59, 247, 255, 84, 213, 0, 0, 105, 59, 247, 255, 255, 191, 0, 0, 105, 59, 247, 255, 255, 127, 255, 255, 105, 59, 247, 255, 255, 191, 255, 255, 105, 59, 247, 255, 255, 127, 255, 255, 105, 59, 247, 255, 84, 213, 0, 0, 255, 255, 247, 255, 84, 213, 0, 0, 255, 255, 247, 255, 255, 127, 0, 0, 255, 255, 247, 255, 255, 191, 255, 255, 255, 255, 247, 255, 255, 127, 255, 255, 255, 255, 247, 255, 255, 191, 255, 255, 255, 255, 247, 255, 84, 213, 255, 127, 105, 59, 247, 255, 255, 191, 255, 127, 105, 59, 247, 255, 255, 127, 255, 127, 255, 255, 247, 255, 255, 127, 255, 127, 255, 255, 247, 255, 255, 191, 0, 0, 105, 59, 12, 39, 84, 213, 0, 0, 105, 59, 12, 39, 255, 191, 255, 255, 105, 59, 12, 39, 255, 191, 255, 255, 105, 59, 12, 39, 84, 213, 0, 0, 255, 255, 12, 39, 84, 213, 0, 0, 255, 255, 12, 39, 255, 191, 255, 255, 255, 255, 12, 39, 255, 191, 255, 255, 255, 255, 12, 39, 84, 213, 255, 127, 105, 59, 12, 39, 255, 191, 255, 127, 255, 255, 12, 39, 255, 191, 8, 139, 166, 174, 232, 224, 85, 254, 8, 139, 166, 174, 232, 224, 162, 141, 75, 101, 166, 174, 159, 219, 91, 146, 75, 101, 166, 174, 159, 219, 83, 254, 75, 101, 0, 0, 159, 219, 91, 146, 75, 101, 0, 0, 159, 219, 207, 211, 8, 139, 0, 0, 232, 224, 7, 212, 8, 139, 0, 0, 232, 224, 162, 141, 68, 167, 166, 174, 78, 164, 222, 254, 68, 167, 166, 174, 78, 164, 162, 173, 68, 167, 166, 174, 78, 164, 162, 173, 68, 167, 0, 0, 78, 164, 220, 211, 68, 167, 0, 0, 78, 164, 162, 173, 68, 167, 0, 0, 78, 164, 162, 173, 117, 169, 166, 174, 86, 73, 58, 254, 117, 169, 166, 174, 86, 73, 162, 205, 117, 169, 0, 0, 86, 73, 86, 212, 117, 169, 0, 0, 86, 73, 162, 205, 81, 144, 166, 174, 72, 5, 65, 254, 81, 144, 166, 174, 72, 5, 162, 237, 81, 144, 0, 0, 72, 5, 252, 211, 81, 144, 0, 0, 72, 5, 162, 237, 148, 106, 166, 174, 0, 0, 91, 242, 148, 106, 166, 174, 0, 0, 83, 254, 148, 106, 0, 0, 0, 0, 91, 242, 148, 106, 0, 0, 0, 0, 46, 212, 88, 78, 166, 174, 153, 60, 91, 210, 88, 78, 166, 174, 153, 60, 131, 254, 88, 78, 0, 0, 153, 60, 91, 210, 88, 78, 0, 0, 153, 60, 27, 212, 39, 76, 166, 174, 145, 151, 91, 178, 39, 76, 166, 174, 145, 151, 90, 254, 39, 76, 0, 0, 145, 151, 91, 178, 39, 76, 0, 0, 145, 151, 215, 211, 141, 91, 0, 0, 7, 76, 21, 212, 106, 111, 0, 0, 118, 33, 52, 212, 243, 137, 0, 0, 34, 37, 18, 212, 158, 155, 0, 0, 240, 84, 74, 212, 15, 154, 0, 0, 224, 148, 236, 211, 58, 134, 0, 0, 118, 191, 22, 212, 178, 107, 0, 0, 202, 187, 234, 211, 9, 90, 0, 0, 232, 139, 224, 211, 255, 127, 105, 59, 247, 255, 194, 136, 255, 127, 105, 59, 247, 255, 24, 142, 68, 167, 166, 174, 78, 164, 97, 159, 68, 167, 0, 0, 78, 164, 252, 196, 68, 167, 0, 0, 78, 164, 97, 159, 117, 169, 166, 174, 86, 73, 11, 197, 117, 169, 166, 174, 86, 73, 18, 209, 148, 106, 0, 0, 0, 0, 113, 247, 39, 76, 166, 174, 145, 151, 164, 162, 84, 85, 170, 170, 0, 0, 255, 127, 255, 127, 255, 255, 0, 0, 255, 127, 255, 127, 255, 255, 170, 170, 84, 85, 84, 85, 170, 170, 255, 127, 255, 255, 254, 255, 255, 127, 255, 127, 255, 255, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 255, 127, 255, 255, 255, 127, 255, 255, 254, 255, 255, 127, 84, 85, 170, 170, 0, 0, 255, 127, 0, 0, 255, 127, 170, 170, 84, 85, 84, 85, 170, 170, 255, 255, 255, 127, 255, 255, 255, 127, 170, 170, 84, 85, 0, 0, 255, 127, 254, 255, 255, 127, 232, 192, 210, 1, 255, 127, 0, 0, 255, 127, 255, 255, 233, 192, 212, 1, 255, 127, 255, 255, 115, 83, 69, 86, 186, 83, 34, 86, 255, 127, 0, 0, 158, 192, 61, 1, 255, 127, 0, 0, 255, 127, 0, 0, 132, 83, 61, 86, 255, 127, 0, 0, 255, 127, 0, 0, 246, 192, 238, 1, 255, 127, 0, 0, 29, 84, 240, 85, 255, 127, 0, 0, 242, 192, 231, 1, 255, 127, 0, 0, 172, 83, 41, 86, 255, 127, 0, 0, 255, 127, 255, 255, 233, 192, 212, 1, 255, 127, 255, 255, 235, 83, 9, 86, 255, 127, 255, 255, 207, 192, 160, 1, 255, 127, 255, 255, 211, 83, 21, 86, 255, 127, 255, 255, 229, 192, 204, 1, 255, 127, 255, 255, 126, 83, 64, 86, 203, 83, 25, 86, 243, 83, 5, 86, 200, 83, 27, 86, 14, 84, 248, 85, 152, 83, 51, 86, 205, 83, 24, 86, 150, 83, 52, 86, 137, 83, 58, 86, 255, 127, 254, 255, 255, 127, 0, 0, 255, 127, 0, 0, 238, 92, 137, 61, 255, 127, 0, 0, 255, 127, 0, 0, 250, 113, 234, 33, 200, 208, 163, 42, 255, 127, 255, 255)
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_5y5yp")
[sub_resource type="BoxShape3D" id="BoxShape3D_lefsu"]
[sub_resource type="ArrayMesh" id="ArrayMesh_mnw5j"] [sub_resource type="ArrayMesh" id="ArrayMesh_mnw5j"]
_surfaces = [{ _surfaces = [{
"aabb": AABB(-0.123623, -0.0377295, -0.0186467, 0.247246, 0.075459, 0.0372938), "aabb": AABB(-0.123623, -0.0377295, -0.0186467, 0.247246, 0.075459, 0.0372938),
@ -262,23 +226,13 @@ _data = {
[node name="screenDoor" type="Node3D"] [node name="screenDoor" type="Node3D"]
script = ExtResource("1_nse1y") script = ExtResource("1_nse1y")
[node name="LCB" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.75579, 2.92652, -7.30781)
mesh = SubResource("ArrayMesh_ub7at")
skeleton = NodePath("")
[node name="LCB_Area3D" type="Area3D" parent="LCB"]
transform = Transform3D(0.207, 0, 0, 0, 0.125, 0, 0, 0, 0.205, 0, 0.00459647, 0)
script = ExtResource("2_lbd6y")
[node name="CollisionShape3D" type="CollisionShape3D" parent="LCB/LCB_Area3D"]
shape = SubResource("BoxShape3D_lefsu")
[node name="MTD" type="MeshInstance3D" parent="."] [node name="MTD" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.1674, 2.99429, -7.28448) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.1674, 2.99429, -7.28448)
mesh = SubResource("ArrayMesh_1manj") mesh = SubResource("ArrayMesh_1manj")
skeleton = NodePath("") skeleton = NodePath("")
[node name="LCB" parent="." instance=ExtResource("4_t5qy2")]
[node name="left" type="MeshInstance3D" parent="."] [node name="left" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.58188, 1.85015, -7.5197) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.58188, 1.85015, -7.5197)
mesh = SubResource("ArrayMesh_5x0nn") mesh = SubResource("ArrayMesh_5x0nn")
@ -301,10 +255,4 @@ libraries = {
"": SubResource("AnimationLibrary_u6vct") "": SubResource("AnimationLibrary_u6vct")
} }
[node name="Label3D" type="Label3D" parent="."] [connection signal="clickLcbSignal" from="LCB" to="." method="_on_lcb_click"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.75486, 2.94432, -7.258)
text = "LCB"
font_size = 13
[connection signal="mouse_entered" from="LCB/LCB_Area3D" to="LCB/LCB_Area3D" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="LCB/LCB_Area3D" to="LCB/LCB_Area3D" method="_on_mouse_exited"]