412 lines
12 KiB
Plaintext
412 lines
12 KiB
Plaintext
[gd_scene load_steps=26 format=3 uid="uid://cvor2jm4xk3ha"]
|
||
|
||
[ext_resource type="Script" path="res://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="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")
|
||
|
||
[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="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")
|
||
|
||
[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")
|
||
|
||
[node name="Node2D" type="Node2D"]
|
||
script = ExtResource("1_v273n")
|
||
|
||
[node name="Background" type="ColorRect" parent="."]
|
||
offset_right = 2226.0
|
||
offset_bottom = 1153.0
|
||
color = Color(0.356863, 0.278431, 0.356863, 1)
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="Litera_2_4_6" type="ColorRect" parent="Background"]
|
||
offset_top = 54.0
|
||
offset_right = 2182.0
|
||
offset_bottom = 344.0
|
||
color = Color(0.586231, 0.481877, 0.585869, 1)
|
||
|
||
[node name="Litera_3_5_7" type="ColorRect" parent="Background"]
|
||
offset_top = 352.0
|
||
offset_right = 2182.0
|
||
offset_bottom = 642.0
|
||
color = Color(0.669446, 0.567301, 0.66881, 1)
|
||
|
||
[node name="Litera_1" type="ColorRect" parent="Background"]
|
||
visible = false
|
||
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="control_button" type="Button" parent="."]
|
||
offset_left = 24.0
|
||
offset_top = 53.0
|
||
offset_right = 118.0
|
||
offset_bottom = 81.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="."]
|
||
offset_left = 118.0
|
||
offset_top = 53.0
|
||
offset_right = 465.0
|
||
offset_bottom = 609.0
|
||
color = Color(0.390334, 0.227948, 0.288326, 1)
|
||
|
||
[node name="control_dev" type="ScrollContainer" parent="."]
|
||
offset_left = 142.0
|
||
offset_top = 63.0
|
||
offset_right = 477.0
|
||
offset_bottom = 647.0
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="control_tbl" type="GridContainer" parent="control_dev"]
|
||
layout_mode = 2
|
||
script = ExtResource("2_vmbyo")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="SZI_x" type="AnimatedSprite2D" parent="control_dev"]
|
||
position = Vector2(284, 404)
|
||
sprite_frames = SubResource("SpriteFrames_vex4t")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="SZI_x2" type="AnimatedSprite2D" parent="control_dev"]
|
||
position = Vector2(284, 432)
|
||
sprite_frames = SubResource("SpriteFrames_vex4t")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="SZI_x3" type="AnimatedSprite2D" parent="control_dev"]
|
||
position = Vector2(284, 460)
|
||
sprite_frames = SubResource("SpriteFrames_vex4t")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="SZI_x4" type="AnimatedSprite2D" parent="control_dev"]
|
||
position = Vector2(284, 488)
|
||
sprite_frames = SubResource("SpriteFrames_vex4t")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="SZI_x5" type="AnimatedSprite2D" parent="control_dev"]
|
||
position = Vector2(284, 517)
|
||
sprite_frames = SubResource("SpriteFrames_vex4t")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="scroll1" type="ScrollContainer" parent="."]
|
||
offset_left = 985.0
|
||
offset_top = 63.0
|
||
offset_right = 1348.0
|
||
offset_bottom = 344.0
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="table1" type="GridContainer" parent="scroll1"]
|
||
layout_mode = 2
|
||
script = ExtResource("2_vmbyo")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="scroll2" type="ScrollContainer" parent="."]
|
||
offset_left = 985.0
|
||
offset_top = 367.0
|
||
offset_right = 1348.0
|
||
offset_bottom = 655.0
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="table2" type="GridContainer" parent="scroll2"]
|
||
layout_mode = 2
|
||
script = ExtResource("2_vmbyo")
|
||
metadata/_edit_lock_ = true
|
||
|
||
[node name="PSK" type="Sprite2D" parent="."]
|
||
material = ExtResource("3_3syd3")
|
||
position = Vector2(1388.25, 65)
|
||
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="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="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="."]
|
||
material = ExtResource("3_3syd3")
|
||
position = Vector2(1388, 362)
|
||
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="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="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
|
||
|
||
[node name="LABEL" type="Label" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 53.0
|
||
offset_right = 876.0
|
||
offset_bottom = 76.0
|
||
text = "ЛИТЕРА 2! ПРД-Н!"
|
||
|
||
[node name="Zapret" type="Button" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 81.0
|
||
offset_right = 712.0
|
||
offset_bottom = 115.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="."]
|
||
offset_left = 594.0
|
||
offset_top = 365.0
|
||
offset_right = 876.0
|
||
offset_bottom = 388.0
|
||
text = "ЛИТЕРА 3! ПРД-Н!"
|
||
|
||
[node name="Zapret2" type="Button" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 393.0
|
||
offset_right = 712.0
|
||
offset_bottom = 427.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="."]
|
||
offset_left = 594.0
|
||
offset_top = 136.0
|
||
offset_right = 876.0
|
||
offset_bottom = 159.0
|
||
text = "Номер и направление луча"
|
||
|
||
[node name="LUCH" type="OptionButton" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 168.0
|
||
offset_right = 712.0
|
||
offset_bottom = 199.0
|
||
item_count = 2
|
||
popup/item_0/text = "Что-то"
|
||
popup/item_1/text = "Что-то"
|
||
popup/item_1/id = 1
|
||
|
||
[node name="ISA" type="Label" parent="."]
|
||
offset_left = 1492.0
|
||
offset_top = 11.0
|
||
offset_right = 1743.0
|
||
offset_bottom = 34.0
|
||
|
||
[node name="read_isa" type="Button" parent="."]
|
||
offset_left = 1360.0
|
||
offset_top = 7.0
|
||
offset_right = 1483.0
|
||
offset_bottom = 38.0
|
||
text = "Прочитать ISA"
|
||
|
||
[node name="Modul" type="Label" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 438.0
|
||
offset_right = 738.0
|
||
offset_bottom = 461.0
|
||
text = "Модуляция"
|
||
|
||
[node name="DKM2" type="Label" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 219.0
|
||
offset_right = 736.0
|
||
offset_bottom = 242.0
|
||
text = "ДКМ ДОУ 2"
|
||
|
||
[node name="DKM3" type="Label" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 467.0
|
||
offset_right = 736.0
|
||
offset_bottom = 490.0
|
||
text = "ДКМ ДОУ 3"
|
||
|
||
[node name="FGOZ2" type="Label" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 242.0
|
||
offset_right = 767.0
|
||
offset_bottom = 265.0
|
||
text = "ФГОЗ 2"
|
||
|
||
[node name="FGOZ3" type="Label" parent="."]
|
||
offset_left = 594.0
|
||
offset_top = 490.0
|
||
offset_right = 767.0
|
||
offset_bottom = 513.0
|
||
text = "ФГОЗ 3"
|
||
|
||
[connection signal="toggled" from="control_button" to="." method="_on_control_button"]
|
||
[connection signal="pressed" from="read_isa" to="." method="_on_read_isa_pressed"]
|