Add sample Stele to overworld

This commit is contained in:
2026-02-12 21:39:10 -08:00
parent d503413140
commit c755485855
29 changed files with 490 additions and 72 deletions

View File

@@ -1,5 +1,6 @@
[gd_scene load_steps=7 format=4 uid="uid://b3owhc620qisb"]
[gd_scene load_steps=12 format=4 uid="uid://b3owhc620qisb"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_c03g6"]
[ext_resource type="Texture2D" uid="uid://dcodsa21o3syb" path="res://src/map/assets/Steles/Steles_C024_C.jpg" id="1_o7s11"]
[ext_resource type="Texture2D" uid="uid://c8nvb5jn8f6k1" path="res://src/map/assets/Steles/Steles_Untitled-1.png" id="2_u6crp"]
@@ -73,7 +74,24 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_ein7a")
[sub_resource type="CylinderShape3D" id="CylinderShape3D_c03g6"]
height = 20.9375
radius = 9.34375
[sub_resource type="CylinderShape3D" id="CylinderShape3D_xkojd"]
height = 15.5671
radius = 15.1045
[sub_resource type="CylinderShape3D" id="CylinderShape3D_flixp"]
height = 5.79199
radius = 1.16748
[sub_resource type="CylinderShape3D" id="CylinderShape3D_hrxn4"]
height = 5.2554
radius = 1.941
[node name="SteleA" type="Node3D"]
script = ExtResource("1_c03g6")
[node name="Steles_" type="Node3D" parent="."]
@@ -83,3 +101,42 @@ shadow_mesh = SubResource("ArrayMesh_ein7a")
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, -8.22186, 1.13704, 0)
mesh = SubResource("ArrayMesh_ejdd3")
skeleton = NodePath("")
[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, 1.69336, -0.00723076)
shape = SubResource("CylinderShape3D_c03g6")
[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, 1.62122, -0.00723076)
shape = SubResource("CylinderShape3D_xkojd")
[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
gravity_scale = 0.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collision"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.155303, 1.896, 0.348136)
shape = SubResource("CylinderShape3D_flixp")
[node name="Hitbox" type="Area3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.269574, 0, 0)
collision_layer = 0
collision_mask = 2068
[node name="CollisionShape3D" type="CollisionShape3D" parent="Hitbox"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.31993, 2.22978, 0.307625)
shape = SubResource("CylinderShape3D_hrxn4")