Minor fixes for NPC dialogue stuff

Add collisions for overworld
This commit is contained in:
2026-02-02 22:39:33 -08:00
parent 4c90eb6f07
commit 51c8f26e50
16 changed files with 334 additions and 553 deletions

View File

@@ -76,16 +76,6 @@ libraries = {
[node name="MapOrder" type="Node" parent="."]
unique_name_in_owner = true
[node name="Boss Floor 1" type="Node" parent="MapOrder"]
script = ExtResource("3_v14r0")
FloorName = 2
[node name="Floor01" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor01"
FloorOdds = Array[float]([0.33, 0.33, 0.33])
Michael = 1.0
[node name="Overworld" type="Node" parent="MapOrder"]
script = ExtResource("3_v14r0")
@@ -93,6 +83,12 @@ script = ExtResource("3_v14r0")
script = ExtResource("3_v14r0")
FloorName = 1
[node name="Floor01" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor01"
FloorOdds = Array[float]([0.33, 0.33, 0.33])
Michael = 1.0
[node name="Floor02" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor02"
@@ -129,11 +125,9 @@ FolderName = "Floor07"
FloorOdds = Array[float]([1.0])
Sproingy = 1.0
[node name="Floor08" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor08"
FloorOdds = Array[float]([0.5, 1.0])
Sproingy = 1.0
[node name="Boss Floor 1" type="Node" parent="MapOrder"]
script = ExtResource("3_v14r0")
FloorName = 2
[node name="Floor09" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
@@ -171,30 +165,14 @@ FolderName = "Floor15"
FloorOdds = Array[float]([1.0])
Sproingy = 1.0
[node name="Floor16" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor16"
FloorOdds = Array[float]([1.0])
Sproingy = 1.0
[node name="Floor17" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor17"
FloorOdds = Array[float]([1.0])
Sproingy = 1.0
[node name="Floor18" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor18"
FloorOdds = Array[float]([1.0])
Sproingy = 1.0
[node name="Floor19" type="Node" parent="MapOrder"]
script = ExtResource("2_00xd7")
FolderName = "Floor19"
FloorOdds = Array[float]([1.0])
Sproingy = 1.0
[node name="Boss Floor 2" type="Node" parent="MapOrder"]
script = ExtResource("3_v14r0")
FloorName = 3
[node name="Goddess of Guidance Floor" type="Node" parent="MapOrder"]
script = ExtResource("3_v14r0")
FloorName = 4
[node name="Final Floor" type="Node" parent="MapOrder"]
script = ExtResource("3_v14r0")
FloorName = 6

File diff suppressed because one or more lines are too long

View File

@@ -1,68 +1,30 @@
[gd_scene load_steps=148 format=4 uid="uid://c5eon2dk4ojua"]
[gd_scene load_steps=99 format=4 uid="uid://c5eon2dk4ojua"]
[ext_resource type="Script" uid="uid://bccyfmj8ikewh" path="res://src/map/dungeon/code/SpecialRoom.cs" id="1_plyiv"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="2_xyps6"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="3_7j3th"]
[ext_resource type="Texture2D" uid="uid://b3ypwr2e1o8ip" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_COLUM6N.png" id="3_plyiv"]
[ext_resource type="Texture2D" uid="uid://ct2523slwx30o" path="res://src/npc/Ran/animations/Layer 1.png" id="4_a77lt"]
[ext_resource type="Texture2D" uid="uid://did8sxg3s3cng" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_FLOOR2.jpg" id="4_pps52"]
[ext_resource type="Texture2D" uid="uid://cbigi3n8f6nyr" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_apple.png" id="5_s88wa"]
[ext_resource type="Texture2D" uid="uid://b72fnsmgg1mff" path="res://src/npc/Ran/animations/Layer 2.png" id="5_ud5se"]
[ext_resource type="Texture2D" uid="uid://c01a6i2hmq7nb" path="res://src/npc/Ran/animations/Layer 3.png" id="6_mft23"]
[ext_resource type="Texture2D" uid="uid://bgubp7q81gllm" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_inner_rock2.png" id="6_v8bnr"]
[ext_resource type="Texture2D" uid="uid://duc0eufs2j5uc" path="res://src/npc/Ran/animations/Layer 4.png" id="7_8n2sr"]
[ext_resource type="Texture2D" uid="uid://c4nu5jnri7ffu" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_WALL TILE 1.jpg" id="7_hq81s"]
[ext_resource type="Texture2D" uid="uid://b4cibfgd6vpt8" path="res://src/npc/Ran/animations/Layer 5.png" id="8_7koso"]
[ext_resource type="Texture2D" uid="uid://b2tqjwjvs8ui7" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_SNEK TILE.png" id="8_uff53"]
[ext_resource type="Texture2D" uid="uid://251fxmagtweh" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_cadeuceus.png" id="9_ogy42"]
[ext_resource type="Texture2D" uid="uid://btg0gwpya6tjq" path="res://src/npc/Ran/animations/Layer 6.png" id="9_wdwau"]
[ext_resource type="Texture2D" uid="uid://b7we40opnupwv" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_sarape.png" id="10_dprir"]
[ext_resource type="Texture2D" uid="uid://ci2rcyo1we8hp" path="res://src/npc/Ran/animations/Layer 7.png" id="10_qphn6"]
[ext_resource type="Texture2D" uid="uid://b788lgwfb1jdb" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_darkbrick.png" id="11_5mci2"]
[ext_resource type="Texture2D" uid="uid://bmidoemj483kx" path="res://src/npc/Ran/animations/Layer 8.png" id="11_sgns8"]
[ext_resource type="Texture2D" uid="uid://bqt7cqoxtjwnj" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_concrete_0003_color_1k.png" id="12_6q6b3"]
[ext_resource type="Texture2D" uid="uid://codpix3tl2wqy" path="res://src/npc/Ran/animations/Layer 9.png" id="12_450xd"]
[ext_resource type="Texture2D" uid="uid://dry27c437fasg" path="res://src/npc/Ran/animations/Layer 10.png" id="13_78435"]
[ext_resource type="Texture2D" uid="uid://dj825mcpqvy02" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_Alt_Brick.png" id="13_aqn7l"]
[ext_resource type="Texture2D" uid="uid://1lauhmfelw56" path="res://src/npc/Ran/animations/Layer 11.png" id="14_lbv0f"]
[ext_resource type="Texture2D" uid="uid://cqhqa754oaqy1" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_COLUMN3.jpg" id="14_op6ed"]
[ext_resource type="Texture2D" uid="uid://bj3og0xurrtv3" path="res://src/npc/Ran/animations/Layer 12.png" id="15_5n513"]
[ext_resource type="Texture2D" uid="uid://bes4roalxxg4m" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_SA115.png" id="15_e0efo"]
[ext_resource type="Texture2D" uid="uid://b6hxwku7s1228" path="res://src/npc/Ran/animations/Layer 13.png" id="16_3vb32"]
[ext_resource type="Texture2D" uid="uid://bcggbw5i1o3hp" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_STONE_PANEL_1png.png" id="16_du111"]
[ext_resource type="Texture2D" uid="uid://bb5w13xie3rxd" path="res://src/npc/Ran/animations/Layer 14.png" id="17_ebd46"]
[ext_resource type="Texture2D" uid="uid://ds8ekbwjn21rg" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_brick_corridor_corrected.png" id="17_ybjms"]
[ext_resource type="Texture2D" uid="uid://b7ocsn10ercom" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_swirled_column.png" id="18_ikjuq"]
[ext_resource type="Texture2D" uid="uid://c1dbkhd182c10" path="res://src/npc/Ran/animations/Layer 15.png" id="18_q7bsg"]
[ext_resource type="Texture2D" uid="uid://diw3jul5bgorj" path="res://src/npc/Ran/animations/Layer 16.png" id="19_6arhf"]
[ext_resource type="Texture2D" uid="uid://caom5g3md86u2" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_hand-tiile.png" id="19_ix0ff"]
[ext_resource type="Texture2D" uid="uid://bv1i6nmk43au0" path="res://src/npc/Ran/animations/Layer 17.png" id="20_8gttu"]
[ext_resource type="Texture2D" uid="uid://csi5w8mfxy30n" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_mother.png" id="20_iinry"]
[ext_resource type="Texture2D" uid="uid://u1rxhhlia4cm" path="res://src/npc/Ran/animations/Layer 18.png" id="21_7pjor"]
[ext_resource type="Texture2D" uid="uid://c0x5xjelgy20m" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_brick3.png" id="21_ivu3u"]
[ext_resource type="Texture2D" uid="uid://ehurkn25qqtl" path="res://src/npc/Ran/animations/Layer 19.png" id="22_hic27"]
[ext_resource type="Texture2D" uid="uid://nfm0ogwfxnvc" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_reddertex.png" id="22_koan8"]
[ext_resource type="Texture2D" uid="uid://bpynskjwl74h0" path="res://src/npc/Ran/animations/Layer 20.png" id="23_7jktv"]
[ext_resource type="Texture2D" uid="uid://28tm1duewpt" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_yellow_grunge_glass.png" id="23_e0cd2"]
[ext_resource type="Texture2D" uid="uid://rnbpyqhk6j2e" path="res://src/npc/Ran/animations/Layer 21.png" id="24_d3ct6"]
[ext_resource type="PackedScene" uid="uid://jds3hr41coal" path="res://src/npc/Ran/Ran.tscn" id="24_81jou"]
[ext_resource type="Texture2D" uid="uid://c1gpougpbu4ww" path="res://src/map/dungeon/models/Area 1/Ran/ran-fix_FLOOR4.png" id="24_w2vdn"]
[ext_resource type="Texture2D" uid="uid://bgedfpastg6x" path="res://src/npc/Ran/animations/Layer 22.png" id="25_c24wj"]
[ext_resource type="Texture2D" uid="uid://dnyxfekr8yc85" path="res://src/npc/Ran/animations/Layer 23.png" id="26_w4g0j"]
[ext_resource type="Texture2D" uid="uid://qb3xrhd0gddd" path="res://src/npc/Ran/animations/Layer 24.png" id="27_54xhy"]
[ext_resource type="Texture2D" uid="uid://dw50ys561j8no" path="res://src/map/assets/DUST_1.png" id="27_x1yce"]
[ext_resource type="Texture2D" uid="uid://ccbxaujmt7r1r" path="res://src/npc/Ran/animations/Layer 25.png" id="28_gnf4q"]
[ext_resource type="Texture2D" uid="uid://djv356wp06ljj" path="res://src/npc/Ran/animations/Layer 26.png" id="29_hiuym"]
[ext_resource type="Texture2D" uid="uid://creiryyx7p2co" path="res://src/npc/Ran/animations/Layer 27.png" id="30_4otwj"]
[ext_resource type="Texture2D" uid="uid://dev86mbb2dto6" path="res://src/npc/Ran/animations/Layer 28.png" id="31_utnok"]
[ext_resource type="Texture2D" uid="uid://cloijjhlvl8jf" path="res://src/npc/Ran/animations/Layer 29.png" id="32_uaqch"]
[ext_resource type="Texture2D" uid="uid://bpbajmjdtqrjf" path="res://src/npc/Ran/animations/Layer 30.png" id="33_7c3e1"]
[ext_resource type="Texture2D" uid="uid://dvffqii17usve" path="res://src/npc/Ran/animations/Layer 31.png" id="34_i5vu1"]
[ext_resource type="Texture2D" uid="uid://w8fxe8kw5k71" path="res://src/npc/Ran/animations/Layer 32.png" id="35_rlw2t"]
[ext_resource type="Texture2D" uid="uid://wf1fy2oq6pwu" path="res://src/npc/Ran/animations/Layer 33.png" id="36_33k1p"]
[ext_resource type="Texture2D" uid="uid://dm1jtlih2wgey" path="res://src/npc/Ran/animations/Layer 34.png" id="37_76nwj"]
[ext_resource type="Texture2D" uid="uid://c0e8nly838i80" path="res://src/npc/Ran/animations/Layer 35.png" id="38_6tln7"]
[ext_resource type="Texture2D" uid="uid://d3jn2tx8ifapd" path="res://src/npc/Ran/animations/Layer 36.png" id="39_6yjle"]
[ext_resource type="Texture2D" uid="uid://dafpnwkwcukp4" path="res://src/vfx/shadow_test_1.png" id="40_naa4p"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bawr2"]
resource_name = "COLUMN2"
@@ -1523,212 +1485,6 @@ radius = 5.93506
height = 4.7168
radius = 0.452637
[sub_resource type="ViewportTexture" id="ViewportTexture_lx32o"]
viewport_path = NodePath("Sprite/SubViewportContainer/SubViewport")
[sub_resource type="SpriteFrames" id="SpriteFrames_f3624"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_a77lt")
}, {
"duration": 1.0,
"texture": ExtResource("5_ud5se")
}, {
"duration": 1.0,
"texture": ExtResource("6_mft23")
}, {
"duration": 1.0,
"texture": ExtResource("7_8n2sr")
}, {
"duration": 1.0,
"texture": ExtResource("8_7koso")
}, {
"duration": 1.0,
"texture": ExtResource("9_wdwau")
}, {
"duration": 1.0,
"texture": ExtResource("10_qphn6")
}, {
"duration": 1.0,
"texture": ExtResource("11_sgns8")
}, {
"duration": 1.0,
"texture": ExtResource("12_450xd")
}, {
"duration": 1.0,
"texture": ExtResource("13_78435")
}, {
"duration": 1.0,
"texture": ExtResource("14_lbv0f")
}, {
"duration": 1.0,
"texture": ExtResource("15_5n513")
}, {
"duration": 1.0,
"texture": ExtResource("16_3vb32")
}, {
"duration": 1.0,
"texture": ExtResource("17_ebd46")
}, {
"duration": 1.0,
"texture": ExtResource("18_q7bsg")
}, {
"duration": 1.0,
"texture": ExtResource("19_6arhf")
}, {
"duration": 1.0,
"texture": ExtResource("20_8gttu")
}, {
"duration": 1.0,
"texture": ExtResource("21_7pjor")
}, {
"duration": 1.0,
"texture": ExtResource("22_hic27")
}, {
"duration": 1.0,
"texture": ExtResource("23_7jktv")
}, {
"duration": 1.0,
"texture": ExtResource("24_d3ct6")
}, {
"duration": 1.0,
"texture": ExtResource("25_c24wj")
}, {
"duration": 1.0,
"texture": ExtResource("26_w4g0j")
}, {
"duration": 1.0,
"texture": ExtResource("27_54xhy")
}, {
"duration": 1.0,
"texture": ExtResource("28_gnf4q")
}, {
"duration": 1.0,
"texture": ExtResource("29_hiuym")
}, {
"duration": 1.0,
"texture": ExtResource("30_4otwj")
}, {
"duration": 1.0,
"texture": ExtResource("31_utnok")
}, {
"duration": 1.0,
"texture": ExtResource("32_uaqch")
}, {
"duration": 1.0,
"texture": ExtResource("33_7c3e1")
}, {
"duration": 1.0,
"texture": ExtResource("34_i5vu1")
}, {
"duration": 1.0,
"texture": ExtResource("35_rlw2t")
}, {
"duration": 1.0,
"texture": ExtResource("36_33k1p")
}, {
"duration": 1.0,
"texture": ExtResource("37_76nwj")
}, {
"duration": 1.0,
"texture": ExtResource("38_6tln7")
}, {
"duration": 1.0,
"texture": ExtResource("39_6yjle")
}],
"loop": true,
"name": &"idle",
"speed": 14.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
height = 3.85352
radius = 7.41504
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
[sub_resource type="CylinderShape3D" id="CylinderShape3D_nwuwj"]
height = 2.24425
radius = 1.941
[sub_resource type="Animation" id="Animation_jl1c6"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [&"idle"]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="Animation" id="Animation_bww12"]
resource_name = "idle"
length = 2.91668
loop_mode = 1
step = 0.0833333
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [&"idle"]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Sprite/SubViewportContainer/SubViewport/AnimatedSprite2D:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.0833333, 0.166667, 0.25, 0.333333, 0.416667, 0.5, 0.583333, 0.666667, 0.75, 0.833333, 0.916667, 1, 1.08333, 1.16667, 1.25, 1.33333, 1.41667, 1.5, 1.58333, 1.66667, 1.75, 1.83333, 1.91667, 2, 2.08333, 2.16667, 2.25, 2.33333, 2.41667, 2.5, 2.58333, 2.66667, 2.75, 2.83333),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_yx0nu"]
_data = {
&"RESET": SubResource("Animation_jl1c6"),
&"idle": SubResource("Animation_bww12")
}
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_3udpp"]
animation = &"idle"
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_bww12"]
advance_mode = 2
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_3udpp"]
states/Start/position = Vector2(147, 80)
states/idle/node = SubResource("AnimationNodeAnimation_3udpp")
states/idle/position = Vector2(291, 80)
transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_bww12")]
[sub_resource type="BoxShape3D" id="BoxShape3D_81jou"]
size = Vector3(32, 8, 36)
@@ -1865,6 +1621,7 @@ skeleton = NodePath("")
[node name="Collision" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 2, 0)
visible = false
[node name="StaticBody3D" type="StaticBody3D" parent="Collision"]
@@ -1995,82 +1752,8 @@ shape = SubResource("CylinderShape3D_2wejk")
[node name="NPC" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 2, 0)
[node name="NPC" type="Node3D" parent="NPC"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -8.85872, 0.900797, -0.0749016)
script = ExtResource("2_xyps6")
Dialogue = ExtResource("3_7j3th")
[node name="Sprite" type="Sprite3D" parent="NPC/NPC"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0)
gi_mode = 0
pixel_size = 0.02
billboard = 2
double_sided = false
alpha_cut = 3
texture_filter = 1
texture = SubResource("ViewportTexture_lx32o")
[node name="SubViewportContainer" type="SubViewportContainer" parent="NPC/NPC/Sprite"]
visibility_layer = 0
offset_left = -44.0
offset_right = 407.0
offset_bottom = 257.0
[node name="SubViewport" type="SubViewport" parent="NPC/NPC/Sprite/SubViewportContainer"]
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 4
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="NPC/NPC/Sprite/SubViewportContainer/SubViewport"]
position = Vector2(279, 214)
sprite_frames = SubResource("SpriteFrames_f3624")
animation = &"idle"
autoplay = "idle"
[node name="DialogueZone" type="Area3D" parent="NPC/NPC"]
unique_name_in_owner = true
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="NPC/NPC/DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, -0.926758, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="NPC/NPC"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
gravity_scale = 0.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="NPC/NPC/Collision"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.169075, 0, 0)
shape = SubResource("CapsuleShape3D_kg3qv")
[node name="Hitbox" type="Area3D" parent="NPC/NPC"]
unique_name_in_owner = true
collision_layer = 0
collision_mask = 2068
[node name="CollisionShape3D" type="CollisionShape3D" parent="NPC/NPC/Hitbox"]
shape = SubResource("CylinderShape3D_nwuwj")
[node name="AnimationPlayer" type="AnimationPlayer" parent="NPC/NPC"]
libraries = {
&"": SubResource("AnimationLibrary_yx0nu")
}
autoplay = "idle"
[node name="AnimationTree" type="AnimationTree" parent="NPC/NPC"]
tree_root = SubResource("AnimationNodeStateMachine_3udpp")
anim_player = NodePath("../AnimationPlayer")
[node name="Shadow" type="Sprite3D" parent="NPC/NPC"]
transform = Transform3D(3.455, 0, 0, 0, -1.51023e-07, 3.455, 0, -3.455, -1.51023e-07, 0.00393164, -1.50972, 0.0077811)
transparency = 0.1
cast_shadow = 0
modulate = Color(1, 1, 1, 0.591)
texture_filter = 0
texture = ExtResource("40_naa4p")
[node name="Ran" parent="NPC" instance=ExtResource("24_81jou")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.13629, 0.958551, -0.362028)
[node name="Room" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 2, 0)

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=3 uid="uid://cjj6wabswtkk1"]
[gd_scene load_steps=15 format=3 uid="uid://cjj6wabswtkk1"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_3at8w"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_egfgt"]
@@ -36,9 +36,6 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -47,6 +44,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfx33"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_lsu6x"]
radius = 5.81592
[node name="Caretaker of Saints" type="Node3D"]
script = ExtResource("1_3at8w")
Dialogue = ExtResource("2_egfgt")
@@ -68,15 +71,6 @@ offset = Vector2(5, 2)
texture_filter = 0
texture = ExtResource("9_wfx33")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -93,3 +87,23 @@ collision_mask = 16
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hitbox"]
shape = SubResource("CylinderShape3D_nwuwj")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfx33")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_lsu6x")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://ccwn5dfst7o4d"]
[gd_scene load_steps=13 format=3 uid="uid://ccwn5dfst7o4d"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_38loe"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_x0dcb"]
@@ -28,9 +28,6 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 5.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -39,6 +36,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_lsxy3"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_mui6r"]
radius = 5.81592
[node name="Clalo" type="Node3D"]
script = ExtResource("1_38loe")
Dialogue = ExtResource("2_x0dcb")
@@ -54,15 +57,6 @@ sprite_frames = SubResource("SpriteFrames_2xsnq")
autoplay = "default"
frame_progress = 0.274888
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 0
collision_mask = 2070
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -87,3 +81,23 @@ cast_shadow = 0
modulate = Color(1, 1, 1, 0.669)
texture_filter = 0
texture = ExtResource("7_lsxy3")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_lsxy3")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_mui6r")

View File

@@ -1,12 +1,9 @@
[gd_scene load_steps=7 format=3 uid="uid://cuvhqm4t3e68o"]
[gd_scene load_steps=8 format=3 uid="uid://cuvhqm4t3e68o"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_e5axu"]
[ext_resource type="PackedScene" uid="uid://bvbl7teafxyfr" path="res://src/npc/Feather/Feather_Well VER.01.glb" id="2_jla86"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_y21f1"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -15,6 +12,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_y21f1"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_en0hy"]
radius = 5.81592
[node name="Feather" type="Node3D"]
script = ExtResource("1_e5axu")
Dialogue = ExtResource("2_y21f1")
@@ -26,15 +29,6 @@ gi_mode = 0
billboard = 2
texture_filter = 0
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -54,3 +48,23 @@ shape = SubResource("CylinderShape3D_nwuwj")
disabled = true
[node name="Feather_Well VER_01" parent="." instance=ExtResource("2_jla86")]
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_y21f1")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_en0hy")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://b5tl2jawmvwtd"]
[gd_scene load_steps=13 format=3 uid="uid://b5tl2jawmvwtd"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_d5tpe"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_xassj"]
@@ -28,9 +28,6 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -39,6 +36,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_xlatl"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_m57jb"]
radius = 5.81592
[node name="Gesthemii" type="Node3D"]
script = ExtResource("1_d5tpe")
Dialogue = ExtResource("2_xassj")
@@ -51,15 +54,6 @@ sprite_frames = SubResource("SpriteFrames_yguia")
autoplay = "default"
frame_progress = 0.621314
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -84,3 +78,23 @@ cast_shadow = 0
modulate = Color(1, 1, 1, 0.625)
texture_filter = 0
texture = ExtResource("7_xlatl")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_xlatl")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_m57jb")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://bxybc56hq0566"]
[gd_scene load_steps=13 format=3 uid="uid://bxybc56hq0566"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_6dvbs"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_v6uui"]
@@ -34,9 +34,6 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -45,6 +42,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_fytn6"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_oy1li"]
radius = 5.81592
[node name="Gesthemii" type="Node3D"]
script = ExtResource("1_6dvbs")
Dialogue = ExtResource("2_v6uui")
@@ -56,15 +59,6 @@ sprite_frames = SubResource("SpriteFrames_21rbj")
autoplay = "default"
frame_progress = 0.103734
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -89,3 +83,23 @@ cast_shadow = 0
modulate = Color(1, 1, 1, 0.785)
texture_filter = 0
texture = ExtResource("7_fytn6")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_fytn6")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_oy1li")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://sv8yixbryu55"]
[gd_scene load_steps=13 format=3 uid="uid://sv8yixbryu55"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_ihoh1"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_ylaym"]
@@ -34,9 +34,6 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -45,6 +42,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_p8o3h"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_8bo0q"]
radius = 5.81592
[node name="Goddess of Guidance" type="Node3D"]
script = ExtResource("1_ihoh1")
Dialogue = ExtResource("2_ylaym")
@@ -66,15 +69,6 @@ sprite_frames = SubResource("SpriteFrames_lb2dk")
autoplay = "default"
frame_progress = 0.0978483
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -91,3 +85,23 @@ collision_mask = 2068
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hitbox"]
shape = SubResource("CylinderShape3D_nwuwj")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_p8o3h")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_8bo0q")

View File

@@ -10,6 +10,8 @@ public partial class Npc : Node3D
[Node] public Area3D DialogueZone { get; set; } = default!;
[Node] public Area3D DialogueExitZone { get; set; } = default!;
[Node] public Area3D Hitbox { get; set; } = default!;
[Export]
@@ -23,6 +25,7 @@ public partial class Npc : Node3D
SetPhysicsProcess(true);
DialogueZone.BodyEntered += DialogueZone_BodyEntered;
DialogueZone.BodyExited += DialogueZone_BodyExited;
DialogueExitZone.BodyExited += DialogueExitZone_BodyExited;
Hitbox.AreaEntered += Hitbox_AreaEntered;
}
@@ -48,6 +51,10 @@ public partial class Npc : Node3D
private void DialogueZone_BodyExited(Node3D body)
{
_isInDialogueZone = false;
}
private void DialogueExitZone_BodyExited(Node3D body)
{
DialogueController.Interrupt();
}

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://bhsoehmr37aws"]
[gd_scene load_steps=13 format=3 uid="uid://bhsoehmr37aws"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_knba1"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_dgby4"]
@@ -28,9 +28,6 @@ animations = [{
"speed": 4.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -39,6 +36,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_kvk3a"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_h28nr"]
radius = 5.81592
[node name="Proscenium" type="Node3D"]
script = ExtResource("1_knba1")
Dialogue = ExtResource("2_dgby4")
@@ -56,15 +59,6 @@ sprite_frames = SubResource("SpriteFrames_fbxbh")
autoplay = "default"
frame_progress = 0.250763
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -89,3 +83,23 @@ cast_shadow = 0
modulate = Color(1, 1, 1, 0.63)
texture_filter = 0
texture = ExtResource("7_kvk3a")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_kvk3a")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_h28nr")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=19 format=3 uid="uid://b6a0erl0euhgq"]
[gd_scene load_steps=20 format=3 uid="uid://b6a0erl0euhgq"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_5qwnr"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_j753f"]
@@ -97,9 +97,6 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 5.25195
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -108,6 +105,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_vbqit"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_moxl4"]
radius = 5.81592
[node name="Puer" type="Node3D"]
script = ExtResource("1_5qwnr")
Dialogue = ExtResource("2_j753f")
@@ -122,16 +125,6 @@ autoplay = "Idle"
billboard = 2
sprite_frames = SubResource("SpriteFrames_7w2s0")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.421529, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -156,3 +149,23 @@ cast_shadow = 0
modulate = Color(1, 1, 1, 0.663)
texture_filter = 0
texture = ExtResource("11_vbqit")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_vbqit")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_moxl4")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=51 format=3 uid="uid://jds3hr41coal"]
[gd_scene load_steps=52 format=3 uid="uid://jds3hr41coal"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_f3624"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_3udpp"]
@@ -159,9 +159,6 @@ animations = [{
"speed": 14.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -245,6 +242,12 @@ states/idle/node = SubResource("AnimationNodeAnimation_3udpp")
states/idle/position = Vector2(291, 80)
transitions = ["Start", "idle", SubResource("AnimationNodeStateMachineTransition_bww12")]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bww12"]
radius = 11.8086
[sub_resource type="CylinderShape3D" id="CylinderShape3D_jl1c6"]
radius = 18.1694
[node name="Ran" type="Node3D"]
script = ExtResource("1_f3624")
Dialogue = ExtResource("2_3udpp")
@@ -277,15 +280,6 @@ sprite_frames = SubResource("SpriteFrames_f3624")
animation = &"idle"
autoplay = "idle"
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 0
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -320,3 +314,23 @@ cast_shadow = 0
modulate = Color(1, 1, 1, 0.591)
texture_filter = 0
texture = ExtResource("39_bww12")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_bww12")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_jl1c6")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=15 format=3 uid="uid://d4l4qutp8x40c"]
[gd_scene load_steps=16 format=3 uid="uid://d4l4qutp8x40c"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_4xcbq"]
[ext_resource type="Resource" uid="uid://cf7ycgdiihyh" path="res://src/npc/Rat/ratdialogue.dialogue" id="2_ru5ai"]
@@ -74,7 +74,10 @@ animations = [{
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
radius = 5.88818
[sub_resource type="CylinderShape3D" id="CylinderShape3D_gb32p"]
radius = 9.76318
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
@@ -84,7 +87,7 @@ height = 2.8375
height = 2.24425
radius = 1.941
[node name="NPC" type="Node3D"]
[node name="Rat" type="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.263835, 0, 0)
script = ExtResource("1_4xcbq")
Dialogue = ExtResource("2_ru5ai")
@@ -123,6 +126,16 @@ collision_mask = 2
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_gb32p")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0978584, 0.0479951, 0)
collision_mask = 0

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://1g7jw72deonb"]
[gd_scene load_steps=13 format=3 uid="uid://1g7jw72deonb"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_13kbh"]
[ext_resource type="Resource" uid="uid://lao0opxww3ib" path="res://src/dialog/Dialogue.dialogue" id="2_4em6t"]
@@ -34,9 +34,6 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wfhgc"]
radius = 3.0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kg3qv"]
radius = 0.837722
height = 2.8375
@@ -45,6 +42,12 @@ height = 2.8375
height = 2.24425
radius = 1.941
[sub_resource type="CylinderShape3D" id="CylinderShape3D_8crcx"]
radius = 3.83154
[sub_resource type="CylinderShape3D" id="CylinderShape3D_br2sn"]
radius = 5.81592
[node name="Seshat" type="Node3D"]
script = ExtResource("1_13kbh")
Dialogue = ExtResource("2_4em6t")
@@ -57,15 +60,6 @@ sprite_frames = SubResource("SpriteFrames_ht37r")
autoplay = "default"
frame_progress = 0.356716
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00131226, 0, -0.00723076)
shape = SubResource("CylinderShape3D_wfhgc")
[node name="Collision" type="RigidBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.105047, -0.0490516, 0)
collision_mask = 0
@@ -90,3 +84,23 @@ cast_shadow = 0
modulate = Color(1, 1, 1, 0.635)
texture_filter = 0
texture = ExtResource("7_8crcx")
[node name="DialogueZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_8crcx")
[node name="DialogueExitZone" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.273779, 0, 0)
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="DialogueExitZone"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00627995, 0, -0.00723076)
shape = SubResource("CylinderShape3D_br2sn")

View File

@@ -116,9 +116,9 @@ theme_override_styles/panel = SubResource("StyleBoxEmpty_g5mp8")
[node name="MarginContainer" type="MarginContainer" parent="Balloon/Panel"]
layout_mode = 2
offset_top = 780.0
offset_right = 1920.0
offset_bottom = 1080.0
offset_top = 700.0
offset_right = 1437.0
offset_bottom = 1060.0
theme_override_constants/margin_left = 150
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50