breadwinner/maps/dev_map.tscn44723291756.tmp
Balogh Krisztián 6231073ad6 little restructure again, added CONSOLE!!!!
somewhat working console, fully developed from the ground up

some things work with it, but its still pretty buggy

currently runs on global autoload because its the easiest way rn, later on have to change it so that only if the player is in the game and console is enabled it can be toggled
2026-07-31 02:38:02 +02:00

119 lines
5.4 KiB
Text

[gd_scene format=3 uid="uid://chykk2a3opu0d"]
[ext_resource type="PackedScene" uid="uid://kqq30y24c6kd" path="res://scenes/player/player.tscn" id="1_s8b7j"]
[ext_resource type="AudioStream" uid="uid://b6wlbiittcu48" path="res://assets/sounds/ambiance/harmonika-paulstretched.mp3" id="2_afrty"]
[ext_resource type="Script" uid="uid://y8x4svl5kej2" path="res://addons/spatial_audio_3d/spatial_audio_3d.gd" id="4_yb1w3"]
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_g4v7s"]
[sub_resource type="PlaneMesh" id="PlaneMesh_g4v7s"]
[sub_resource type="BoxShape3D" id="BoxShape3D_g4v7s"]
[sub_resource type="BoxMesh" id="BoxMesh_g4v7s"]
[sub_resource type="BoxShape3D" id="BoxShape3D_yf5fn"]
[sub_resource type="BoxMesh" id="BoxMesh_yf5fn"]
[sub_resource type="BoxShape3D" id="BoxShape3D_57qmd"]
size = Vector3(20.447998, 11.038544, 1)
[node name="DevMap" type="Node3D" unique_id=471389571]
[node name="Plane" type="StaticBody3D" parent="." unique_id=1943923809]
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="Plane" unique_id=2072732464]
shape = SubResource("WorldBoundaryShape3D_g4v7s")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Plane" unique_id=810695750]
transform = Transform3D(9.905844, 0, 0, 0, 1, 0, 0, 0, 9.900972, 0, 0, 0)
mesh = SubResource("PlaneMesh_g4v7s")
[node name="TestObject" type="RigidBody3D" parent="." unique_id=1889494210]
transform = Transform3D(0.9224609, 0.38609046, 0, -0.38609046, 0.9224609, 0, 0, 0, 1, 1.1603341, 0.9219521, -1.1464608)
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="TestObject" unique_id=507616212]
shape = SubResource("BoxShape3D_g4v7s")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TestObject" unique_id=1356474788]
mesh = SubResource("BoxMesh_g4v7s")
[node name="TestObjectGrabbable" type="RigidBody3D" parent="." unique_id=162241126 groups=["grabbable"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.776662, -3.2358055)
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="TestObjectGrabbable" unique_id=2049402651]
shape = SubResource("BoxShape3D_yf5fn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TestObjectGrabbable" unique_id=1899834557]
mesh = SubResource("BoxMesh_yf5fn")
[node name="TestObjectEquippable" type="RigidBody3D" parent="." unique_id=1086000939]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.874709, 1.0290127, -3.1515453)
collision_layer = 17
collision_mask = 17
[node name="CollisionShape3D" type="CollisionShape3D" parent="TestObjectEquippable" unique_id=740741417]
shape = SubResource("BoxShape3D_yf5fn")
[node name="MeshInstance3D" type="MeshInstance3D" parent="TestObjectEquippable" unique_id=1967579265]
mesh = SubResource("BoxMesh_yf5fn")
[node name="Player" parent="." unique_id=423228143 instance=ExtResource("1_s8b7j")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.77974355, 1.137004)
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=1317582521]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2949467, -3.755646)
[node name="SpatialAudio3D" type="AudioStreamPlayer3D" parent="." unique_id=351573539]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 15.887349, 4.01754, -1.2293816)
stream = ExtResource("2_afrty")
volume_db = -8.235
autoplay = true
max_distance = 1927.53
script = ExtResource("4_yb1w3")
occlusion_fadetime = 0.0
bass_proximity = 0
max_raycast_distance = 30
roomsize_multiplicator = 2.0
prox_reduction = 16.0
debug = true
metadata/_custom_type_script = "uid://y8x4svl5kej2"
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1656249102]
transform = Transform3D(1, 0, -1.7484555e-07, 0, 1, 0, 1.7484555e-07, 0, 1, 10.053528, 0, 9.284716)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=1173755237]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="StaticBody3D2" type="StaticBody3D" parent="." unique_id=23077148]
transform = Transform3D(-4.371138e-08, 0, -1, 0, 1, 0, 1, 0, -4.371138e-08, 10.053528, 0, 8.284716)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D2" unique_id=1774765140]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="StaticBody3D3" type="StaticBody3D" parent="." unique_id=2124365943]
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -8.946472, 0, -10.715284)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D3" unique_id=652377662]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="StaticBody3D4" type="StaticBody3D" parent="." unique_id=942386107]
transform = Transform3D(1.3113416e-07, 0, 1, 0, 1, 0, -1, 0, 1.3113416e-07, -8.946472, 0, -10.715284)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D4" unique_id=1055230632]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.723999, 5.019272, 0)
shape = SubResource("BoxShape3D_57qmd")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D4" unique_id=967910627]
transform = Transform3D(1, 1.3113416e-07, -1.3113416e-07, -1.3113416e-07, -4.371139e-08, -1, -1.3113416e-07, 1, -4.371137e-08, -9.723998, 10.984082, 10)
shape = SubResource("BoxShape3D_57qmd")