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=8 format=4 uid="uid://d6pjtdg6wh38"]
[gd_scene load_steps=13 format=4 uid="uid://d6pjtdg6wh38"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_38s7d"]
[ext_resource type="Texture2D" uid="uid://br0vjonsyq32m" path="res://src/map/assets/Steles/Steles_ALUMPLAT.jpg" id="1_hc3bc"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a85ng"]
@@ -106,7 +107,23 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_vdjci")
[node name="SteleA" type="Node3D"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_y65cn"]
height = 20.9375
radius = 9.34375
[sub_resource type="CylinderShape3D" id="CylinderShape3D_qws0o"]
height = 15.5671
radius = 15.1045
[sub_resource type="CylinderShape3D" id="CylinderShape3D_38s7d"]
radius = 0.709473
[sub_resource type="CylinderShape3D" id="CylinderShape3D_sma6b"]
height = 2.24425
radius = 1.941
[node name="SteleF" type="Node3D"]
script = ExtResource("1_38s7d")
[node name="Steles_" type="Node3D" parent="."]
@@ -119,3 +136,42 @@ skeleton = NodePath("")
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, -4.08766, 1.19309, -0.200031)
mesh = SubResource("ArrayMesh_sqhs8")
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_y65cn")
[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_qws0o")
[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.142489, 0.965266, 0.039897)
shape = SubResource("CylinderShape3D_38s7d")
[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, 1.36016, 0)
shape = SubResource("CylinderShape3D_sma6b")