357 lines
12 KiB
Plaintext
357 lines
12 KiB
Plaintext
[gd_scene load_steps=28 format=3 uid="uid://fhnrl3dregsm"]
|
|
|
|
[ext_resource type="Script" uid="uid://b4tpigoloyxu0" path="res://stages/cockpit/scripts/cockpit.gd" id="1_koamw"]
|
|
[ext_resource type="Shader" uid="uid://bv2rghn44mrrf" path="res://stages/title_screen/resources/shaders/stars.gdshader" id="1_sk3hm"]
|
|
[ext_resource type="PackedScene" uid="uid://xsllr3c4yde1" path="res://stages/cockpit/assets/3d/cockpit.blend" id="2_3b5pk"]
|
|
[ext_resource type="Texture2D" uid="uid://l2xplg72hs6j" path="res://common/icons/map-pin.svg" id="3_3b5pk"]
|
|
[ext_resource type="PackedScene" uid="uid://cm5b7w7j6527f" path="res://stages/title_screen/planet_3d.tscn" id="3_oq6nq"]
|
|
[ext_resource type="Texture2D" uid="uid://dks6cugwif2em" path="res://common/icons/phone.svg" id="4_bse8l"]
|
|
[ext_resource type="Texture2D" uid="uid://dex283rx00fjb" path="res://common/icons/logout.svg" id="5_oq6nq"]
|
|
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://stages/cockpit/scripts/cockpit_action.gd" id="6_22o3l"]
|
|
[ext_resource type="Script" uid="uid://jsxatpqfid88" path="res://stages/cockpit/scripts/cockpit_camera.gd" id="8_koamw"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7a1qq"]
|
|
shader = ExtResource("1_sk3hm")
|
|
shader_parameter/sky_color = Color(0.03, 0.05, 0.11, 1)
|
|
shader_parameter/star_base_color = Color(0.8, 1, 0.3, 1)
|
|
shader_parameter/star_hue_offset = 0.6
|
|
shader_parameter/star_intensity = 0.08
|
|
shader_parameter/star_twinkle_speed = 0.8
|
|
shader_parameter/star_twinkle_intensity = 0.2
|
|
shader_parameter/layer_scale = 20.0
|
|
shader_parameter/layer_scale_step = 10.0
|
|
shader_parameter/layers_count = 3
|
|
|
|
[sub_resource type="Sky" id="Sky_65b6a"]
|
|
sky_material = SubResource("ShaderMaterial_7a1qq")
|
|
|
|
[sub_resource type="Environment" id="Environment_ers7b"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_65b6a")
|
|
sky_custom_fov = 61.7
|
|
ambient_light_source = 3
|
|
ambient_light_color = Color(1, 1, 1, 1)
|
|
ambient_light_sky_contribution = 0.85
|
|
ambient_light_energy = 2.0
|
|
reflected_light_source = 2
|
|
tonemap_mode = 2
|
|
tonemap_exposure = 0.7
|
|
tonemap_white = 1.84
|
|
glow_enabled = true
|
|
glow_intensity = 0.22
|
|
glow_bloom = 0.22
|
|
glow_hdr_threshold = 0.79
|
|
glow_hdr_scale = 0.0
|
|
glow_hdr_luminance_cap = 5.63
|
|
fog_light_energy = 0.58
|
|
fog_density = 0.0
|
|
fog_sky_affect = 0.0
|
|
adjustment_enabled = true
|
|
adjustment_saturation = 1.3
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_22o3l"]
|
|
seed = -1177198901
|
|
frequency = 1.0
|
|
|
|
[sub_resource type="Animation" id="Animation_koamw"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("../Planet3d:rotation:z")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_22o3l"]
|
|
resource_name = "turn"
|
|
length = 50.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("../Planet3d:rotation:z")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 50),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, -6.283]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_biiuk"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_koamw"),
|
|
&"turn": SubResource("Animation_22o3l")
|
|
}
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_3b5pk"]
|
|
radius = 0.5618684
|
|
|
|
[sub_resource type="Animation" id="Animation_eodxe"]
|
|
resource_name = "hover"
|
|
length = 0.6
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite3D:scale")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(1, 1, 1), Vector3(1.4, 1.4, 1.4), Vector3(1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_a2cx2"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite3D:scale")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6o275"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_a2cx2"),
|
|
&"hover": SubResource("Animation_eodxe")
|
|
}
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_oq6nq"]
|
|
|
|
[sub_resource type="Animation" id="Animation_biiuk"]
|
|
resource_name = "hover"
|
|
length = 0.6
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite3D:scale")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.3, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0.4, 0.4, 0.4), Vector3(0.6, 0.6, 0.6), Vector3(0.4, 0.4, 0.4)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite3D2:scale")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.3, 0.6),
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0.4, 0.4, 0.4), Vector3(0.6, 0.6, 0.6), Vector3(0.4, 0.4, 0.4)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_j2e5k"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite3D:scale")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0.4, 0.4, 0.4)]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Sprite3D2:scale")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0.4, 0.4, 0.4)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_eodxe"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_j2e5k"),
|
|
&"hover": SubResource("Animation_biiuk")
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_oq6nq"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Camera3D:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0.35664433]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Camera3D:position:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_bse8l"]
|
|
resource_name = "arrive"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Camera3D:position:x")
|
|
tracks/0/interp = 2
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [1.5, 0.4649279]
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("Camera3D:position:y")
|
|
tracks/1/interp = 2
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.23333333, 0.5, 0.73333335, 1),
|
|
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
|
"update": 0,
|
|
"values": [0.0, -0.1, 0.0, -0.1, 0.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_4qr0g"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_oq6nq"),
|
|
&"arrive": SubResource("Animation_bse8l")
|
|
}
|
|
|
|
[node name="Cockpit" type="Node3D"]
|
|
script = ExtResource("1_koamw")
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_ers7b")
|
|
|
|
[node name="Cockpit" parent="." instance=ExtResource("2_3b5pk")]
|
|
|
|
[node name="Planet3d" parent="." instance=ExtResource("3_oq6nq")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -33.448, -83.679, 0)
|
|
radius = 80.0
|
|
details = 112
|
|
noise = SubResource("FastNoiseLite_22o3l")
|
|
height = 11.26
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Planet3d"]
|
|
root_node = NodePath("../../ArriveAnimationPlayer")
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_biiuk")
|
|
}
|
|
autoplay = "turn"
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(0.88172376, -0.122102074, 0.45569107, -0.47176614, -0.22820692, 0.8516797, 0, -0.9659259, -0.25881907, 0.03206873, 3.2286942, -1.7533616)
|
|
light_color = Color(0.6287269, 0.4718002, 0.27988377, 1)
|
|
light_energy = 1.815
|
|
shadow_enabled = true
|
|
directional_shadow_mode = 1
|
|
directional_shadow_split_1 = 0.039
|
|
|
|
[node name="MapAction" type="Area3D" parent="." node_paths=PackedStringArray("animation_player")]
|
|
transform = Transform3D(-4.371139e-08, -0.9816273, 0.19080897, 0, 0.19080897, 0.9816273, -1, 4.290829e-08, -8.340525e-09, -0.652, -0.162, 0)
|
|
script = ExtResource("6_22o3l")
|
|
animation_player = NodePath("AnimationPlayer")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="MapAction"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 3.5787761e-16, 0, -3.5787761e-16, 1, 0, 0, 0)
|
|
texture = ExtResource("3_3b5pk")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MapAction"]
|
|
transform = Transform3D(1, 2.1316282e-14, -5.3290705e-15, 0, 1, -3.5787743e-16, 0, -3.5787748e-16, 1, 4.1635495e-10, -0.011038661, -0.10670784)
|
|
shape = SubResource("SphereShape3D_3b5pk")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="MapAction"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_6o275")
|
|
}
|
|
|
|
[node name="Communications" type="Area3D" parent="."]
|
|
visible = false
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="Communications"]
|
|
transform = Transform3D(-1.7484556e-08, 0, -0.4, 0, 0.4, 0, 0.4, 0, -1.7484556e-08, -0.925, 0.13795245, -0.8395888)
|
|
texture = ExtResource("4_bse8l")
|
|
|
|
[node name="ExitAction" type="Area3D" parent="." node_paths=PackedStringArray("animation_player")]
|
|
unique_name_in_owner = true
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0.35664433, 0, 0)
|
|
script = ExtResource("6_22o3l")
|
|
animation_player = NodePath("AnimationPlayer")
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="ExitAction"]
|
|
transform = Transform3D(0.3899745, 0, -0.08899378, 0, 0.4, 0, 0.08899378, 0, 0.3899745, 1.22, -0.572, -1.003)
|
|
texture = ExtResource("5_oq6nq")
|
|
|
|
[node name="Sprite3D2" type="Sprite3D" parent="ExitAction"]
|
|
transform = Transform3D(0.38990447, 0, 0.089300044, 0, 0.4, 0, -0.089300044, 0, 0.38990447, -1.22, -0.572, -1.003)
|
|
flip_h = true
|
|
texture = ExtResource("5_oq6nq")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="ExitAction"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.1033944, -0.664206, -0.880886)
|
|
shape = SubResource("SphereShape3D_oq6nq")
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="ExitAction"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.103, -0.664, -0.881)
|
|
shape = SubResource("SphereShape3D_oq6nq")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="ExitAction"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_eodxe")
|
|
}
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0.35664433, 0, 0)
|
|
fov = 92.8
|
|
near = 0.003
|
|
script = ExtResource("8_koamw")
|
|
|
|
[node name="ArriveAnimationPlayer" type="AnimationPlayer" parent="."]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_4qr0g")
|
|
}
|
|
autoplay = "arrive"
|
|
|
|
[connection signal="clicked" from="MapAction" to="." method="_on_map_action_clicked"]
|
|
[connection signal="clicked" from="ExitAction" to="." method="_on_exit_action_clicked"]
|