39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://xneiqls2cte6"]
|
|
|
|
[ext_resource type="Script" path="res://addons/SimpleDungeons/DungeonGenerator3D.gd" id="1_2rl20"]
|
|
[ext_resource type="PackedScene" uid="uid://bs25ojrv57lvf" path="res://dungeon_test/dungeon_room.tscn" id="2_gw3xb"]
|
|
[ext_resource type="PackedScene" uid="uid://cf3eviiwpqb5r" path="res://dungeon_test/node_3d.tscn" id="3_08u4w"]
|
|
[ext_resource type="Script" path="res://CharacterBody3d.cs" id="4_02x0n"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1hq3o"]
|
|
height = 1.5
|
|
|
|
[node name="DungeonGenerator3D" type="Node3D"]
|
|
script = ExtResource("1_2rl20")
|
|
room_scenes = Array[PackedScene]([ExtResource("2_gw3xb")])
|
|
corridor_room_scene = ExtResource("3_08u4w")
|
|
dungeon_size = Vector3i(10, 1, 10)
|
|
voxel_scale = Vector3(2, 2, 4)
|
|
generate_on_ready = false
|
|
|
|
[node name="CharacterBody3D" type="CharacterBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.710277, -0.335599, 2.8987)
|
|
axis_lock_linear_x = true
|
|
axis_lock_linear_y = true
|
|
axis_lock_linear_z = true
|
|
axis_lock_angular_x = true
|
|
axis_lock_angular_y = true
|
|
axis_lock_angular_z = true
|
|
motion_mode = 1
|
|
platform_on_leave = 2
|
|
script = ExtResource("4_02x0n")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D"]
|
|
shape = SubResource("CapsuleShape3D_1hq3o")
|
|
|
|
[node name="OmniLight3D" type="OmniLight3D" parent="CharacterBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.43104, 0, 0.890184)
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.710277, -0.0942499, 2.5558)
|