Files
mercury/main.tscn

83 lines
3.5 KiB
Plaintext

[gd_scene format=3 uid="uid://biwfc6l2lnu11"]
[ext_resource type="Script" uid="uid://b83vmbx10mlqe" path="res://ship_controller.gd" id="1_0xm2m"]
[ext_resource type="PackedScene" uid="uid://iogkdi8dv0nv" path="res://projectile.tscn" id="2_1bvp3"]
[ext_resource type="Script" uid="uid://inqwtwfui2tr" path="res://ship_camera.gd" id="2_h2yge"]
[sub_resource type="BoxMesh" id="BoxMesh_1bvp3"]
[sub_resource type="BoxShape3D" id="BoxShape3D_lquwl"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_h2yge"]
[sub_resource type="Sky" id="Sky_1bvp3"]
sky_material = SubResource("ProceduralSkyMaterial_h2yge")
[sub_resource type="Environment" id="Environment_0xm2m"]
background_mode = 2
sky = SubResource("Sky_1bvp3")
ambient_light_source = 3
[node name="Main" type="Node3D" unique_id=1472247091]
[node name="Ship" type="CharacterBody3D" parent="." unique_id=122234868 node_paths=PackedStringArray("ship_model", "muzzle")]
script = ExtResource("1_0xm2m")
turn_speed = 4.975
projectile_scene = ExtResource("2_1bvp3")
ship_model = NodePath("ShipModel")
muzzle = NodePath("Muzzle")
[node name="ShipModel" type="MeshInstance3D" parent="Ship" unique_id=352448396]
mesh = SubResource("BoxMesh_1bvp3")
[node name="HoverRay" type="RayCast3D" parent="Ship" unique_id=1076533010]
target_position = Vector3(0, -5, 0)
[node name="Muzzle" type="Marker3D" parent="Ship" unique_id=322799309]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.5)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Ship" unique_id=567390614]
shape = SubResource("BoxShape3D_lquwl")
[node name="CameraRig" type="Node3D" parent="." unique_id=920354244 node_paths=PackedStringArray("target")]
script = ExtResource("2_h2yge")
target = NodePath("../Ship")
follow_distance = 8.57
position_smoothing = 18.56
rotation_smoothing = 14.5
[node name="Camera3D" type="Camera3D" parent="CameraRig" unique_id=2079353001]
[node name="CSGCombiner3D" type="CSGCombiner3D" parent="." unique_id=1690012445]
[node name="CSGBox3D" type="CSGBox3D" parent="CSGCombiner3D" unique_id=2019756943]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 0.07247639, -21.964855)
[node name="CSGBox3D2" type="CSGBox3D" parent="CSGCombiner3D" unique_id=842749163]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24, 0.07247639, 17.169182)
[node name="CSGBox3D3" type="CSGBox3D" parent="CSGCombiner3D" unique_id=2106821369]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36, 6.410921, -17.84053)
[node name="CSGBox3D4" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1236194522]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -48, 6.410921, 14.210682)
[node name="CSGBox3D5" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1570750803]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36, -5.170101, -25.111805)
[node name="CSGBox3D6" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1205494666]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -51.54701, 1.1025181, 0)
[node name="CSGBox3D7" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1295905165]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -60, 12.749367, -34.99634)
[node name="CSGBox3D8" type="CSGBox3D" parent="CSGCombiner3D" unique_id=749127710]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -72, 12.749367, 0)
[node name="CSGBox3D9" type="CSGBox3D" parent="CSGCombiner3D" unique_id=1499064177]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -16.63602, 0)
size = Vector3(500, 1, 500)
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1014540785]
environment = SubResource("Environment_0xm2m")