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,6 +1,7 @@
[gd_scene load_steps=9 format=4 uid="uid://r5d74jsx8tq6"]
[gd_scene load_steps=14 format=4 uid="uid://r5d74jsx8tq6"]
[ext_resource type="Texture2D" uid="uid://35g2bx4vh3wd" path="res://src/map/assets/Steles/Steles_IMG0031.png" id="1_6obim"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_ochsp"]
[ext_resource type="Texture2D" uid="uid://c8nvb5jn8f6k1" path="res://src/map/assets/Steles/Steles_Untitled-1.png" id="2_ochsp"]
[ext_resource type="Texture2D" uid="uid://bwelhd4sx7mkw" path="res://src/map/assets/Steles/Steles_COPPEROX.jpg" id="3_4nuqd"]
@@ -102,7 +103,24 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_vep6p")
[node name="SteleA" type="Node3D"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_4nuqd"]
height = 20.9375
radius = 9.34375
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1snst"]
height = 15.5671
radius = 15.1045
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ochsp"]
height = 3.86572
radius = 1.21191
[sub_resource type="CylinderShape3D" id="CylinderShape3D_jdh7s"]
height = 4.34136
radius = 1.941
[node name="SteleB" type="Node3D"]
script = ExtResource("1_ochsp")
[node name="Steles_" type="Node3D" parent="."]
@@ -110,3 +128,42 @@ shadow_mesh = SubResource("ArrayMesh_vep6p")
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 1.21845, 0)
mesh = SubResource("ArrayMesh_emikr")
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_4nuqd")
[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_1snst")
[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.0919093, 0.932861, 0.069788)
shape = SubResource("CylinderShape3D_ochsp")
[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.295321, 1.04856, 0)
shape = SubResource("CylinderShape3D_jdh7s")