Files
PRD_TU_MP550/PRD_MP550.tscn
2024-12-13 03:26:25 +03:00

475 lines
15 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[gd_scene load_steps=39 format=3 uid="uid://cvor2jm4xk3ha"]
[ext_resource type="Script" path="res://scripts/PRD.gd" id="1_v273n"]
[ext_resource type="Script" path="res://table/table.gd" id="2_vmbyo"]
[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://Shaders/shader_edu.tres" id="3_3syd3"]
[ext_resource type="Shader" path="res://Shaders/ray.gdshader" id="4_uy5o2"]
[ext_resource type="Texture2D" uid="uid://62v0xejejuwj" path="res://Web.png" id="5_i3nvb"]
[ext_resource type="Texture2D" uid="uid://dkef6xwxwdxi8" path="res://эмс-бланк.png" id="7_hdx0f"]
[ext_resource type="Texture2D" uid="uid://b15flrfytxkop" path="res://эмс-бланк-пост.png" id="8_eaogg"]
[ext_resource type="Texture2D" uid="uid://ijdfo2mml54" path="res://эмс-бланк-перем.png" id="9_nctgk"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ewq4n"]
content_margin_left = 6.0
content_margin_top = 5.0
content_margin_right = 6.0
content_margin_bottom = 5.0
bg_color = Color(0.189, 0.216, 0.261, 1)
border_color = Color(0.147, 0.168, 0.203, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 3
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wlyk3"]
content_margin_left = 6.0
content_margin_top = 5.0
content_margin_right = 6.0
content_margin_bottom = 5.0
bg_color = Color(0.147, 0.168, 0.203, 1)
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.44, 0.73, 0.98, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 3
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2vbj6"]
bg_color = Color(0.388235, 0.227451, 0.290196, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dm3xa"]
bg_color = Color(0.388235, 0.227451, 0.290196, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_h7n4k"]
content_margin_left = 6.0
content_margin_top = 5.0
content_margin_right = 6.0
content_margin_bottom = 5.0
bg_color = Color(0.128625, 0.147, 0.177625, 1)
border_color = Color(0.1155, 0.132, 0.1595, 1)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 3
anti_aliasing = false
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h8aei"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_d322q"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_8j02b"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ls6vm"]
[sub_resource type="Theme" id="Theme_k5ur4"]
Button/styles/disabled = SubResource("StyleBoxFlat_ewq4n")
Button/styles/focus = SubResource("StyleBoxFlat_wlyk3")
Button/styles/hover = SubResource("StyleBoxFlat_2vbj6")
Button/styles/normal = SubResource("StyleBoxFlat_dm3xa")
Button/styles/pressed = SubResource("StyleBoxFlat_h7n4k")
TabContainer/styles/panel = SubResource("StyleBoxTexture_h8aei")
TabContainer/styles/tab_focus = SubResource("StyleBoxTexture_d322q")
TabContainer/styles/tab_selected = SubResource("StyleBoxTexture_8j02b")
TabContainer/styles/tabbar_background = SubResource("StyleBoxTexture_ls6vm")
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rh6pm"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x11tp"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mn8w2"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_21lc8"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k08q3"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dklg6"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_17le6"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ovl8a"]
bg_color = Color(0.388235, 0.227451, 0.290196, 1)
corner_detail = 1
anti_aliasing = false
[sub_resource type="SpriteFrames" id="SpriteFrames_vex4t"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("7_hdx0f")
}, {
"duration": 1.0,
"texture": ExtResource("8_eaogg")
}, {
"duration": 1.0,
"texture": ExtResource("9_nctgk")
}, {
"duration": 1.0,
"texture": null
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7u7p7"]
[sub_resource type="Gradient" id="Gradient_jlp41"]
colors = PackedColorArray(0, 0.647059, 0, 1, 0, 0.266667, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_u3yy8"]
gradient = SubResource("Gradient_jlp41")
fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(1.145, 0)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_otisn"]
texture = SubResource("GradientTexture2D_u3yy8")
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_723du"]
size = Vector2(1600, 1200)
[sub_resource type="GDScript" id="GDScript_0sobq"]
script/source = "extends Sprite2D
"
[sub_resource type="ShaderMaterial" id="ShaderMaterial_o7txs"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dgiai"]
shader = ExtResource("4_uy5o2")
shader_parameter/color_signal = Color(0.690196, 0.776471, 0, 1)
shader_parameter/turn = 0.785
[sub_resource type="Gradient" id="Gradient_ki0n7"]
[sub_resource type="GradientTexture2D" id="GradientTexture2D_0pk2o"]
gradient = SubResource("Gradient_ki0n7")
[node name="Node2D" type="Node2D"]
script = ExtResource("1_v273n")
[node name="Background" type="ColorRect" parent="."]
offset_right = 1941.0
offset_bottom = 988.0
color = Color(0.356863, 0.278431, 0.356863, 1)
metadata/_edit_lock_ = true
[node name="Litera_2_4_6" type="ColorRect" parent="Background"]
visible = false
layout_mode = 0
offset_top = 54.0
offset_right = 1941.0
offset_bottom = 344.0
color = Color(0.586231, 0.481877, 0.585869, 1)
[node name="Litera_3_5_7" type="ColorRect" parent="Background"]
visible = false
layout_mode = 0
offset_top = 352.0
offset_right = 1941.0
offset_bottom = 656.0
color = Color(0.669446, 0.567301, 0.66881, 1)
[node name="Litera_1" type="ColorRect" parent="Background"]
visible = false
layout_mode = 0
offset_top = 647.0
offset_right = 2182.0
offset_bottom = 793.0
color = Color(0.669446, 0.567301, 0.66881, 1)
[node name="select_dev" type="ScrollContainer" parent="."]
offset_left = 24.0
offset_top = 22.0
offset_right = 387.0
offset_bottom = 54.0
metadata/_edit_lock_ = true
[node name="select_dev" type="GridContainer" parent="select_dev"]
layout_mode = 2
script = ExtResource("2_vmbyo")
metadata/_edit_lock_ = true
[node name="ISA" type="Label" parent="."]
offset_left = 1244.0
offset_top = 11.0
offset_right = 1495.0
offset_bottom = 34.0
[node name="read_isa" type="Button" parent="."]
offset_left = 1104.0
offset_top = 7.0
offset_right = 1229.0
offset_bottom = 38.0
text = "Прочитать ISA"
[node name="TabContainer" type="TabContainer" parent="."]
offset_top = 39.0
offset_right = 1941.0
offset_bottom = 917.0
theme = SubResource("Theme_k5ur4")
theme_override_colors/font_unselected_color = Color(0, 0, 0, 0.0392157)
theme_override_colors/font_selected_color = Color(0, 0, 0, 0)
theme_override_styles/tab_focus = SubResource("StyleBoxTexture_rh6pm")
theme_override_styles/tab_disabled = SubResource("StyleBoxTexture_x11tp")
theme_override_styles/tabbar_background = SubResource("StyleBoxTexture_mn8w2")
theme_override_styles/panel = SubResource("StyleBoxTexture_21lc8")
theme_override_styles/tab_selected = SubResource("StyleBoxTexture_k08q3")
theme_override_styles/tab_hovered = SubResource("StyleBoxTexture_dklg6")
theme_override_styles/tab_unselected = SubResource("StyleBoxTexture_17le6")
tab_alignment = 2
current_tab = 1
tab_focus_mode = 0
[node name="ControlPanel" type="Panel" parent="TabContainer"]
visible = false
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_tn8m6")
metadata/_tab_index = 0
[node name="control_button" type="Button" parent="TabContainer/ControlPanel"]
offset_left = 8.0
offset_top = 40.0
offset_right = 102.0
offset_bottom = 68.0
focus_mode = 0
mouse_default_cursor_shape = 2
theme = SubResource("Theme_k5ur4")
theme_override_font_sizes/font_size = 14
theme_override_styles/pressed = SubResource("StyleBoxFlat_ovl8a")
toggle_mode = true
button_pressed = true
text = "КОНТРОЛЬ"
[node name="Controlpanel" type="ColorRect" parent="TabContainer/ControlPanel"]
offset_left = 102.0
offset_top = 40.0
offset_right = 449.0
offset_bottom = 596.0
color = Color(0.390334, 0.227948, 0.288326, 1)
[node name="control_dev" type="ScrollContainer" parent="TabContainer/ControlPanel"]
offset_left = 126.0
offset_top = 50.0
offset_right = 461.0
offset_bottom = 634.0
[node name="control_tbl" type="GridContainer" parent="TabContainer/ControlPanel/control_dev"]
layout_mode = 2
script = ExtResource("2_vmbyo")
metadata/_edit_lock_ = true
[node name="SZI_x" type="AnimatedSprite2D" parent="TabContainer/ControlPanel/control_dev"]
position = Vector2(284, 404)
sprite_frames = SubResource("SpriteFrames_vex4t")
metadata/_edit_lock_ = true
[node name="SZI_x2" type="AnimatedSprite2D" parent="TabContainer/ControlPanel/control_dev"]
position = Vector2(284, 432)
sprite_frames = SubResource("SpriteFrames_vex4t")
metadata/_edit_lock_ = true
[node name="SZI_x3" type="AnimatedSprite2D" parent="TabContainer/ControlPanel/control_dev"]
position = Vector2(284, 460)
sprite_frames = SubResource("SpriteFrames_vex4t")
metadata/_edit_lock_ = true
[node name="SZI_x4" type="AnimatedSprite2D" parent="TabContainer/ControlPanel/control_dev"]
position = Vector2(284, 488)
sprite_frames = SubResource("SpriteFrames_vex4t")
metadata/_edit_lock_ = true
[node name="SZI_x5" type="AnimatedSprite2D" parent="TabContainer/ControlPanel/control_dev"]
position = Vector2(284, 517)
sprite_frames = SubResource("SpriteFrames_vex4t")
metadata/_edit_lock_ = true
[node name="PRD" type="Panel" parent="TabContainer"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_7u7p7")
metadata/_tab_index = 1
[node name="scroll1" type="ScrollContainer" parent="TabContainer/PRD"]
offset_left = 985.0
offset_top = 3.0
offset_right = 1348.0
offset_bottom = 284.0
metadata/_edit_lock_ = true
[node name="table1" type="GridContainer" parent="TabContainer/PRD/scroll1"]
layout_mode = 2
script = ExtResource("2_vmbyo")
metadata/_edit_lock_ = true
[node name="scroll2" type="ScrollContainer" parent="TabContainer/PRD"]
offset_left = 985.0
offset_top = 307.0
offset_right = 1348.0
offset_bottom = 595.0
metadata/_edit_lock_ = true
[node name="table2" type="GridContainer" parent="TabContainer/PRD/scroll2"]
layout_mode = 2
script = ExtResource("2_vmbyo")
metadata/_edit_lock_ = true
[node name="LABEL" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = -7.0
offset_right = 876.0
offset_bottom = 16.0
text = "ЛИТЕРА 2! ПРД-Н!"
[node name="Zapret" type="Button" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 21.0
offset_right = 712.0
offset_bottom = 55.0
focus_mode = 0
mouse_default_cursor_shape = 2
theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn")
toggle_mode = true
text = " Запрет СИ2"
metadata/litera = 48
[node name="LABEL2" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 305.0
offset_right = 876.0
offset_bottom = 328.0
text = "ЛИТЕРА 3! ПРД-Н!"
[node name="Zapret2" type="Button" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 333.0
offset_right = 712.0
offset_bottom = 367.0
focus_mode = 0
mouse_default_cursor_shape = 2
theme_override_styles/pressed = SubResource("StyleBoxTexture_otisn")
toggle_mode = true
text = " Запрет СИ3"
metadata/litera = 49
[node name="Label_luch" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 76.0
offset_right = 876.0
offset_bottom = 99.0
text = "Номер и направление луча"
[node name="LUCH" type="OptionButton" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 108.0
offset_right = 712.0
offset_bottom = 139.0
item_count = 2
popup/item_0/text = "Что-то"
popup/item_1/text = "Что-то"
popup/item_1/id = 1
[node name="Modul" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 378.0
offset_right = 738.0
offset_bottom = 401.0
text = "Модуляция"
[node name="DKM2" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 159.0
offset_right = 736.0
offset_bottom = 182.0
text = "ДКМ ДОУ 2"
[node name="DKM3" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 407.0
offset_right = 736.0
offset_bottom = 430.0
text = "ДКМ ДОУ 3"
[node name="FGOZ2" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 182.0
offset_right = 767.0
offset_bottom = 205.0
text = "ФГОЗ 2"
[node name="FGOZ3" type="Label" parent="TabContainer/PRD"]
offset_left = 594.0
offset_top = 430.0
offset_right = 767.0
offset_bottom = 453.0
text = "ФГОЗ 3"
[node name="PSK" type="Sprite2D" parent="TabContainer/PRD"]
material = ExtResource("3_3syd3")
position = Vector2(1388.25, 5)
scale = Vector2(0.247968, 0.234167)
texture = SubResource("PlaceholderTexture2D_723du")
offset = Vector2(800, 600)
script = SubResource("GDScript_0sobq")
[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK"]
modulate = Color(0, 0, 0, 1)
self_modulate = Color(0, 0, 0, 1)
show_behind_parent = true
material = SubResource("ShaderMaterial_o7txs")
offset_left = 554.954
offset_top = -30.0
offset_right = 1290.95
offset_bottom = 1134.0
texture = ExtResource("5_i3nvb")
expand_mode = 1
metadata/_edit_lock_ = true
[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK"]
material = SubResource("ShaderMaterial_dgiai")
position = Vector2(549.221, 560.705)
scale = Vector2(21.8765, 21.6782)
texture = SubResource("GradientTexture2D_0pk2o")
metadata/_edit_lock_ = true
[node name="PSK2" type="Sprite2D" parent="TabContainer/PRD"]
material = ExtResource("3_3syd3")
position = Vector2(1388, 302)
scale = Vector2(0.247968, 0.234167)
texture = SubResource("PlaceholderTexture2D_723du")
offset = Vector2(800, 600)
script = SubResource("GDScript_0sobq")
[node name="PSK grad" type="TextureRect" parent="TabContainer/PRD/PSK2"]
modulate = Color(0, 0, 0, 1)
self_modulate = Color(0, 0, 0, 1)
show_behind_parent = true
material = SubResource("ShaderMaterial_o7txs")
offset_left = 554.954
offset_top = -30.0
offset_right = 1290.95
offset_bottom = 1134.0
texture = ExtResource("5_i3nvb")
expand_mode = 1
metadata/_edit_lock_ = true
[node name="ray" type="Sprite2D" parent="TabContainer/PRD/PSK2"]
material = SubResource("ShaderMaterial_dgiai")
position = Vector2(549.221, 560.705)
scale = Vector2(21.8765, 21.6782)
texture = SubResource("GradientTexture2D_0pk2o")
metadata/_edit_lock_ = true
[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"]
[connection signal="toggled" from="TabContainer/ControlPanel/control_button" to="." method="_on_control_button"]