npc+enemy(первая половина) фикс диалогов g

This commit is contained in:
2026-07-30 01:02:19 +07:00
parent 9878b4cc63
commit e4d634ec5f
20 changed files with 2134 additions and 29 deletions
+127 -16
View File
@@ -17,6 +17,16 @@
[ext_resource type="PackedScene" uid="uid://uostigglwe36" path="res://addons/custmode/vagon.tscn" id="15_cgv6d"]
[ext_resource type="PackedScene" uid="uid://btbvk5tjlg3m3" path="res://addons/custmode/Models/source/psx_japanese_warehouse.tscn" id="15_kjqe1"]
[ext_resource type="PackedScene" uid="uid://bi572t16ogoqo" path="res://addons/custmode/garbage_track.tscn" id="17_y1uxi"]
[ext_resource type="PackedScene" uid="uid://bosc6q1wqeps7" path="res://addons/NPC/npc-security.tscn" id="18_2dj88"]
[ext_resource type="PackedScene" uid="uid://du8f1rmtasbax" path="res://addons/NPC/npcbabka.tscn" id="19_7ays8"]
[ext_resource type="PackedScene" uid="uid://c0txsmf1ffuqg" path="res://addons/NPC/aristot.tscn" id="20_5v3pv"]
[ext_resource type="JSON" path="res://addons/NPC/dialog/map1/sec.json" id="20_emu02"]
[ext_resource type="PackedScene" uid="uid://duupbdffupc1n" path="res://addons/NPC/enemy/cigan.tscn" id="21_6hvf0"]
[ext_resource type="AudioStream" uid="uid://vti5bwsv7nr" path="res://Sound/Ахмед.wav" id="22_8s7mi"]
[ext_resource type="JSON" path="res://addons/NPC/dialog/map1/babka.json" id="23_3kji6"]
[ext_resource type="PackedScene" uid="uid://2xuobbl0hkyk" path="res://addons/custmode/Models/source/vaz_2105.tscn" id="23_yrgpi"]
[ext_resource type="JSON" path="res://addons/NPC/dialog/map1/arest.json" id="24_emu02"]
[ext_resource type="PackedScene" uid="uid://pjv5ptit5tvg" path="res://addons/Weapons/Scenes/AmmoRefillerScene.tscn" id="27_3kji6"]
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_8yhxy"]
panorama = ExtResource("2_8yhxy")
@@ -188,26 +198,32 @@ transform = Transform3D(0.8976818, 0, -0.44064432, 0, 1, 0, 0.44064432, 0, 0.897
[node name="car5" parent="auto" unique_id=1863221443 instance=ExtResource("10_ng7ae")]
transform = Transform3D(0.72761714, 0, 0.6859835, 0, 1, 0, -0.6859835, 0, 0.72761714, 155.41559, 0.05000019, -39.123177)
[node name="vaz2105" parent="auto" unique_id=159074785 instance=ExtResource("11_proq1")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 127.59149, 0.20823169, -61.586308)
[node name="vaz2106" parent="auto" unique_id=1460528559 instance=ExtResource("11_proq1")]
transform = Transform3D(0.5579024, 0, 1.3923881, 0, 1.5, 0, -1.3923881, 0, 0.5579024, 111.22854, 0.20823169, -58.777626)
[node name="vaz2107" parent="auto" unique_id=506181385 instance=ExtResource("11_proq1")]
transform = Transform3D(0.38911355, 0, 1.4486513, 0, 1.5, 0, -1.4486513, 0, 0.38911355, 127.59149, 0.20823169, -47.978703)
[node name="vaz2108" parent="auto" unique_id=1171737564 instance=ExtResource("11_proq1")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 117.77853, 0.20823169, -52.488434)
[node name="car6" parent="auto" unique_id=1511037213 instance=ExtResource("10_ng7ae")]
transform = Transform3D(-0.588745, 0, 0.80831885, 0, 1, 0, -0.80831885, 0, -0.588745, 106.34987, 0.05000019, -27.155666)
[node name="vaz2109" parent="auto" unique_id=1741568735 instance=ExtResource("11_proq1")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 107.833, 0.20823169, -69.94444)
[node name="vaz2105" parent="auto" unique_id=159074785 instance=ExtResource("23_yrgpi")]
transform = Transform3D(0.7381221, 0, 1.0701288, 0, 1.3, 0, -1.0701288, 0, 0.7381221, 133.06233, 0.08107129, -50.184658)
[node name="vaz2110" parent="auto" unique_id=244562523 instance=ExtResource("11_proq1")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 150.81404, 0.20823169, -61.586308)
[node name="vaz2106" parent="auto" unique_id=1347529809 instance=ExtResource("23_yrgpi")]
transform = Transform3D(-0.0037663376, 0, -1.2999946, 0, 1.3, 0, 1.2999946, 0, -0.0037663376, 132.61331, 0.08107129, -56.375797)
[node name="vaz2107" parent="auto" unique_id=1847890421 instance=ExtResource("23_yrgpi")]
transform = Transform3D(1.3, 0, 0, 0, 1.3, 0, 0, 0, 1.3, 122.34361, 0.08107129, -40.77899)
[node name="vaz2108" parent="auto" unique_id=1462054653 instance=ExtResource("23_yrgpi")]
transform = Transform3D(1.3, 0, 0, 0, 1.3, 0, 0, 0, 1.3, 113.90281, 0.08107129, -50.105663)
[node name="vaz2109" parent="auto" unique_id=1447126962 instance=ExtResource("23_yrgpi")]
transform = Transform3D(-1.2853696, 0, 0.19448563, 0, 1.3, 0, -0.19448563, 0, -1.2853696, 129.87952, 0.08107129, -32.006973)
[node name="vaz2110" parent="auto" unique_id=1979247828 instance=ExtResource("23_yrgpi")]
transform = Transform3D(1.3, 0, 0, 0, 1.3, 0, 0, 0, 1.3, 123.71063, 0.08107129, -65.772316)
[node name="vaz2111" parent="auto" unique_id=825385760 instance=ExtResource("23_yrgpi")]
transform = Transform3D(1.3, 0, 0, 0, 1.3, 0, 0, 0, 1.3, 104.878944, 0.08107129, -66.625275)
[node name="vaz2112" parent="auto" unique_id=755713690 instance=ExtResource("23_yrgpi")]
transform = Transform3D(-0.637028, 0, -1.1332234, 0, 1.3, 0, 1.1332234, 0, -0.637028, 141.25555, 0.08107081, -65.25995)
[node name="truba" type="Node3D" parent="." unique_id=1793831443]
@@ -437,3 +453,98 @@ transform = Transform3D(4.5, 0, 0, 0, 4.5, 0, 0, 0, 4.5, -51.856865, 0, -78.6035
[node name="Sketchfab_Scene6" parent="traks" unique_id=150437203 instance=ExtResource("17_y1uxi")]
transform = Transform3D(4.5, 0, 0, 0, 4.5, 0, 0, 0, 4.5, -51.856865, 0, -97.58939)
[node name="npc" type="Node3D" parent="." unique_id=748416009]
[node name="secur" parent="npc" unique_id=2094693982 instance=ExtResource("18_2dj88")]
transform = Transform3D(-0.22122513, 0, 0.97522277, 0, 1, 0, -0.97522277, 0, -0.22122513, 236.17165, 0.05460739, -77.6084)
dialogue_data = Array[Dictionary]([])
dialogue_file = ExtResource("20_emu02")
[node name="babka" parent="npc" unique_id=1797533482 instance=ExtResource("19_7ays8")]
transform = Transform3D(-0.9875953, 0, 0.15702054, 0, 1, 0, -0.15702054, 0, -0.9875953, 178.76431, 1.4086559, 18.294493)
dialogue_file = ExtResource("23_3kji6")
[node name="aritot" parent="npc" unique_id=1345356780 instance=ExtResource("20_5v3pv")]
transform = Transform3D(-0.30027303, 0, 0.9538533, 0, 1, 0, -0.9538533, 0, -0.30027303, 46.378628, 0.95449877, -23.65288)
dialogue_file = ExtResource("24_emu02")
[node name="battel1" type="Node3D" parent="." unique_id=1104389055]
[node name="CharacterBody3D" parent="battel1" unique_id=1156384226 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 129.24011, 0.94639117, -28.026142)
move_speed = 2.0
damage_to_player = 2.0
health = 5.0
[node name="CharacterBody3D2" parent="battel1" unique_id=626362519 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 120.03938, 0.94639117, -35.727333)
move_speed = 2.0
damage_to_player = 2.0
health = 5.0
[node name="CharacterBody3D3" parent="battel1" unique_id=836135435 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 120.03938, 0.94639117, -59.02198)
move_speed = 2.0
damage_to_player = 2.0
health = 5.0
[node name="CharacterBody3D4" parent="battel1" unique_id=382645947 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 99.997826, 0.94639117, -59.02198)
move_speed = 2.0
damage_to_player = 2.0
custom_battle_music = ExtResource("22_8s7mi")
health = 5.0
[node name="CharacterBody3D5" parent="battel1" unique_id=936516052 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 99.997826, 0.94639117, -30.821632)
move_speed = 2.0
damage_to_player = 2.0
health = 5.0
[node name="CharacterBody3D6" parent="battel1" unique_id=1840984398 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 120.79072, 0.94639117, -48.40757)
move_speed = 2.0
damage_to_player = 2.0
custom_battle_music = ExtResource("22_8s7mi")
health = 5.0
[node name="CharacterBody3D7" parent="battel1" unique_id=761606704 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 129.14119, 0.94639117, -35.727333)
move_speed = 2.0
damage_to_player = 2.0
health = 5.0
[node name="CharacterBody3D8" parent="battel1" unique_id=350343242 instance=ExtResource("21_6hvf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 129.14119, 0.94639117, -53.770195)
move_speed = 2.0
damage_to_player = 2.0
custom_battle_music = ExtResource("22_8s7mi")
health = 5.0
[node name="vaz2105" parent="battel1" unique_id=1326835688 instance=ExtResource("23_yrgpi")]
transform = Transform3D(1.3, 0, 0, 0, 1.3, 0, 0, 0, 1.3, 164.39148, 0.08107129, -53.41939)
[node name="am" type="Node3D" parent="." unique_id=512579315]
[node name="AmmoRefiller" parent="am" unique_id=1413490376 instance=ExtResource("27_3kji6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.683653, 0.44769043, 1.5733643)
ammoToRefill = {
"GrenadeAmmo": 12,
"HeavyAmmo": 9,
"LightAmmo": 34,
"MediumAmmo": 60,
"RocketAmmo": 3,
"ShellAmmo": 128
}
[node name="AmmoRefiller2" parent="am" unique_id=1498406763 instance=ExtResource("27_3kji6")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.787826, 0.44769043, 1.5733643)
ammoToRefill = {
"GrenadeAmmo": 12,
"HeavyAmmo": 9,
"LightAmmo": 34,
"MediumAmmo": 60,
"RocketAmmo": 3,
"ShellAmmo": 128
}