carto-revive/res/scene/test.tscn

121 lines
4.5 KiB
Plaintext
Raw Permalink Normal View History

2024-11-06 09:16:43 -05:00
[gd_scene load_steps=15 format=3 uid="uid://tht1tf5iq6lw"]
2024-10-21 10:21:59 -04:00
2024-11-01 09:39:46 -04:00
[ext_resource type="Script" path="res://src/Craft/Krakensbane.cs" id="1_ju4qj"]
[ext_resource type="Script" path="res://src/Testing/TestThruster.cs" id="2_1t1tx"]
2024-11-06 09:16:43 -05:00
[ext_resource type="Script" path="res://src/Testing/DebugUI.cs" id="3_gx3yn"]
2024-10-22 09:46:21 -04:00
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_uxbcq"]
[sub_resource type="Sky" id="Sky_iakm3"]
sky_material = SubResource("PhysicalSkyMaterial_uxbcq")
[sub_resource type="Environment" id="Environment_0rcmt"]
background_mode = 2
sky = SubResource("Sky_iakm3")
[sub_resource type="CameraAttributesPhysical" id="CameraAttributesPhysical_irbnp"]
[sub_resource type="Compositor" id="Compositor_tt8nt"]
2024-11-06 09:16:43 -05:00
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_sjyiu"]
2024-11-01 09:39:46 -04:00
[sub_resource type="BoxShape3D" id="BoxShape3D_8al46"]
[sub_resource type="BoxMesh" id="BoxMesh_jgj3c"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xxi7g"]
size = Vector3(16.9697, 0.0310059, 15.6934)
[sub_resource type="PlaneMesh" id="PlaneMesh_xcndr"]
size = Vector2(20, 20)
2024-11-06 09:16:43 -05:00
[sub_resource type="LabelSettings" id="LabelSettings_v1h1b"]
2024-10-22 09:46:21 -04:00
[node name="root" type="Node3D"]
2024-11-01 09:39:46 -04:00
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.767277, -0.356166, -0.533322, 0.641316, 0.42612, 0.638072, 0, -0.831605, 0.555367, -9.52374, 5.38917, 8.97674)
2024-10-22 09:46:21 -04:00
2024-11-01 09:39:46 -04:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_0rcmt")
camera_attributes = SubResource("CameraAttributesPhysical_irbnp")
compositor = SubResource("Compositor_tt8nt")
2024-10-22 09:46:21 -04:00
2024-11-01 09:39:46 -04:00
[node name="FloatingOriginRoot" type="Node3D" parent="." node_paths=PackedStringArray("FocusedVessel")]
script = ExtResource("1_ju4qj")
FocusedVessel = NodePath("test-rocket")
2024-10-22 09:46:21 -04:00
2024-11-01 09:39:46 -04:00
[node name="test-rocket" type="RigidBody3D" parent="FloatingOriginRoot"]
2024-10-22 09:46:21 -04:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.815224, 0)
2024-11-06 09:16:43 -05:00
physics_material_override = SubResource("PhysicsMaterial_sjyiu")
2024-11-01 09:39:46 -04:00
script = ExtResource("2_1t1tx")
2024-10-22 09:46:21 -04:00
2024-11-01 09:39:46 -04:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="FloatingOriginRoot/test-rocket"]
2024-10-22 09:46:21 -04:00
shape = SubResource("BoxShape3D_8al46")
2024-11-01 09:39:46 -04:00
[node name="MeshInstance3D" type="MeshInstance3D" parent="FloatingOriginRoot/test-rocket"]
2024-10-22 09:46:21 -04:00
mesh = SubResource("BoxMesh_jgj3c")
2024-11-01 09:39:46 -04:00
[node name="Camera3D" type="Camera3D" parent="FloatingOriginRoot/test-rocket"]
2024-10-22 09:46:21 -04:00
transform = Transform3D(1, 0, 0, 0, 0.91772, 0.397228, 0, -0.397228, 0.91772, 0, 4.51745, 14.147)
current = true
2024-11-01 09:39:46 -04:00
[node name="ground" type="StaticBody3D" parent="FloatingOriginRoot"]
disable_mode = 1
input_ray_pickable = false
2024-10-22 09:46:21 -04:00
2024-11-01 09:39:46 -04:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="FloatingOriginRoot/ground"]
shape = SubResource("BoxShape3D_xxi7g")
[node name="MeshInstance3D" type="MeshInstance3D" parent="FloatingOriginRoot/ground"]
mesh = SubResource("PlaneMesh_xcndr")
2024-11-06 09:16:43 -05:00
[node name="DebugUI" type="Panel" parent="." node_paths=PackedStringArray("minimapContainer", "planetOutline", "vesselIndicator", "krakensbane", "displayLabel")]
offset_left = 1508.0
offset_top = 62.0
offset_right = 1868.0
offset_bottom = 542.0
script = ExtResource("3_gx3yn")
minimapContainer = NodePath("VBoxContainer/MinimapContainer")
planetOutline = NodePath("VBoxContainer/MinimapContainer/Polygon2D")
vesselIndicator = NodePath("VBoxContainer/MinimapContainer/ColorRect")
krakensbane = NodePath("../FloatingOriginRoot")
displayLabel = NodePath("VBoxContainer/Label")
[node name="VBoxContainer" type="VBoxContainer" parent="DebugUI"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="MinimapContainer" type="Control" parent="DebugUI/VBoxContainer"]
custom_minimum_size = Vector2(0, 360)
layout_mode = 2
[node name="Polygon2D" type="Polygon2D" parent="DebugUI/VBoxContainer/MinimapContainer"]
color = Color(0.287295, 0.287295, 0.287295, 1)
polygon = PackedVector2Array(116, 83, 96, 201, 274, 248, 289, 140, 119, 85)
[node name="y-axis" type="Line2D" parent="DebugUI/VBoxContainer/MinimapContainer"]
points = PackedVector2Array(180, 180, 180, 0)
width = 2.0
default_color = Color(0.286275, 0.290196, 1, 1)
[node name="x-axis" type="Line2D" parent="DebugUI/VBoxContainer/MinimapContainer"]
points = PackedVector2Array(180, 180, 360, 180)
width = 2.0
default_color = Color(0.671919, 0.312344, 0.0459558, 1)
[node name="ColorRect" type="ColorRect" parent="DebugUI/VBoxContainer/MinimapContainer"]
layout_mode = 0
offset_right = 10.0
offset_bottom = 10.0
pivot_offset = Vector2(5, 5)
[node name="Label" type="Label" parent="DebugUI/VBoxContainer"]
layout_mode = 2
text = "Position"
label_settings = SubResource("LabelSettings_v1h1b")