Files
uarep-ctl/scenes/работа/работа.tscn

241 lines
7.3 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=14 format=3 uid="uid://b276iygic5itk"]
[ext_resource type="Script" path="res://scenes/работа/работа.gd" id="1_niok4"]
[ext_resource type="PackedScene" uid="uid://nl1vklubr5kr" path="res://scenes/bip/bip.tscn" id="2_br3s6"]
[ext_resource type="PackedScene" uid="uid://dem3fcec25awh" path="res://scenes/grid-side-panel/grid-side-panel.tscn" id="3_s2j0e"]
[ext_resource type="PackedScene" uid="uid://cnkbk53mi7viu" path="res://scenes/grid-buttons-ecm/grid-buttons-ecm.tscn" id="5_2jnbs"]
[ext_resource type="PackedScene" uid="uid://dymo732qc2doa" path="res://scenes/count-all/count-all-pad.tscn" id="6_e3re7"]
[ext_resource type="PackedScene" uid="uid://bwti82byphl68" path="res://scenes/count-danger/count_danger_pad.tscn" id="7_2arls"]
[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat/button-flat.tscn" id="8_k0iv2"]
[ext_resource type="PackedScene" uid="uid://0uqi1ghf7sma" path="res://scenes/button-scale/btn-scale.tscn" id="9_oey3x"]
[ext_resource type="PackedScene" uid="uid://bbq6nklh36yij" path="res://scenes/tilemap/tilemap.tscn" id="10_gtwyg"]
[ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/diagram/diagram.tscn" id="11_b6su4"]
[ext_resource type="Shader" path="res://shaders/tilemap.gdshader" id="11_ekapd"]
[ext_resource type="Script" path="res://scenes/работа/sld_mode.gd" id="12_gqdkl"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4p7y1"]
resource_local_to_scene = true
shader = ExtResource("11_ekapd")
shader_parameter/radius = 0.39
[node name="Работа" type="Panel"]
script = ExtResource("1_niok4")
Bip = ExtResource("2_br3s6")
col_grey = Color(0.34902, 0.643137, 0.772549, 0.168627)
col_red = Color(1, 0.568627, 0.431373, 0.239216)
drag_scale_band = 0.05
drag_scale_width = 0.5
freq_high = 6000.0
freq_low = 400.0
radius_center = Vector2(560, 560)
radius_internal = 200.0
radius_outter = 350.0
strob_max_band = 15.538
strob_max_width = 90.0
strob_min_band = 0.1
strob_min_width = 5.0
metadata/_edit_vertical_guides_ = []
[node name="canvas" parent="." instance=ExtResource("11_b6su4")]
[node name="tilemap" parent="." instance=ExtResource("10_gtwyg")]
material = SubResource("ShaderMaterial_4p7y1")
[node name="grd_side" parent="." instance=ExtResource("3_s2j0e")]
layout_mode = 0
offset_left = 1114.0
offset_top = 7.0
offset_right = 1594.0
offset_bottom = 1170.0
metadata/_edit_lock_ = true
[node name="grd_btns" parent="." instance=ExtResource("5_2jnbs")]
layout_mode = 0
offset_left = 10.0
offset_top = 1116.0
offset_right = 1106.0
offset_bottom = 1170.0
tooltip_text = "Кнопки выбора типа помехи"
mouse_filter = 0
metadata/_edit_lock_ = true
[node name="count_all_pad" parent="." instance=ExtResource("6_e3re7")]
layout_mode = 0
offset_left = 100.0
offset_top = 117.0
offset_right = 133.0
offset_bottom = 140.0
[node name="count_danger_pad" parent="." instance=ExtResource("7_2arls")]
layout_mode = 0
offset_left = 96.0
offset_top = 29.0
offset_right = 188.0
offset_bottom = 92.0
[node name="Label2" type="Label" parent="."]
layout_mode = 0
offset_left = 18.0
offset_right = 146.0
offset_bottom = 23.0
text = "Счётчики целей"
vertical_alignment = 1
[node name="Label3" type="Label" parent="."]
layout_mode = 0
offset_left = 18.0
offset_top = 110.0
offset_right = 74.0
offset_bottom = 146.0
text = "Всего:"
vertical_alignment = 1
[node name="Label4" type="Label" parent="."]
layout_mode = 0
offset_left = 18.0
offset_top = 50.0
offset_right = 83.0
offset_bottom = 72.0
text = "Опасных:"
[node name="btn_view" parent="." instance=ExtResource("8_k0iv2")]
layout_mode = 2
offset_left = 11.0
offset_top = 913.0
offset_right = 111.0
offset_bottom = 953.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Вид"
toggle_mode = true
[node name="btn_activate" parent="." instance=ExtResource("8_k0iv2")]
layout_mode = 2
offset_left = 954.0
offset_top = 1060.0
offset_right = 1106.0
offset_bottom = 1112.0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Подавление"
toggle_mode = true
[node name="btn_zoom" parent="." instance=ExtResource("9_oey3x")]
layout_mode = 0
offset_left = 12.0
offset_top = 986.0
offset_right = 112.0
offset_bottom = 1006.0
metadata/zoom = 4
[node name="btns_select" type="GridContainer" parent="."]
layout_mode = 0
offset_left = 1018.0
offset_top = 38.0
offset_right = 1092.0
offset_bottom = 154.0
[node name="btn_strob" parent="btns_select" instance=ExtResource("8_k0iv2")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой"
text = "Строб"
toggle_mode = true
metadata/state = 0
[node name="btn_threats" parent="btns_select" instance=ExtResource("8_k0iv2")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой"
text = "Цель"
toggle_mode = true
metadata/state = 1
[node name="btn_fs_sector" parent="btns_select" instance=ExtResource("8_k0iv2")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой"
text = "Сектор"
toggle_mode = true
metadata/state = 2
[node name="vslider" type="VSlider" parent="."]
layout_mode = 2
offset_left = 1113.0
offset_top = 975.0
offset_right = 1143.0
offset_bottom = 1055.0
scale = Vector2(-1, 1)
max_value = 3.0
value = 3.0
tick_count = 4
ticks_on_borders = true
script = ExtResource("12_gqdkl")
[node name="label0" type="Label" parent="vslider"]
self_modulate = Color(1, 1, 1, 0.5)
layout_mode = 0
offset_left = 158.0
offset_top = 62.0
offset_right = 283.0
offset_bottom = 82.0
scale = Vector2(-1, 1)
text = "Автомат отключен"
horizontal_alignment = 2
vertical_alignment = 1
[node name="label1" type="Label" parent="vslider"]
self_modulate = Color(1, 1, 1, 0.5)
layout_mode = 0
offset_left = 182.0
offset_top = 40.0
offset_right = 331.0
offset_bottom = 60.0
scale = Vector2(-1, 1)
text = "Автомат выбора цели"
horizontal_alignment = 2
vertical_alignment = 1
[node name="label2" type="Label" parent="vslider"]
self_modulate = Color(1, 1, 1, 0.5)
layout_mode = 0
offset_left = 200.0
offset_top = 19.0
offset_right = 368.0
offset_bottom = 39.0
scale = Vector2(-1, 1)
text = "Автомат выбора помехи"
horizontal_alignment = 2
vertical_alignment = 1
[node name="label3" type="Label" parent="vslider"]
self_modulate = Color(1, 1, 1, 0.5)
layout_mode = 0
offset_left = 191.0
offset_top = -2.0
offset_right = 351.0
offset_bottom = 18.0
scale = Vector2(-1, 1)
text = "Автомат помехи и цели"
horizontal_alignment = 2
vertical_alignment = 1
[node name="label9" type="Label" parent="."]
self_modulate = Color(1, 1, 1, 0.62)
layout_mode = 0
offset_left = 1002.0
offset_top = 6.0
offset_right = 1106.0
offset_bottom = 31.0
text = "Режим выбора"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="drag_begin" from="." to="." method="_on_drag_begin"]
[connection signal="drag_continue" from="." to="." method="_on_drag_continue"]
[connection signal="pressed" from="btn_zoom" to="." method="_on_btn_scale_pressed"]
[connection signal="value_changed" from="vslider" to="vslider" method="_on_value_changed"]