diff --git a/Control.tscn b/Control.tscn deleted file mode 100644 index 4de0f179..00000000 --- a/Control.tscn +++ /dev/null @@ -1,241 +0,0 @@ -[gd_scene load_steps=12 format=3 uid="uid://chdg6tfntuuxl"] - -[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/кнопка-помеха.tscn" id="1"] -[ext_resource type="Script" path="res://работа.gd" id="1_fdcfc"] -[ext_resource type="Texture2D" uid="uid://bq67yytxgoopq" path="res://data/мп550-работа-эскиз.png" id="2"] -[ext_resource type="PackedScene" uid="uid://bq7haw1ypiv48" path="res://scenes/рамка.tscn" id="3"] -[ext_resource type="Script" path="res://canvas.gd" id="4_qfshq"] -[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://shaders/shader_edu.tres" id="5"] -[ext_resource type="Texture2D" uid="uid://crenptexlkub0" path="res://data/решётка-антенная-0.png" id="5_bswj7"] -[ext_resource type="Texture2D" uid="uid://dmty3bpego2pi" path="res://data/направление-0.png" id="6_y7bht"] -[ext_resource type="Script" path="res://scenes/table.gd" id="9_2ld6k"] - -[sub_resource type="Animation" id="Animation_hfqb8"] -resource_name = "ant_fwd" -length = 0.77 -loop_mode = 1 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("ant_fwd:rotation") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0, 0.77), -"transitions": PackedFloat32Array(1, 1), -"update": 0, -"values": [4.03171, 5.37561] -} - -[sub_resource type="AnimationLibrary" id="AnimationLibrary_4awq3"] -_data = { -"ant_fwd": SubResource("Animation_hfqb8") -} - -[node name="TabContainer" type="TabContainer"] -offset_top = 5.0 -offset_right = 1595.0 -offset_bottom = 1200.0 - -[node name="Работа" type="Panel" parent="."] -layout_mode = 2 -script = ExtResource("1_fdcfc") - -[node name="canvas" type="Sprite2D" parent="Работа"] -material = ExtResource("5") -position = Vector2(800, 592) -scale = Vector2(0.9975, 0.958333) -texture = ExtResource("2") -script = ExtResource("4_qfshq") -metadata/_edit_lock_ = true - -[node name="ant_grid" type="Sprite2D" parent="Работа/canvas"] -visible = false -position = Vector2(-209.524, 12.5219) -texture = ExtResource("5_bswj7") -metadata/_edit_lock_ = true - -[node name="ant_fwd" type="Sprite2D" parent="Работа/canvas/ant_grid"] -modulate = Color(1, 1, 1, 0.294118) -position = Vector2(0.012268, -0.00860885) -rotation = 4.08407 -texture = ExtResource("6_y7bht") -offset = Vector2(273.107, -0.597534) - -[node name="ant_bkwd" type="Sprite2D" parent="Работа/canvas/ant_grid"] -modulate = Color(1, 1, 1, 0.294118) -position = Vector2(0.012268, -0.00860885) -rotation = -4.38776 -texture = ExtResource("6_y7bht") -offset = Vector2(273.107, -0.597534) - -[node name="ant_left" type="Sprite2D" parent="Работа/canvas/ant_grid"] -modulate = Color(1, 1, 1, 0.294118) -position = Vector2(0.012268, -0.00860885) -rotation = -2.84314 -texture = ExtResource("6_y7bht") -offset = Vector2(273.107, -0.597534) - -[node name="ant_right" type="Sprite2D" parent="Работа/canvas/ant_grid"] -modulate = Color(1, 1, 1, 0.294118) -position = Vector2(0.012268, -0.00860885) -rotation = 0.10472 -texture = ExtResource("6_y7bht") -offset = Vector2(273.107, -0.597534) - -[node name="ant_dir" type="AnimationPlayer" parent="Работа/canvas/ant_grid"] -libraries = { -"": SubResource("AnimationLibrary_4awq3") -} - -[node name="ramka_pomeh" parent="Работа" instance=ExtResource("3")] -layout_mode = 0 -offset_left = 1180.0 -offset_top = 738.0 -offset_right = 1589.0 -offset_bottom = 1158.0 -text = "Режим помехи" - -[node name="btn_p1" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 10.0 -offset_top = 30.0 -offset_right = 100.0 -offset_bottom = 110.0 -text = "Откл" - -[node name="btn_p4" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 110.0 -offset_top = 320.0 -offset_right = 200.0 -offset_bottom = 410.0 -text = "13" - -[node name="btn_p5" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 10.0 -offset_top = 320.0 -offset_right = 100.0 -offset_bottom = 410.0 -text = "12" - -[node name="btn_p6" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 210.0 -offset_top = 220.0 -offset_right = 300.0 -offset_bottom = 310.0 -text = "10" - -[node name="btn_p7" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 310.0 -offset_top = 220.0 -offset_right = 399.0 -offset_bottom = 310.0 -text = "11" - -[node name="btn_p8" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 110.0 -offset_top = 220.0 -offset_right = 200.0 -offset_bottom = 310.0 -text = "9" - -[node name="btn_p9" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 10.0 -offset_top = 220.0 -offset_right = 100.0 -offset_bottom = 310.0 -text = "8" - -[node name="btn_p10" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 310.0 -offset_top = 120.0 -offset_right = 399.0 -offset_bottom = 210.0 -text = "7" - -[node name="btn_p11" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 310.0 -offset_top = 30.0 -offset_right = 399.0 -offset_bottom = 110.0 -text = "3" - -[node name="btn_p12" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 10.0 -offset_top = 120.0 -offset_right = 100.0 -offset_bottom = 210.0 -text = "4" - -[node name="btn_p13" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 110.0 -offset_top = 120.0 -offset_right = 200.0 -offset_bottom = 210.0 -text = "5" - -[node name="btn_p14" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 210.0 -offset_top = 120.0 -offset_right = 300.0 -offset_bottom = 210.0 -text = "6" - -[node name="btn_p15" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 210.0 -offset_top = 30.0 -offset_right = 300.0 -offset_bottom = 110.0 -text = "2" - -[node name="btn_p16" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 110.0 -offset_top = 30.0 -offset_right = 200.0 -offset_bottom = 110.0 -text = "1" - -[node name="btn_auto" parent="Работа/ramka_pomeh" instance=ExtResource("1")] -layout_mode = 0 -offset_left = 210.0 -offset_top = 320.0 -offset_right = 399.0 -offset_bottom = 410.0 -text = "Автоматически" - -[node name="ramka_celi" parent="Работа" instance=ExtResource("3")] -layout_mode = 0 -offset_left = 1180.0 -offset_top = 308.0 -offset_right = 1589.0 -offset_bottom = 728.0 -text = "Параметры цели" - -[node name="tbl_celi" type="GridContainer" parent="Работа/ramka_celi"] -layout_mode = 1 -anchors_preset = -1 -anchor_top = 0.052 -anchor_right = 0.99 -anchor_bottom = 1.0 -offset_top = -1.84 -offset_right = 4.08997 -grow_horizontal = 2 -grow_vertical = 2 -script = ExtResource("9_2ld6k") - -[node name="Контроль" type="Panel" parent="."] -visible = false -layout_mode = 2 diff --git a/data/кораблик-22800.png b/data/кораблик-22800.png new file mode 100644 index 00000000..887add7a Binary files /dev/null and b/data/кораблик-22800.png differ diff --git a/data/кораблик-22800.png.import b/data/кораблик-22800.png.import new file mode 100644 index 00000000..11afc357 --- /dev/null +++ b/data/кораблик-22800.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b8ern67qnb5ky" +path="res://.godot/imported/кораблик-22800.png-c26a4147584330e7056042bc3924fb5c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/кораблик-22800.png" +dest_files=["res://.godot/imported/кораблик-22800.png-c26a4147584330e7056042bc3924fb5c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/отметка-бпла.png b/data/отметка-бпла.png new file mode 100644 index 00000000..cbcdc386 Binary files /dev/null and b/data/отметка-бпла.png differ diff --git a/data/отметка-бпла.png.import b/data/отметка-бпла.png.import new file mode 100644 index 00000000..ed5095fb --- /dev/null +++ b/data/отметка-бпла.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://6qqcqds5majk" +path="res://.godot/imported/отметка-бпла.png-f427e9fbab3f5a420858348511c37ede.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/отметка-бпла.png" +dest_files=["res://.godot/imported/отметка-бпла.png-f427e9fbab3f5a420858348511c37ede.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/отметка-вертолёт.png b/data/отметка-вертолёт.png new file mode 100644 index 00000000..5dd0cdc6 Binary files /dev/null and b/data/отметка-вертолёт.png differ diff --git a/data/отметка-вертолёт.png.import b/data/отметка-вертолёт.png.import new file mode 100644 index 00000000..4dcd8778 --- /dev/null +++ b/data/отметка-вертолёт.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5wb4r4ddy2ue" +path="res://.godot/imported/отметка-вертолёт.png-70c0f7134fea9f60a7f149d6211a93ea.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/отметка-вертолёт.png" +dest_files=["res://.godot/imported/отметка-вертолёт.png-70c0f7134fea9f60a7f149d6211a93ea.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/отметка-корабль.png b/data/отметка-корабль.png new file mode 100644 index 00000000..07d1b2da Binary files /dev/null and b/data/отметка-корабль.png differ diff --git a/data/отметка-корабль.png.import b/data/отметка-корабль.png.import new file mode 100644 index 00000000..cf2b6764 --- /dev/null +++ b/data/отметка-корабль.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bibsq2uejlm0s" +path="res://.godot/imported/отметка-корабль.png-788ae1d130d77af9647185f4b20df803.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/отметка-корабль.png" +dest_files=["res://.godot/imported/отметка-корабль.png-788ae1d130d77af9647185f4b20df803.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/отметка-неопред.png b/data/отметка-неопред.png new file mode 100644 index 00000000..433a8ccb Binary files /dev/null and b/data/отметка-неопред.png differ diff --git a/data/отметка-неопред.png.import b/data/отметка-неопред.png.import new file mode 100644 index 00000000..c200dfd3 --- /dev/null +++ b/data/отметка-неопред.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b3woliae871je" +path="res://.godot/imported/отметка-неопред.png-216ae0df3e301757f00f63073ee00230.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/отметка-неопред.png" +dest_files=["res://.godot/imported/отметка-неопред.png-216ae0df3e301757f00f63073ee00230.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/отметка-ракета.png b/data/отметка-ракета.png new file mode 100644 index 00000000..1bb2a6bb Binary files /dev/null and b/data/отметка-ракета.png differ diff --git a/data/отметка-ракета.png.import b/data/отметка-ракета.png.import new file mode 100644 index 00000000..ffb8f596 --- /dev/null +++ b/data/отметка-ракета.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://biy3dmtuefrqe" +path="res://.godot/imported/отметка-ракета.png-799c981a194eafd7de9974d81716b4e0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/отметка-ракета.png" +dest_files=["res://.godot/imported/отметка-ракета.png-799c981a194eafd7de9974d81716b4e0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/отметка-рто.png b/data/отметка-рто.png new file mode 100644 index 00000000..199b0fa9 Binary files /dev/null and b/data/отметка-рто.png differ diff --git a/data/отметка-рто.png.import b/data/отметка-рто.png.import new file mode 100644 index 00000000..2a2d0e05 --- /dev/null +++ b/data/отметка-рто.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b72pm17loed3t" +path="res://.godot/imported/отметка-рто.png-75f847d52b9baa2669fdab4ffaea153f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/отметка-рто.png" +dest_files=["res://.godot/imported/отметка-рто.png-75f847d52b9baa2669fdab4ffaea153f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/отметка-самолёт.png b/data/отметка-самолёт.png new file mode 100644 index 00000000..0358f991 Binary files /dev/null and b/data/отметка-самолёт.png differ diff --git a/data/отметка-самолёт.png.import b/data/отметка-самолёт.png.import new file mode 100644 index 00000000..2fd5cb6d --- /dev/null +++ b/data/отметка-самолёт.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://83m8t7nj4a60" +path="res://.godot/imported/отметка-самолёт.png-bb46afb23fe946fe2230cd3d30c66dca.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/отметка-самолёт.png" +dest_files=["res://.godot/imported/отметка-самолёт.png-bb46afb23fe946fe2230cd3d30c66dca.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/прицел-сопровождение.png b/data/прицел-сопровождение.png new file mode 100644 index 00000000..7380b0ff Binary files /dev/null and b/data/прицел-сопровождение.png differ diff --git a/data/прицел-сопровождение.png.import b/data/прицел-сопровождение.png.import new file mode 100644 index 00000000..13fd45a5 --- /dev/null +++ b/data/прицел-сопровождение.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ccgavrtpkd56i" +path="res://.godot/imported/прицел-сопровождение.png-c9d19addfccd8f78fb08a176ca62316e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/прицел-сопровождение.png" +dest_files=["res://.godot/imported/прицел-сопровождение.png-c9d19addfccd8f78fb08a176ca62316e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/прицел-табличка.png b/data/прицел-табличка.png new file mode 100644 index 00000000..ecee16ef Binary files /dev/null and b/data/прицел-табличка.png differ diff --git a/data/прицел-табличка.png.import b/data/прицел-табличка.png.import new file mode 100644 index 00000000..e637fdc3 --- /dev/null +++ b/data/прицел-табличка.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cqu18m05sdl5w" +path="res://.godot/imported/прицел-табличка.png-45ba36412555fb1cbc42d6445071f6cd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/прицел-табличка.png" +dest_files=["res://.godot/imported/прицел-табличка.png-45ba36412555fb1cbc42d6445071f6cd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/scenes/button-flat.tscn b/scenes/button-flat.tscn new file mode 100644 index 00000000..1b01bbb4 --- /dev/null +++ b/scenes/button-flat.tscn @@ -0,0 +1,49 @@ +[gd_scene load_steps=9 format=3 uid="uid://da7w3vkhadfwe"] + +[ext_resource type="Texture2D" uid="uid://ct0ajcwno03h7" path="res://data/кнопка-квадрат-0.png" id="1"] +[ext_resource type="Script" path="res://scenes/nine-patch-button.gd" id="2"] + +[sub_resource type="StyleBoxEmpty" id="1"] + +[sub_resource type="StyleBoxEmpty" id="6"] + +[sub_resource type="StyleBoxEmpty" id="2"] + +[sub_resource type="StyleBoxEmpty" id="3"] + +[sub_resource type="StyleBoxEmpty" id="5"] + +[sub_resource type="StyleBoxEmpty" id="4"] + +[node name="container" type="PanelContainer"] +offset_right = 30.0 +offset_bottom = 30.0 +theme_override_styles/panel = SubResource("1") +script = ExtResource("2") +toggle_mode = true + +[node name="state" type="NinePatchRect" parent="."] +show_behind_parent = true +layout_mode = 2 +texture = ExtResource("1") +patch_margin_left = 10 +patch_margin_top = 10 +patch_margin_right = 10 +patch_margin_bottom = 10 +axis_stretch_horizontal = 1 +axis_stretch_vertical = 1 + +[node name="button" type="Button" parent="."] +layout_mode = 2 +theme_override_styles/normal = SubResource("6") +theme_override_styles/hover = SubResource("2") +theme_override_styles/pressed = SubResource("3") +theme_override_styles/disabled = SubResource("5") +theme_override_styles/focus = SubResource("4") +toggle_mode = true +clip_text = true + +[node name="label" type="Label" parent="."] +layout_mode = 2 + +[connection signal="toggled" from="button" to="." method="_on_button_toggled"] diff --git a/scenes/frame.tscn b/scenes/frame.tscn new file mode 100644 index 00000000..5f8cf3c5 --- /dev/null +++ b/scenes/frame.tscn @@ -0,0 +1,26 @@ +[gd_scene load_steps=3 format=3 uid="uid://bq7haw1ypiv48"] + +[ext_resource type="Script" path="res://scenes/рамка.gd" id="1"] +[ext_resource type="Texture2D" uid="uid://cs6i1xwx0pmdk" path="res://data/рамка-панели.png" id="2"] + +[node name="ramka" type="NinePatchRect"] +offset_right = 150.0 +offset_bottom = 100.0 +texture = ExtResource("2") +patch_margin_left = 15 +patch_margin_top = 30 +patch_margin_right = 15 +patch_margin_bottom = 10 +script = ExtResource("1") + +[node name="header" type="Label" parent="."] +clip_contents = true +layout_mode = 1 +anchors_preset = 10 +anchor_right = 1.0 +offset_bottom = 22.0 +grow_horizontal = 2 +theme_override_colors/font_color = Color(0, 0, 0, 1) +text = "caption text" +horizontal_alignment = 1 +vertical_alignment = 1 diff --git a/scenes/header.tscn b/scenes/header.tscn new file mode 100644 index 00000000..0762438c --- /dev/null +++ b/scenes/header.tscn @@ -0,0 +1,8 @@ +[gd_scene format=2] + +[node name="Label" type="Label"] +margin_right = 122.0 +margin_bottom = 34.0 +custom_colors/font_color = Color( 1, 0.596078, 0.4, 1 ) +valign = 1 +clip_text = true diff --git a/scenes/pribor_afsp_l.tscn b/scenes/pribor_afsp_l.tscn new file mode 100644 index 00000000..3b6850a2 --- /dev/null +++ b/scenes/pribor_afsp_l.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора АФСП Левый" diff --git a/scenes/pribor_afsp_r.tscn b/scenes/pribor_afsp_r.tscn new file mode 100644 index 00000000..b3559eae --- /dev/null +++ b/scenes/pribor_afsp_r.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора АФСП Правый" diff --git a/scenes/pribor_afsp_sch3.tscn b/scenes/pribor_afsp_sch3.tscn new file mode 100644 index 00000000..4a16ab1d --- /dev/null +++ b/scenes/pribor_afsp_sch3.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора Щ3" diff --git a/scenes/pribor_prd_k_1.tscn b/scenes/pribor_prd_k_1.tscn new file mode 100644 index 00000000..7c8ec537 --- /dev/null +++ b/scenes/pribor_prd_k_1.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-К 1" diff --git a/scenes/pribor_prd_k_2.tscn b/scenes/pribor_prd_k_2.tscn new file mode 100644 index 00000000..825a9502 --- /dev/null +++ b/scenes/pribor_prd_k_2.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-К 2" diff --git a/scenes/pribor_prd_k_3.tscn b/scenes/pribor_prd_k_3.tscn new file mode 100644 index 00000000..69566e11 --- /dev/null +++ b/scenes/pribor_prd_k_3.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-К 3" diff --git a/scenes/pribor_prd_k_4.tscn b/scenes/pribor_prd_k_4.tscn new file mode 100644 index 00000000..c9e3c4cc --- /dev/null +++ b/scenes/pribor_prd_k_4.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-К 4" diff --git a/scenes/pribor_prd_n_1.tscn b/scenes/pribor_prd_n_1.tscn new file mode 100644 index 00000000..cc681670 --- /dev/null +++ b/scenes/pribor_prd_n_1.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-Н 1" diff --git a/scenes/pribor_prd_n_2.tscn b/scenes/pribor_prd_n_2.tscn new file mode 100644 index 00000000..4f8efdc3 --- /dev/null +++ b/scenes/pribor_prd_n_2.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-Н 2" diff --git a/scenes/pribor_prd_n_3.tscn b/scenes/pribor_prd_n_3.tscn new file mode 100644 index 00000000..157f5c9d --- /dev/null +++ b/scenes/pribor_prd_n_3.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-Н 3" diff --git a/scenes/pribor_prd_n_4.tscn b/scenes/pribor_prd_n_4.tscn new file mode 100644 index 00000000..3896f0a8 --- /dev/null +++ b/scenes/pribor_prd_n_4.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-Н 4" diff --git a/scenes/pribor_prd_v_1.tscn b/scenes/pribor_prd_v_1.tscn new file mode 100644 index 00000000..6f6c53bf --- /dev/null +++ b/scenes/pribor_prd_v_1.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-В 1" diff --git a/scenes/pribor_prd_v_2.tscn b/scenes/pribor_prd_v_2.tscn new file mode 100644 index 00000000..50ec6b98 --- /dev/null +++ b/scenes/pribor_prd_v_2.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-В 2" diff --git a/scenes/pribor_prd_v_3.tscn b/scenes/pribor_prd_v_3.tscn new file mode 100644 index 00000000..54cf5a80 --- /dev/null +++ b/scenes/pribor_prd_v_3.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-В 3" diff --git a/scenes/pribor_prd_v_4.tscn b/scenes/pribor_prd_v_4.tscn new file mode 100644 index 00000000..6f6c53bf --- /dev/null +++ b/scenes/pribor_prd_v_4.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора ПРД-В 1" diff --git a/scenes/pribor_rtr.tscn b/scenes/pribor_rtr.tscn new file mode 100644 index 00000000..368aea35 --- /dev/null +++ b/scenes/pribor_rtr.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора РТР" diff --git a/scenes/pribor_sch3.tscn b/scenes/pribor_sch3.tscn new file mode 100644 index 00000000..4a16ab1d --- /dev/null +++ b/scenes/pribor_sch3.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора Щ3" diff --git a/scenes/pribor_spt_l.tscn b/scenes/pribor_spt_l.tscn new file mode 100644 index 00000000..0c9066f8 --- /dev/null +++ b/scenes/pribor_spt_l.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора СПТ Левый" diff --git a/scenes/pribor_spt_r.tscn b/scenes/pribor_spt_r.tscn new file mode 100644 index 00000000..62c03371 --- /dev/null +++ b/scenes/pribor_spt_r.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора СПТ Правый" diff --git a/scenes/pribor_uf.tscn b/scenes/pribor_uf.tscn new file mode 100644 index 00000000..a00ecf88 --- /dev/null +++ b/scenes/pribor_uf.tscn @@ -0,0 +1,10 @@ +[gd_scene format=2] + +[node name="pribor_UF" type="Node2D"] + +[node name="test_label" type="Label" parent="."] +margin_left = 12.0 +margin_top = 8.0 +margin_right = 154.0 +margin_bottom = 22.0 +text = "Здесь будет схема прибора УФ" diff --git a/scenes/контроль.gd b/scenes/контроль.gd new file mode 100644 index 00000000..776bcb1c --- /dev/null +++ b/scenes/контроль.gd @@ -0,0 +1,42 @@ +extends Panel + +const PRIBORS_RES = \ + [['pribor_uf', 'res://scenes/pribor_uf.tscn'], + ['pribor_rtr', 'res://scenes/pribor_rtr.tscn'], + ['pribor_afsp_l', 'res://scenes/pribor_afsp_l.tscn'], + ['pribor_afsp_r', 'res://scenes/pribor_afsp_r.tscn'], + ['pribor_sch3', 'res://scenes/pribor_sch3.tscn'], + ['pribor_spt_l', 'res://scenes/pribor_spt_l.tscn'], + ['pribor_spt_r', 'res://scenes/pribor_spt_r.tscn'], + ['pribor_prd_v_1', 'res://scenes/pribor_prd_v_1.tscn'], + ['pribor_prd_n_1', 'res://scenes/pribor_prd_n_1.tscn'], + ['pribor_prd_k_1', 'res://scenes/pribor_prd_k_1.tscn'], + ['pribor_prd_v_2', 'res://scenes/pribor_prd_v_2.tscn'], + ['pribor_prd_n_2', 'res://scenes/pribor_prd_n_2.tscn'], + ['pribor_prd_k_2', 'res://scenes/pribor_prd_k_2.tscn'], + ['pribor_prd_v_3', 'res://scenes/pribor_prd_v_3.tscn'], + ['pribor_prd_n_3', 'res://scenes/pribor_prd_n_3.tscn'], + ['pribor_prd_k_3', 'res://scenes/pribor_prd_k_3.tscn'], + ['pribor_prd_v_4', 'res://scenes/pribor_prd_v_4.tscn'], + ['pribor_prd_n_4', 'res://scenes/pribor_prd_n_4.tscn'], + ['pribor_prd_k_4', 'res://scenes/pribor_prd_k_4.tscn']] + + +func _ready(): + for item in PRIBORS_RES: + var pribor_node = get_node(item[0]) + var pribor_sch_path = item[1] + pribor_node.connect('button_up', Callable(self, 'on_pribor_press').bind(pribor_sch_path)) + + +func on_pribor_press(pribor_sch_path): + clear_obj($pribor_sch) + var pribor_sch = load(pribor_sch_path).instantiate() + $pribor_sch.add_child(pribor_sch) + + +func clear_obj(obj: Object): + var items = obj.get_children() + for item in items: + obj.remove_child(item) + item.free() diff --git a/scenes/контроль.tscn b/scenes/контроль.tscn new file mode 100644 index 00000000..8b63914b --- /dev/null +++ b/scenes/контроль.tscn @@ -0,0 +1,237 @@ +[gd_scene load_steps=7 format=3 uid="uid://lwmw4egynmd1"] + +[ext_resource type="Script" path="res://scenes/контроль.gd" id="1_tse8d"] +[ext_resource type="Texture2D" uid="uid://bar8k5qef7kch" path="res://data/УФ.png" id="2"] +[ext_resource type="Texture2D" uid="uid://dkqlvd750pplc" path="res://data/СПТ.png" id="3"] +[ext_resource type="Texture2D" uid="uid://d2jxmtd6n5jd1" path="res://data/Щ3.png" id="4"] +[ext_resource type="Texture2D" uid="uid://bos68thpqqvn" path="res://data/ПРД.png" id="5"] +[ext_resource type="Texture2D" uid="uid://b4isaggma6q3" path="res://data/Грани22.png" id="6"] + +[node name="Контроль" type="Panel"] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_tse8d") +metadata/_edit_lock_ = true + +[node name="pribor_uf" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1110.0 +offset_top = 477.0 +offset_right = 1191.0 +offset_bottom = 657.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("2") +stretch_mode = 4 + +[node name="pribor_rtr" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1105.0 +offset_top = 205.0 +offset_right = 1198.0 +offset_bottom = 361.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("3") +stretch_mode = 4 + +[node name="pribor_afsp_l" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 910.0 +offset_top = 220.0 +offset_right = 1743.0 +offset_bottom = 860.0 +scale = Vector2(0.2, 0.2) +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("6") +stretch_mode = 4 + +[node name="pribor_afsp_r" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1240.0 +offset_top = 225.0 +offset_right = 2073.0 +offset_bottom = 865.0 +scale = Vector2(0.2, 0.2) +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("6") +stretch_mode = 4 + +[node name="pribor_sch3" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1115.0 +offset_top = 765.0 +offset_right = 1208.0 +offset_bottom = 951.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("4") +stretch_mode = 4 + +[node name="pribor_spt_l" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 960.0 +offset_top = 795.0 +offset_right = 1053.0 +offset_bottom = 951.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("3") +stretch_mode = 4 + +[node name="pribor_spt_r" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1260.0 +offset_top = 795.0 +offset_right = 1353.0 +offset_bottom = 951.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("3") +stretch_mode = 4 + +[node name="pribor_prd_v_2" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 795.0 +offset_top = 261.0 +offset_right = 872.0 +offset_bottom = 377.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 + +[node name="pribor_prd_n_2" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 750.0 +offset_top = 437.0 +offset_right = 827.0 +offset_bottom = 553.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 + +[node name="pribor_prd_k_2" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 875.0 +offset_top = 439.0 +offset_right = 952.0 +offset_bottom = 555.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 + +[node name="pribor_prd_v_3" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1417.0 +offset_top = 780.0 +offset_right = 1494.0 +offset_bottom = 896.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 +flip_h = true + +[node name="pribor_prd_n_3" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1340.0 +offset_top = 605.0 +offset_right = 1417.0 +offset_bottom = 721.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 +flip_h = true + +[node name="pribor_prd_k_3" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1460.0 +offset_top = 605.0 +offset_right = 1537.0 +offset_bottom = 721.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 +flip_h = true + +[node name="pribor_prd_v_1" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1445.0 +offset_top = 275.0 +offset_right = 1522.0 +offset_bottom = 391.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 +flip_h = true + +[node name="pribor_prd_n_1" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1335.0 +offset_top = 437.0 +offset_right = 1412.0 +offset_bottom = 553.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 +flip_h = true + +[node name="pribor_prd_k_1" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 1460.0 +offset_top = 446.0 +offset_right = 1537.0 +offset_bottom = 562.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 +flip_h = true + +[node name="pribor_prd_v_4" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 805.0 +offset_top = 780.0 +offset_right = 882.0 +offset_bottom = 896.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 + +[node name="pribor_prd_n_4" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 750.0 +offset_top = 607.0 +offset_right = 827.0 +offset_bottom = 723.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 + +[node name="pribor_prd_k_4" type="TextureButton" parent="."] +layout_mode = 0 +offset_left = 885.0 +offset_top = 607.0 +offset_right = 962.0 +offset_bottom = 723.0 +size_flags_horizontal = 15 +size_flags_vertical = 15 +texture_normal = ExtResource("5") +stretch_mode = 4 + +[node name="pribor_sch" type="Panel" parent="."] +layout_mode = 0 diff --git a/scenes/работа.gd b/scenes/работа.gd new file mode 100644 index 00000000..f7a31b08 --- /dev/null +++ b/scenes/работа.gd @@ -0,0 +1,82 @@ +extends Panel + +""" +const TableHeaderType = preload('res://scenes/ячейка-1.tscn') +const TableNodeType = preload('res://scenes/node.tscn') +const CELI_HEADERS_TEXT = [ 'Параметр', 'Значение' ] +const CELI_HEADER_ALIGMENT = [ HORIZONTAL_ALIGNMENT_CENTER, HORIZONTAL_ALIGNMENT_CENTER ] +const CELI_HEADERS_TYPES = [ TableHeaderType, TableHeaderType ] +const CELI_COLUMNS_SIZE = [ 100, 100 ] +const CELI_NODES_TYPES = [ TableNodeType, TableNodeType ] +const CELI_TEXT = [ [ 'Частота, МГц', '2600' ], \ + [ 'Пееленг', '26' ] ] +""" + +""" +var tbl_celi = get_node('ramka_celi/tbl_celi') +tbl_celi.set_header(CELI_HEADERS_TYPES) +tbl_celi.set_header_text(CELI_HEADERS_TEXT) +tbl_celi.add_row(CELI_NODES_TYPES) +tbl_celi.add_row(CELI_NODES_TYPES) +tbl_celi.set_rows_text(CELI_TEXT) +tbl_celi.set_columns_alignments(CELI_HEADER_ALIGMENT) +tbl_celi.set_columns_min_size(CELI_COLUMNS_SIZE) """ + +const RADIO_GROUPE_NAMES = \ + ['btn_off', 'btn_p4', 'btn_p5', 'btn_p6', 'btn_p7', + 'btn_p8', 'btn_p9', 'btn_p10', 'btn_p11', 'btn_p12', + 'btn_p13', 'btn_p14', 'btn_p15', 'btn_p16', 'btn_auto'] + +var radio_groupe: Array +var band_ants = [10, 10, 10] + + +# Called when the node enters the scene tree for the first time. +func _ready(): + $canvas.material.set('shader_parameter/band_ants', band_ants) + $animator.play('вращение') + $ramka_rezhim/btn_off.set_pressed(true) + var nodes = $ramka_rezhim.get_children() + for btn in nodes: + if btn.name in RADIO_GROUPE_NAMES: + radio_groupe.append(btn) + btn.button_connect('pressed', Callable(self, '_on_button_pressed').bind(btn)) + + +func _on_button_pressed(btn): + # поведение радиокнопок в группе + for btn0 in radio_groupe: + if btn0 != btn: + btn0.set_pressed(false) + else: + btn0.set_pressed(true) + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + pass + + +func hypot(x: float, y: float) -> float: + return sqrt(x * x + y * y) + + +func map_xy_ang(pos0: Vector2, pos: Vector2) -> Vector2: + """ Преобразует декартовые координаты в полярные """ + var x1: float = pos.x - pos0.x + var y1: float = pos.y - pos0.y + var ang: float = (atan2(y1, x1) * 180.0) / PI + ang += 360.0 * float(ang < 0.0) + var radius: float = hypot(x1, y1) + return Vector2(ang, radius) + + +func _input(event): + if event is InputEventMouseButton: + if not event.pressed: + return + var radp: Vector2 = map_xy_ang(Vector2(600, 600), event.position) + if radp.y < 600: + $canvas/"направление-1".rotation_degrees = radp.x + $canvas.material.set('shader_parameter/sec_var', radp.x) + diff --git a/scenes/работа.tscn b/scenes/работа.tscn new file mode 100644 index 00000000..7fbfec06 --- /dev/null +++ b/scenes/работа.tscn @@ -0,0 +1,987 @@ +[gd_scene load_steps=19 format=3 uid="uid://b276iygic5itk"] + +[ext_resource type="Script" path="res://scenes/работа.gd" id="1_6kl7p"] +[ext_resource type="Material" uid="uid://s6xe8igevnv2" path="res://shaders/shader_edu.tres" id="2_0si15"] +[ext_resource type="Texture2D" uid="uid://bq67yytxgoopq" path="res://data/мп550-работа-эскиз.png" id="3_nik2j"] +[ext_resource type="Script" path="res://canvas.gd" id="4_2ljcb"] +[ext_resource type="Texture2D" uid="uid://dmty3bpego2pi" path="res://data/направление-0.png" id="6_1xax4"] +[ext_resource type="Texture2D" uid="uid://b3woliae871je" path="res://data/отметка-неопред.png" id="7_mpmxv"] +[ext_resource type="Texture2D" uid="uid://biy3dmtuefrqe" path="res://data/отметка-ракета.png" id="8_rxm12"] +[ext_resource type="Texture2D" uid="uid://b8ern67qnb5ky" path="res://data/кораблик-22800.png" id="10_tjuel"] +[ext_resource type="PackedScene" uid="uid://bq7haw1ypiv48" path="res://scenes/frame.tscn" id="11_pmacq"] +[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="12_pcemc"] +[ext_resource type="Texture2D" uid="uid://ccgavrtpkd56i" path="res://data/прицел-сопровождение.png" id="13_8d4hs"] +[ext_resource type="Texture2D" uid="uid://6qqcqds5majk" path="res://data/отметка-бпла.png" id="14_5c3r6"] +[ext_resource type="Texture2D" uid="uid://bibsq2uejlm0s" path="res://data/отметка-корабль.png" id="14_303ga"] +[ext_resource type="Texture2D" uid="uid://cqu18m05sdl5w" path="res://data/прицел-табличка.png" id="15_8tuwk"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5ugj8"] + +[sub_resource type="Animation" id="Animation_vbwp0"] +length = 0.001 +loop_mode = 1 + +[sub_resource type="Animation" id="Animation_wfwqs"] +resource_name = "вращение" +length = 6.0 +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("canvas/прицел-сопровождение-3:rotation") +tracks/0/interp = 1 +tracks/0/loop_wrap = false +tracks/0/keys = { +"times": PackedFloat32Array(0, 3, 6), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [0.0, 6.28319, 12.5664] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("canvas/прицел-сопровождение-1:rotation") +tracks/1/interp = 1 +tracks/1/loop_wrap = false +tracks/1/keys = { +"times": PackedFloat32Array(0, 3, 6), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [0.0, 6.28319, 12.5664] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("canvas/прицел-табличка:rotation") +tracks/2/interp = 1 +tracks/2/loop_wrap = false +tracks/2/keys = { +"times": PackedFloat32Array(0, 3, 6), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [6.28319, 0.0, -6.28319] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("canvas:material:shader_parameter/pc2") +tracks/3/interp = 2 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 2.5, 6), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(100, 1065), Vector2(115, 1070), Vector2(100, 1065)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_codoa"] +_data = { +"RESET": SubResource("Animation_vbwp0"), +"вращение": SubResource("Animation_wfwqs") +} + +[node name="Работа" type="Panel"] +script = ExtResource("1_6kl7p") + +[node name="canvas" type="Sprite2D" parent="."] +material = ExtResource("2_0si15") +position = Vector2(800, 596) +texture = ExtResource("3_nik2j") +script = ExtResource("4_2ljcb") +metadata/_edit_lock_ = true + +[node name="прицел-табличка" type="Sprite2D" parent="canvas"] +position = Vector2(-101, -176) +rotation = 6.28319 +texture = ExtResource("15_8tuwk") + +[node name="отметка-бпла" type="Sprite2D" parent="canvas"] +position = Vector2(-101, -176) +texture = ExtResource("14_5c3r6") + +[node name="направление-1" type="Sprite2D" parent="canvas"] +modulate = Color(1, 1, 1, 0.454902) +position = Vector2(-208, -7) +texture = ExtResource("6_1xax4") +offset = Vector2(290, -6) + +[node name="отметка-корабль" type="Sprite2D" parent="canvas"] +position = Vector2(-350, -103) +rotation = -2.09439 +texture = ExtResource("14_303ga") + +[node name="кораблик" type="Sprite2D" parent="canvas"] +position = Vector2(-210, -11) +scale = Vector2(0.25, 0.25) +texture = ExtResource("10_tjuel") + +[node name="отметка_ракета" type="Sprite2D" parent="canvas"] +position = Vector2(-130, 19) +rotation = -1.309 +texture = ExtResource("8_rxm12") + +[node name="отметка_неопред" type="Sprite2D" parent="canvas"] +position = Vector2(-200, -191) +texture = ExtResource("7_mpmxv") + +[node name="прицел-сопровождение-3" type="Sprite2D" parent="canvas"] +position = Vector2(-500, -200) +texture = ExtResource("13_8d4hs") + +[node name="прицел-сопровождение-1" type="Sprite2D" parent="canvas"] +position = Vector2(-200, 400) +texture = ExtResource("13_8d4hs") + +[node name="номер-цели-3" type="Label" parent="canvas"] +offset_left = -517.0 +offset_top = -248.0 +offset_right = -477.0 +offset_bottom = -226.0 +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/outline_size = 2 +text = "3" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="номер-цели-2" type="Label" parent="canvas"] +z_index = 1 +offset_left = -120.0 +offset_top = -212.0 +offset_right = -80.0 +offset_bottom = -190.0 +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/outline_size = 2 +text = "2" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="номер-цели-1" type="Label" parent="canvas"] +offset_left = -219.0 +offset_top = 357.0 +offset_right = -179.0 +offset_bottom = 379.0 +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) +theme_override_constants/outline_size = 2 +text = "1" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="ramka_rezhim" parent="." instance=ExtResource("11_pmacq")] +layout_mode = 0 +offset_left = 1180.0 +offset_top = 722.0 +offset_right = 1589.0 +offset_bottom = 1142.0 +text = "Режим помехи" + +[node name="btn_off" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 10.0 +offset_top = 8.16 +offset_right = -309.0 +offset_bottom = -310.0 +text = "Откл" + +[node name="btn_p4" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 110.0 +offset_top = 298.16 +offset_right = -209.0 +offset_bottom = -10.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "13" + +[node name="btn_p5" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 10.0 +offset_top = 298.16 +offset_right = -309.0 +offset_bottom = -10.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "12" + +[node name="btn_p6" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 210.0 +offset_top = 198.16 +offset_right = -109.0 +offset_bottom = -110.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "10" + +[node name="btn_p7" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 310.0 +offset_top = 198.16 +offset_right = -10.0 +offset_bottom = -110.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "11" + +[node name="btn_p8" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 110.0 +offset_top = 198.16 +offset_right = -209.0 +offset_bottom = -110.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "9" + +[node name="btn_p9" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 10.0 +offset_top = 198.16 +offset_right = -309.0 +offset_bottom = -110.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "8" + +[node name="btn_p10" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 310.0 +offset_top = 98.16 +offset_right = -10.0 +offset_bottom = -210.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "7" + +[node name="btn_p11" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.048 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 310.0 +offset_top = 9.84 +offset_right = -10.0 +offset_bottom = -310.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "3" + +[node name="btn_p12" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 10.0 +offset_top = 98.16 +offset_right = -309.0 +offset_bottom = -210.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "4" + +[node name="btn_p13" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 110.0 +offset_top = 98.16 +offset_right = -209.0 +offset_bottom = -210.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "5" + +[node name="btn_p14" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 210.0 +offset_top = 98.16 +offset_right = -109.0 +offset_bottom = -210.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "6" + +[node name="btn_p15" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 210.0 +offset_top = 8.16 +offset_right = -109.0 +offset_bottom = -310.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "2" + +[node name="btn_p16" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 110.0 +offset_top = 8.16 +offset_right = -209.0 +offset_bottom = -310.0 +text = "1" + +[node name="btn_auto_rfi" parent="ramka_rezhim" instance=ExtResource("12_pcemc")] +layout_mode = 1 +anchors_preset = -1 +anchor_top = 0.052 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 210.0 +offset_top = 298.16 +offset_right = -10.0 +offset_bottom = -10.0 +grow_horizontal = 2 +grow_vertical = 2 +text = "Автоматически" + +[node name="ramka_celi" parent="." instance=ExtResource("11_pmacq")] +layout_mode = 0 +offset_left = 1180.0 +offset_top = 372.0 +offset_right = 1589.0 +offset_bottom = 712.0 +text = "Параметры цели" + +[node name="tbl_celi" type="GridContainer" parent="ramka_celi"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.012 +anchor_top = 0.065 +anchor_right = 0.99 +anchor_bottom = 0.985 +offset_left = 0.092 +offset_top = 4.9 +offset_right = 0.0899658 +offset_bottom = 0.0999756 +columns = 2 + +[node name="hdr_col0" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_5ugj8") +text = "Параметр" +horizontal_alignment = 1 + +[node name="hdr_col1" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_5ugj8") +text = "Значение" +horizontal_alignment = 1 + +[node name="node_00_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Курсовой угол" + +[node name="node_00_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "90" +horizontal_alignment = 1 + +[node name="node_01_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Частота, МГЦ" + +[node name="node_01_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "2600" +horizontal_alignment = 1 + +[node name="node_02_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Тип модуляции" + +[node name="node_02_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "qam256" +horizontal_alignment = 1 + +[node name="node_03_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Ширина диапазона, МГц" + +[node name="node_03_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "2.5" +horizontal_alignment = 1 + +[node name="node_04_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Мощность, дБ" + +[node name="node_04_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "43" +horizontal_alignment = 1 + +[node name="node_05_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Время обновления" + +[node name="node_05_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "20:23:04" +horizontal_alignment = 1 + +[node name="node_06_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Режим перестройки" + +[node name="node_06_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "ЛЧМ" +horizontal_alignment = 1 + +[node name="node_07_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Скорость данных, бит/с" + +[node name="node_07_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "1.8М" +horizontal_alignment = 1 + +[node name="node_08_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Протокол" + +[node name="node_08_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "solo7" +horizontal_alignment = 1 + +[node name="node_09_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Высота, м" + +[node name="node_09_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "128" +horizontal_alignment = 1 + +[node name="node_10_00" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Номер" + +[node name="node_10_01" type="Label" parent="ramka_celi/tbl_celi"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "2" +horizontal_alignment = 1 + +[node name="ramka_obschie" parent="." instance=ExtResource("11_pmacq")] +layout_mode = 0 +offset_left = 1180.0 +offset_top = 6.0 +offset_right = 1589.0 +offset_bottom = 161.0 +text = "Общее" + +[node name="tbl_obschie" type="GridContainer" parent="ramka_obschie"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.012 +anchor_top = 0.153 +anchor_right = 0.99 +anchor_bottom = 0.985 +offset_left = 0.092 +offset_top = 3.285 +offset_right = 0.0899963 +offset_bottom = 0.324997 +columns = 2 + +[node name="node_00_00" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Курс" + +[node name="node_00_01" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "222 +" +horizontal_alignment = 1 + +[node name="node_01_00" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Скорость, узлы" + +[node name="node_01_01" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "10" +horizontal_alignment = 1 + +[node name="node_02_00" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Время" + +[node name="node_02_01" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "20:24:06" +horizontal_alignment = 1 + +[node name="node_03_00" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Направление ветра" + +[node name="node_03_01" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "310" +horizontal_alignment = 1 + +[node name="node_04_00" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Скорость ветра, м/с" + +[node name="node_04_01" type="Label" parent="ramka_obschie/tbl_obschie"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "3" +horizontal_alignment = 1 + +[node name="ramka_seansy" parent="." instance=ExtResource("11_pmacq")] +layout_mode = 0 +offset_left = 1180.0 +offset_top = 171.0 +offset_right = 1589.0 +offset_bottom = 363.0 +text = "Сеансы помех" + +[node name="tbl_seansy" type="GridContainer" parent="ramka_seansy"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.012 +anchor_top = 0.115 +anchor_right = 0.99 +anchor_bottom = 0.985 +offset_left = 0.092 +offset_top = 5.0 +offset_right = 0.0899963 +columns = 3 + +[node name="hdr_col0" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_5ugj8") +text = "Индекс сеанса" +horizontal_alignment = 1 + +[node name="hdr_col1" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_5ugj8") +text = "Номер цели" +horizontal_alignment = 1 + +[node name="hdr_col2" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_5ugj8") +text = "Режим помехи" +horizontal_alignment = 1 + +[node name="node_00_00" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "1" +horizontal_alignment = 1 + +[node name="node_00_01" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "3" +horizontal_alignment = 1 + +[node name="node_00_02" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "СРН-И1" +horizontal_alignment = 1 + +[node name="node_01_00" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "2" +horizontal_alignment = 1 + +[node name="node_01_01" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "1" +horizontal_alignment = 1 + +[node name="node_01_02" type="Label" parent="ramka_seansy/tbl_seansy"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "ПД-М4С" +horizontal_alignment = 1 + +[node name="lbl_kachka" type="Label" parent="."] +layout_mode = 0 +offset_left = 87.0 +offset_top = 954.0 +offset_right = 133.0 +offset_bottom = 976.0 +text = "Качка" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="lbl_b45" type="Label" parent="."] +layout_mode = 0 +offset_left = 191.0 +offset_top = 1057.0 +offset_right = 237.0 +offset_bottom = 1079.0 +text = "45" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="lbl_k45" type="Label" parent="."] +layout_mode = 0 +offset_left = 84.0 +offset_top = 1154.0 +offset_right = 130.0 +offset_bottom = 1176.0 +text = "-45" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="ramka_pomeha" parent="." instance=ExtResource("11_pmacq")] +layout_mode = 0 +offset_left = 1650.0 +offset_right = 2059.0 +offset_bottom = 265.0 +text = "Параметры помехи" + +[node name="tbl_pomeha" type="GridContainer" parent="ramka_pomeha"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.012 +anchor_top = 0.065 +anchor_right = 0.99 +anchor_bottom = 0.985 +offset_left = 0.092 +offset_top = 9.775 +offset_right = 0.0899658 +offset_bottom = -0.0250244 +columns = 2 + +[node name="hdr_col0" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_5ugj8") +text = "Параметр" +horizontal_alignment = 1 + +[node name="hdr_col1" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_styles/normal = SubResource("StyleBoxFlat_5ugj8") +text = "Значение" +horizontal_alignment = 1 + +[node name="node_00_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Индекс сеанса" + +[node name="node_00_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "1" +horizontal_alignment = 1 + +[node name="node_01_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Курсовой угол" + +[node name="node_01_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "43" +horizontal_alignment = 1 + +[node name="node_02_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Частота, МГЦ" + +[node name="node_02_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "2600" +horizontal_alignment = 1 + +[node name="node_03_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Диапазон, МГЦ" + +[node name="node_03_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "80" +horizontal_alignment = 1 + +[node name="node_04_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Режим" + +[node name="node_04_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "СРН-М2" +horizontal_alignment = 1 + +[node name="node_05_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Мощность" + +[node name="node_05_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "2.5" +horizontal_alignment = 1 + +[node name="node_06_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Угол места" + +[node name="node_06_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "5" +horizontal_alignment = 1 + +[node name="node_07_00" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "Режим перестройки" + +[node name="node_07_01" type="Label" parent="ramka_pomeha/tbl_pomeha"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_colors/font_color = Color(0.729412, 0.729412, 0.729412, 1) +text = "ЛЧМ" +horizontal_alignment = 1 + +[node name="animator" type="AnimationPlayer" parent="."] +libraries = { +"": SubResource("AnimationLibrary_codoa") +} + +[node name="btn_auto_threat" parent="." instance=ExtResource("12_pcemc")] +layout_mode = 0 +offset_left = 978.0 +offset_top = 1042.0 +offset_right = 1167.0 +offset_bottom = 1132.0 +text = "Автоматически" + +[node name="надпись-выбор-цели" type="Label" parent="."] +layout_mode = 2 +offset_left = 978.0 +offset_top = 1020.0 +offset_right = 1167.0 +offset_bottom = 1042.0 +text = "Выбор цели" +horizontal_alignment = 1