Dev 0.1
* Ajout des modes de jeu * Dev de subterra et estia * Ajout de tous les dialogues et traduction * Ajout d'un splashscreen
This commit is contained in:
@@ -28,7 +28,6 @@ glow_hdr_scale = 0.0
|
||||
glow_hdr_luminance_cap = 5.63
|
||||
fog_light_color = Color(0.13725491, 0.39215687, 0.6666667, 1)
|
||||
fog_sky_affect = 0.0
|
||||
volumetric_fog_enabled = true
|
||||
volumetric_fog_albedo = Color(0.13725491, 0.39215687, 0.6666667, 1)
|
||||
adjustment_enabled = true
|
||||
adjustment_saturation = 1.3
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
[ext_resource type="Script" uid="uid://fet6urfgiiwr" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/dashboard.gd" id="1_vks67"]
|
||||
[ext_resource type="PackedScene" uid="uid://cnx1xwc4uupmc" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/travel_screen/topology_content.tscn" id="2_lskho"]
|
||||
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="3_g7q16"]
|
||||
[ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="4_7u0n5"]
|
||||
[ext_resource type="Script" uid="uid://biqgucg78cx44" path="res://stages/3d_scenes/cockpit_scene/cockpit_elements/scripts/dashboard_main_screen.gd" id="4_vks67"]
|
||||
[ext_resource type="Script" uid="uid://ccb06rayqowp3" path="res://stages/terrain/region/scripts/modifiers/region_modifier.gd" id="5_7u0n5"]
|
||||
[ext_resource type="Texture2D" uid="uid://l2xplg72hs6j" path="res://common/icons/map-pin.svg" id="5_vks67"]
|
||||
@@ -47,9 +46,15 @@ viewport_path = NodePath("StatusScreen/SubViewport")
|
||||
font = ExtResource("3_g7q16")
|
||||
font_size = 24
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_y1ysr"]
|
||||
viewport_path = NodePath("DestinationScreen/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_psxhb"]
|
||||
font = ExtResource("3_g7q16")
|
||||
font_size = 18
|
||||
|
||||
[sub_resource type="Resource" id="Resource_lskho"]
|
||||
script = ExtResource("6_g7q16")
|
||||
region_name = "Ynynidqdzqdqdqz"
|
||||
region_seed = 4016897874
|
||||
|
||||
[sub_resource type="Resource" id="Resource_psxhb"]
|
||||
@@ -63,6 +68,10 @@ metadata/_custom_type_script = "uid://b4eimt3v08jhc"
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_qbi61"]
|
||||
viewport_path = NodePath("MainScreen/MainScreenSprite/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_v1m0r"]
|
||||
font = ExtResource("3_g7q16")
|
||||
font_size = 20
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vlkbw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
@@ -105,7 +114,7 @@ viewport_path = NodePath("RightScreen/RightScreenAction/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_lskho"]
|
||||
font = ExtResource("3_g7q16")
|
||||
font_size = 24
|
||||
font_size = 20
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_2q8cl"]
|
||||
radius = 0.34611636
|
||||
@@ -152,7 +161,7 @@ viewport_path = NodePath("LeftScreen/LeftScreenAction/SubViewport")
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_g7q16"]
|
||||
font = ExtResource("3_g7q16")
|
||||
font_size = 24
|
||||
font_size = 20
|
||||
|
||||
[sub_resource type="Animation" id="Animation_2kujw"]
|
||||
length = 0.001
|
||||
@@ -199,6 +208,7 @@ metadata/_custom_type_script = "uid://fnu2d6wna4yc"
|
||||
|
||||
[node name="Dashboard" type="Node3D" unique_id=1374334508]
|
||||
script = ExtResource("1_vks67")
|
||||
destination_text = null
|
||||
|
||||
[node name="Background" type="Sprite3D" parent="." unique_id=747271324]
|
||||
transform = Transform3D(-1, 0, 8.742278e-08, 5.2901907e-08, 0.79612875, 0.6051273, -6.9599785e-08, 0.6051273, -0.79612875, 0, 0.85765254, 1.1502768)
|
||||
@@ -274,6 +284,44 @@ label_settings = SubResource("LabelSettings_emtfq")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="DestinationScreen" type="Sprite3D" parent="." unique_id=1472417379]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1.0000002, 0, 8.742278e-08, 0, -1, 0, 1.4130048, 1.044728)
|
||||
pixel_size = 0.003
|
||||
texture = SubResource("ViewportTexture_y1ysr")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="DestinationScreen" unique_id=1558428448]
|
||||
disable_3d = true
|
||||
transparent_bg = true
|
||||
size = Vector2i(599, 73)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="DestinationScreen/SubViewport" unique_id=1059312518]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 10
|
||||
alignment = 1
|
||||
|
||||
[node name="DestinationTitleLabel" type="Label" parent="DestinationScreen/SubViewport/VBoxContainer" unique_id=1328787391]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "DESTINATION"
|
||||
label_settings = SubResource("LabelSettings_psxhb")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="DestinationLabel" type="Label" parent="DestinationScreen/SubViewport/VBoxContainer" unique_id=1714687976]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla "
|
||||
label_settings = SubResource("LabelSettings_emtfq")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="MainScreen" type="Area3D" parent="." unique_id=874806978 node_paths=PackedStringArray("icon", "label", "hover_animation_player")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.42284742, 0.4816055)
|
||||
@@ -295,7 +343,7 @@ texture = SubResource("ViewportTexture_qbi61")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="MainScreen/MainScreenSprite" unique_id=1101534363]
|
||||
transparent_bg = true
|
||||
size = Vector2i(217, 178)
|
||||
size = Vector2i(203, 187)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MainScreen/MainScreenSprite/SubViewport" unique_id=758261583]
|
||||
anchors_preset = 15
|
||||
@@ -305,12 +353,12 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="MainScreenIcon" type="TextureRect" parent="MainScreen/MainScreenSprite/SubViewport/VBoxContainer" unique_id=1128176178]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("5_vks67")
|
||||
expand_mode = 3
|
||||
@@ -319,8 +367,8 @@ stretch_mode = 5
|
||||
[node name="MainScreenLabel" type="Label" parent="MainScreen/MainScreenSprite/SubViewport/VBoxContainer" unique_id=2102392578]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Ynynizdq qd qdq qzdqdzq"
|
||||
label_settings = ExtResource("4_7u0n5")
|
||||
text = "Blablablabla blablabla blablabla"
|
||||
label_settings = SubResource("LabelSettings_v1m0r")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
@@ -345,13 +393,13 @@ transform = Transform3D(-1, -2.9802322e-08, -2.9802322e-08, 0, 1, 0, -2.9802322e
|
||||
|
||||
[node name="RightScreenAction" type="Sprite3D" parent="RightScreen" unique_id=1289027629]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-1, 2.9802298e-08, 1.509958e-07, 2.9802322e-08, 1.0000002, 2.0861621e-07, -1.509958e-07, 2.0861626e-07, -1, -0.01, -0.04, -0.015)
|
||||
transform = Transform3D(-1, 2.9802191e-08, 3.8941437e-07, 2.9802312e-08, 1.0000002, 3.278255e-07, -3.8941437e-07, 3.2782557e-07, -1, -0.029948413, -0.036905944, -0.010741368)
|
||||
pixel_size = 0.0015
|
||||
texture = SubResource("ViewportTexture_2ofl5")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="RightScreen/RightScreenAction" unique_id=837587699]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 180)
|
||||
size = Vector2i(200, 180)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="RightScreen/RightScreenAction/SubViewport" unique_id=536772063]
|
||||
anchors_preset = 15
|
||||
@@ -361,12 +409,12 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="RightScreenActionIcon" type="TextureRect" parent="RightScreen/RightScreenAction/SubViewport/VBoxContainer" unique_id=788824067]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("9_v1m0r")
|
||||
expand_mode = 3
|
||||
@@ -375,7 +423,7 @@ stretch_mode = 5
|
||||
[node name="RightScreenActionLabel" type="Label" parent="RightScreen/RightScreenAction/SubViewport/VBoxContainer" unique_id=2019588267]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "Uwoqos Uwoqos "
|
||||
text = "Blablablabla blablabla blabla"
|
||||
label_settings = SubResource("LabelSettings_lskho")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
@@ -402,13 +450,13 @@ metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
transform = Transform3D(1, -1.509958e-07, -8.742278e-08, 1.509958e-07, 1, -1.4901156e-08, 8.742278e-08, 1.49011425e-08, 1, 0, -0.07, 0.05)
|
||||
|
||||
[node name="LeftScreenAction" type="Sprite3D" parent="LeftScreen" unique_id=442886447]
|
||||
transform = Transform3D(-1, 5.3045827e-08, 1.509958e-07, 5.3045838e-08, 1.0000002, 1.5913756e-07, -1.5099579e-07, 1.5913761e-07, -1, 0.01, -0.04, -0.015)
|
||||
transform = Transform3D(-1, 8.940693e-08, 1.509958e-07, 8.9406946e-08, 1.0000002, 2.3841851e-07, -1.5099579e-07, 2.3841858e-07, -1, 0.025732845, -0.037885666, -0.012089372)
|
||||
pixel_size = 0.0015
|
||||
texture = SubResource("ViewportTexture_vks67")
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="LeftScreen/LeftScreenAction" unique_id=1031174751]
|
||||
transparent_bg = true
|
||||
size = Vector2i(150, 180)
|
||||
size = Vector2i(200, 180)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="LeftScreen/LeftScreenAction/SubViewport" unique_id=1664945780]
|
||||
anchors_preset = 15
|
||||
@@ -418,11 +466,11 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -10
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="LeftScreenActionIcon" type="TextureRect" parent="LeftScreen/LeftScreenAction/SubViewport/VBoxContainer" unique_id=266510290]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
custom_minimum_size = Vector2(80, 80)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("9_v1m0r")
|
||||
expand_mode = 3
|
||||
@@ -430,7 +478,7 @@ stretch_mode = 5
|
||||
|
||||
[node name="LeftScreenActionLabel" type="Label" parent="LeftScreen/LeftScreenAction/SubViewport/VBoxContainer" unique_id=448288889]
|
||||
layout_mode = 2
|
||||
text = "Uwoqos Uwoqos "
|
||||
text = "Blablablabla blablablabla blablabla"
|
||||
label_settings = SubResource("LabelSettings_g7q16")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -16,6 +16,8 @@ signal left_screen_activated
|
||||
|
||||
@export var status_text : String : set = set_status_text
|
||||
|
||||
@export var destination_text : String = "" : set = set_destination_text
|
||||
|
||||
@export var left_stop : RunPoint = null : set = set_left_stop
|
||||
@export var right_stop : RunPoint = null : set = set_right_stop
|
||||
|
||||
@@ -27,6 +29,7 @@ func _ready():
|
||||
set_main_screen_state()
|
||||
set_main_screen_run_point()
|
||||
set_status_text()
|
||||
set_destination_text()
|
||||
set_left_stop()
|
||||
set_right_stop()
|
||||
|
||||
@@ -40,6 +43,7 @@ func update_travel_screen(with_animation = true, recreate_map = false):
|
||||
var current_position = run_data.level + (0.5 if in_space else 0.)
|
||||
|
||||
%TravelScreenContent.story_step = run_data.story_step
|
||||
%TravelScreenContent.run_data = run_data
|
||||
%TravelScreenContent.current_position = current_position
|
||||
|
||||
%TravelScreenContent.update(with_animation, recreate_map)
|
||||
@@ -69,6 +73,12 @@ func set_status_text(v := status_text):
|
||||
if is_node_ready():
|
||||
%StatusLabel.text = v
|
||||
|
||||
func set_destination_text(v := destination_text):
|
||||
destination_text = v
|
||||
if is_node_ready():
|
||||
%DestinationScreen.visible = v != ""
|
||||
%DestinationLabel.text = v
|
||||
|
||||
func set_left_stop(v := left_stop):
|
||||
left_stop = v
|
||||
if is_node_ready():
|
||||
|
||||
+14
-12
@@ -22,6 +22,7 @@ const MAX_STEP = 8
|
||||
@export_tool_button("Update recreate", "Callable") var update_recreate_action = func (): update(true, true)
|
||||
|
||||
@export var current_position : float = 0
|
||||
@export var run_data : RunData
|
||||
@export var story_step : StoryStep
|
||||
@export var start : int = 0
|
||||
|
||||
@@ -32,10 +33,10 @@ var ship_icon : Sprite2D
|
||||
|
||||
func update(with_animation := true, recreate_map = false):
|
||||
|
||||
if is_node_ready() and story_step:
|
||||
if is_node_ready() and story_step and run_data:
|
||||
if recreate_map or not ship_icon:
|
||||
|
||||
if story_step and get_step_number() < story_step.get_region_sequence_length():
|
||||
if story_step and get_step_number() < story_step.get_region_sequence_length(run_data.difficulty_setting):
|
||||
start = floori(current_position)
|
||||
else:
|
||||
start = 0
|
||||
@@ -48,7 +49,7 @@ func update(with_animation := true, recreate_map = false):
|
||||
var icon = REGION_ICON
|
||||
if story_step and level == 0:
|
||||
icon = START_ICON
|
||||
elif story_step and level == story_step.get_region_sequence_length() - 1:
|
||||
elif story_step and level == story_step.get_region_sequence_length(run_data.difficulty_setting) - 1:
|
||||
icon = DESTINATION_ICON
|
||||
|
||||
var color = NEXT_COLOR
|
||||
@@ -57,19 +58,20 @@ func update(with_animation := true, recreate_map = false):
|
||||
elif level == current_position - start:
|
||||
color = CURRENT_COLOR
|
||||
|
||||
var modifiers := story_step.get_story_modifiers_for_region(level)
|
||||
modifiers.append_array(story_step.get_gameplay_modifiers_for_region(level))
|
||||
for m_i in range(len(modifiers)):
|
||||
spawn_icon(modifiers[m_i].get_icon(), Vector2(i,-m_i - 1),color, 0.7)
|
||||
if icon != START_ICON and icon != DESTINATION_ICON:
|
||||
var modifiers := story_step.get_story_modifiers_for_region(level, run_data.difficulty_setting)
|
||||
modifiers.append_array(story_step.get_gameplay_modifiers_for_region(level, run_data.difficulty_setting))
|
||||
for m_i in range(len(modifiers)):
|
||||
spawn_icon(modifiers[m_i].get_icon(), Vector2(i,-m_i - 1),color, 0.7)
|
||||
|
||||
if story_step.is_run_point_dangerous(level):
|
||||
spawn_icon(DANGER_ICON, Vector2(i,-len(modifiers) - 1),color, 0.7)
|
||||
if story_step.is_run_point_dangerous(level, run_data.difficulty_setting):
|
||||
spawn_icon(DANGER_ICON, Vector2(i,-len(modifiers) - 1),color, 0.7)
|
||||
|
||||
spawn_icon(icon, Vector2(i,0),color)
|
||||
|
||||
ship_icon = spawn_icon(SHIP_ICON, Vector2(current_position - start, 1), CURRENT_COLOR, 1)
|
||||
|
||||
if story_step and get_step_number() + start < story_step.get_region_sequence_length():
|
||||
if story_step and get_step_number() + start < story_step.get_region_sequence_length(run_data.difficulty_setting):
|
||||
spawn_icon(AND_MORE_ICON, Vector2(get_step_number(), 0), NEXT_COLOR)
|
||||
|
||||
if ship_icon and with_animation:
|
||||
@@ -101,8 +103,8 @@ func spawn_icon(texture : Texture, coord := Vector2.ZERO, color := Color.WHITE,
|
||||
return new_icon
|
||||
|
||||
func get_step_number() -> int:
|
||||
if story_step:
|
||||
return min(story_step.get_region_sequence_length(), MAX_STEP)
|
||||
if story_step and run_data:
|
||||
return min(story_step.get_region_sequence_length(run_data.difficulty_setting), MAX_STEP)
|
||||
return 0
|
||||
|
||||
func coord_to_pos(coord : Vector2) -> Vector2:
|
||||
|
||||
@@ -35,6 +35,8 @@ func _ready():
|
||||
if not "ship" in GameInfo.game_data.tutorials_done:
|
||||
await get_tree().create_timer(1).timeout
|
||||
%ShipTutorial.appear()
|
||||
|
||||
dashboard.destination_text = GameInfo.game_data.current_run.story_step.get_destination_text()
|
||||
|
||||
%MutationDiscoveryScreen.visible = GameInfo.game_data.game_mode == GameData.Mode.STORY
|
||||
%InfiniteModeScreen.visible = GameInfo.game_data.game_mode == GameData.Mode.INFINITE
|
||||
|
||||
Binary file not shown.
@@ -46,6 +46,11 @@ _subresources={
|
||||
"use_external/fallback_path": "res://common/assets/materials/default_3d.tres",
|
||||
"use_external/path": "uid://dvvi1k5c5iowc"
|
||||
},
|
||||
"Emission": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/emission_3d.tres",
|
||||
"use_external/path": "uid://up4oggtox1jp"
|
||||
},
|
||||
"Glass": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/glass_3d.tres",
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,141 @@
|
||||
[gd_scene format=3 uid="uid://o8l5ue4ki1u4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="1_rt5rq"]
|
||||
[ext_resource type="Shader" uid="uid://ommmdxlamjs7" path="res://common/vfx/materials/shaders/pearlescent.gdshader" id="2_q2kvt"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_g4v7s"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_4ljrk"]
|
||||
offsets = PackedFloat32Array(0.29918033, 0.65163934, 0.8729508)
|
||||
colors = PackedColorArray(1, 0.6509804, 0.09019608, 1, 0.5058824, 0.7137255, 0.20392157, 1, 1, 0.6509804, 0.09019608, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_4ljrk"]
|
||||
gradient = SubResource("Gradient_4ljrk")
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_hrhcu"]
|
||||
noise_type = 0
|
||||
frequency = 0.0048
|
||||
fractal_octaves = 1
|
||||
fractal_lacunarity = 1.0
|
||||
fractal_ping_pong_strength = 0.0
|
||||
|
||||
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_cy6g2"]
|
||||
noise = SubResource("FastNoiseLite_hrhcu")
|
||||
seamless = true
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hihdv"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("2_q2kvt")
|
||||
shader_parameter/fresnel_power = 4.745
|
||||
shader_parameter/interference_frequency = 3.54
|
||||
shader_parameter/color_ramp = SubResource("GradientTexture1D_4ljrk")
|
||||
shader_parameter/noise = SubResource("NoiseTexture2D_cy6g2")
|
||||
shader_parameter/noise_speed = 0.01
|
||||
shader_parameter/shift = Color(0.54509807, 0.1764706, 1, 1)
|
||||
shader_parameter/fresnel_color = Color(0.5882353, 0.7019608, 0.85882354, 1)
|
||||
shader_parameter/light_direction = Vector3(0, -1, 0)
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_pt3q5"]
|
||||
offsets = PackedFloat32Array(0.26086956, 0.70652175, 0.9927536)
|
||||
colors = PackedColorArray(1, 0, 0.43137255, 1, 0.54899985, 0.18, 1, 0.6, 0.54899985, 0.18, 1, 0)
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_pt3q5"]
|
||||
gradient = SubResource("Gradient_pt3q5")
|
||||
fill = 1
|
||||
fill_from = Vector2(0.5, 0.5)
|
||||
fill_to = Vector2(1, 0.5)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_4ljrk"]
|
||||
resource_name = "Pulse"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite3D:scale:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 3, 0),
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.1005427, -0.90000004, -0.0019688606, 0.90000004, 0.0019688606, 1, -0.16111112, 0, 0.1711111, 0),
|
||||
"times": PackedFloat32Array(0, 0.8, 1.9933333)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite3D:scale:y")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 3, 0),
|
||||
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1.0991166, -0.7, 0.00159657, 0.7, -0.00159657, 1, -0.15555556, 0, 0.17777777, 0),
|
||||
"times": PackedFloat32Array(0, 1.2666667, 2)
|
||||
}
|
||||
tracks/2/type = "bezier"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite3D:scale:z")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"handle_modes": PackedInt32Array(),
|
||||
"points": PackedFloat32Array(),
|
||||
"times": PackedFloat32Array()
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_pt3q5"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite3D:scale:x")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite3D:scale:y")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_pt3q5"]
|
||||
_data = {
|
||||
&"Pulse": SubResource("Animation_4ljrk"),
|
||||
&"RESET": SubResource("Animation_pt3q5")
|
||||
}
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_g4v7s"]
|
||||
radius = 1.1602892
|
||||
|
||||
[node name="Pearl" type="Area3D" unique_id=1993856261]
|
||||
transform = Transform3D(0.380475, 0, 0.9247912, 0, 1, 0, -0.9247912, 0, 0.380475, 0, 0, 0)
|
||||
script = ExtResource("1_rt5rq")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="PearlModel" type="MeshInstance3D" parent="." unique_id=614754254]
|
||||
mesh = SubResource("SphereMesh_g4v7s")
|
||||
skeleton = NodePath("../..")
|
||||
surface_material_override/0 = SubResource("ShaderMaterial_hihdv")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="PearlModel" unique_id=1007515788]
|
||||
transform = Transform3D(1.0974509, 0, 0, 0, 1.0970186, 0, 0, 0, 1, 0, 0, 0)
|
||||
pixel_size = 0.03
|
||||
billboard = 1
|
||||
texture = SubResource("GradientTexture2D_pt3q5")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="PearlModel" unique_id=1975553466]
|
||||
libraries/ = SubResource("AnimationLibrary_pt3q5")
|
||||
autoplay = &"Pulse"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=2004276860]
|
||||
shape = SubResource("SphereShape3D_g4v7s")
|
||||
Binary file not shown.
@@ -0,0 +1,81 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://c8r3b7atqhklc"
|
||||
path="res://.godot/imported/estia_hub.blend-29c393c5af6e586bd8c75142e27dcb95.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/3d_scenes/estia_base/assets/3d/estia_hub.blend"
|
||||
dest_files=["res://.godot/imported/estia_hub.blend-29c393c5af6e586bd8c75142e27dcb95.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={
|
||||
"materials": {
|
||||
"Cristal": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/cristal.tres",
|
||||
"use_external/path": "uid://di0m3uqgi3l08"
|
||||
},
|
||||
"Default3D": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/default_3d.tres",
|
||||
"use_external/path": "uid://dvvi1k5c5iowc"
|
||||
},
|
||||
"Glass": {
|
||||
"use_external/enabled": true,
|
||||
"use_external/fallback_path": "res://common/assets/materials/glass_3d.tres",
|
||||
"use_external/path": "uid://b5vlcdry8vtgi"
|
||||
}
|
||||
}
|
||||
}
|
||||
blender/nodes/visible=0
|
||||
blender/nodes/active_collection_only=false
|
||||
blender/nodes/punctual_lights=true
|
||||
blender/nodes/cameras=true
|
||||
blender/nodes/custom_properties=true
|
||||
blender/nodes/modifiers=1
|
||||
blender/meshes/vertex_colors=2
|
||||
blender/meshes/uvs=true
|
||||
blender/meshes/normals=true
|
||||
blender/meshes/export_geometry_nodes_instances=false
|
||||
blender/meshes/gpu_instances=false
|
||||
blender/meshes/tangents=true
|
||||
blender/meshes/skins=2
|
||||
blender/meshes/export_bones_deforming_mesh_only=false
|
||||
blender/materials/unpack_enabled=true
|
||||
blender/materials/export_materials=1
|
||||
blender/animation/limit_playback=true
|
||||
blender/animation/always_sample=true
|
||||
blender/animation/group_tracks=true
|
||||
gltf/naming_version=2
|
||||
gltf/texture_map_mode=0
|
||||
Binary file not shown.
@@ -1,3 +1,130 @@
|
||||
[gd_scene format=3 uid="uid://54xysfcblfv6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cww35xu1yqivp" path="res://stages/3d_scenes/cockpit_scene/assets/textures/sky.png" id="1_ducmn"]
|
||||
[ext_resource type="Script" uid="uid://si3uobbb56j4" path="res://stages/3d_scenes/estia_base/scripts/estia_base.gd" id="1_hihdv"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8r3b7atqhklc" path="res://stages/3d_scenes/estia_base/assets/3d/estia_hub.blend" id="2_hihdv"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="3_4ljrk"]
|
||||
[ext_resource type="Shader" uid="uid://cjgaitccxtwk0" path="res://common/vfx/materials/shaders/sky.gdshader" id="4_pt3q5"]
|
||||
[ext_resource type="PackedScene" uid="uid://o8l5ue4ki1u4" path="res://stages/3d_scenes/common/pearl.tscn" id="6_4ljrk"]
|
||||
[ext_resource type="PackedScene" uid="uid://cypsoytvytdup" path="res://entities/interactable_3d/3d_door/3d_door.tscn" id="7_2mjr0"]
|
||||
[ext_resource type="Script" uid="uid://cnpm8ciojdjxf" path="res://common/scene_manager/scripts/scenes/relay_base_scene.gd" id="8_cy6g2"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2unmkf4ec4gf" path="res://entities/interactable_3d/ai_receptacle/ai_receptacle.tscn" id="9_cy6g2"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_2mjr0"]
|
||||
flip_faces = true
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cy6g2"]
|
||||
shading_mode = 0
|
||||
albedo_color = Color(0.5882353, 0.7019608, 0.85882354, 1)
|
||||
albedo_texture = ExtResource("1_ducmn")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hrhcu"]
|
||||
shader = ExtResource("4_pt3q5")
|
||||
shader_parameter/day_top_color = Color(0.5882353, 0.7019608, 0.85882354, 1)
|
||||
shader_parameter/day_bottom_color = Color(0.13725491, 0.39215687, 0.6666667, 1)
|
||||
shader_parameter/sunset_top_color = Color(1, 0, 0.43137255, 1)
|
||||
shader_parameter/sunset_bottom_color = Color(0.54509807, 0.1764706, 1, 1)
|
||||
shader_parameter/night_top_color = Color(0.0627451, 0.05882353, 0.16862746, 1)
|
||||
shader_parameter/night_bottom_color = Color(0.0627451, 0.05882353, 0.16862746, 1)
|
||||
shader_parameter/horizon_color = Color(0.13725491, 0.39215687, 0.6666667, 1)
|
||||
shader_parameter/horizon_blur = 0.07999999821184
|
||||
shader_parameter/sun_color = Color(1, 0.9, 0, 1)
|
||||
shader_parameter/sun_sunset_color = Color(10, 0, 0, 1)
|
||||
shader_parameter/sun_size = 0.995
|
||||
shader_parameter/sun_blur = 10.0
|
||||
shader_parameter/moon_color = Color(1, 0.95, 0.7, 1)
|
||||
shader_parameter/moon_size = 0.06
|
||||
shader_parameter/moon_blur = 0.1
|
||||
shader_parameter/clouds_edge_color = Color(0.8, 0.8, 0.98, 1)
|
||||
shader_parameter/clouds_top_color = Color(1, 1, 1, 1)
|
||||
shader_parameter/clouds_middle_color = Color(0.92, 0.92, 0.98, 1)
|
||||
shader_parameter/clouds_bottom_color = Color(0.83, 0.83, 0.94, 1)
|
||||
shader_parameter/clouds_speed = 2.0
|
||||
shader_parameter/clouds_direction = 0.2
|
||||
shader_parameter/clouds_scale = 1.0
|
||||
shader_parameter/clouds_cutoff = 0.3
|
||||
shader_parameter/clouds_fuzziness = 0.5
|
||||
shader_parameter/clouds_weight = 0.0
|
||||
shader_parameter/clouds_blur = 0.25
|
||||
shader_parameter/stars_speed = 1.0
|
||||
shader_parameter/overwritten_time = 0.0
|
||||
|
||||
[sub_resource type="Sky" id="Sky_2ei4e"]
|
||||
sky_material = SubResource("ShaderMaterial_hrhcu")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_i4vt4"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_2ei4e")
|
||||
ambient_light_source = 2
|
||||
ambient_light_color = Color(1, 1, 1, 1)
|
||||
ambient_light_energy = 0.37
|
||||
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_mode = 1
|
||||
fog_light_color = Color(0.5753333, 0.089999974, 1, 1)
|
||||
fog_light_energy = 0.89
|
||||
fog_density = 0.2632
|
||||
adjustment_enabled = true
|
||||
adjustment_saturation = 1.3
|
||||
|
||||
[sub_resource type="Resource" id="Resource_hrhcu"]
|
||||
script = ExtResource("8_cy6g2")
|
||||
metadata/_custom_type_script = "uid://cnpm8ciojdjxf"
|
||||
|
||||
[node name="EstiaBase" type="Node3D" unique_id=32407651]
|
||||
script = ExtResource("1_hihdv")
|
||||
|
||||
[node name="DaySky" type="MeshInstance3D" parent="." unique_id=292130242]
|
||||
transform = Transform3D(1000, 0, 0, 0, 1000, 0, 0, 0, 1000, 0.00041627884, 0.019779027, -0.019804716)
|
||||
visible = false
|
||||
mesh = SubResource("SphereMesh_2mjr0")
|
||||
skeleton = NodePath("../WorldEnvironment")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_cy6g2")
|
||||
|
||||
[node name="EstiaModel" parent="." unique_id=153474063 instance=ExtResource("2_hihdv")]
|
||||
|
||||
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("3_4ljrk")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 31.239845, -4.9131913, 10.364699)
|
||||
|
||||
[node name="Sun" type="DirectionalLight3D" parent="." unique_id=25415978]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-0.14332204, -0.6504335, -0.7459191, 0.48175666, -0.7042265, 0.52151275, -0.86450535, -0.28460723, 0.4142819, 34.46659, 9.948835, -3.3123932)
|
||||
shadow_enabled = true
|
||||
shadow_bias = 0.0
|
||||
shadow_blur = 0.8
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=321813909]
|
||||
environment = SubResource("Environment_i4vt4")
|
||||
|
||||
[node name="Pearl" parent="." unique_id=1993856261 instance=ExtResource("6_4ljrk")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.380475, 0, 0.9247912, 0, 1, 0, -0.9247912, 0, 0.380475, 45.556007, -1.7921703, -13.670189)
|
||||
|
||||
[node name="3dDoor" parent="." unique_id=814731756 instance=ExtResource("7_2mjr0")]
|
||||
transform = Transform3D(0.9650166, 0, -0.2621892, 0, 1, 0, 0.2621892, 0, 0.9650166, -33.407913, -4.1280327, -10.258134)
|
||||
to_scene = SubResource("Resource_hrhcu")
|
||||
|
||||
[node name="3dDoor2" parent="." unique_id=1937788511 instance=ExtResource("7_2mjr0")]
|
||||
transform = Transform3D(0.95977867, 0, -0.28075808, 0, 1, 0, 0.28075808, 0, 0.95977867, 33.786575, -4.1280327, 10.355787)
|
||||
to_scene = SubResource("Resource_hrhcu")
|
||||
|
||||
[node name="ExitDoor" parent="." unique_id=2046359377 instance=ExtResource("7_2mjr0")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.957229, 0, 0.2893317, 0, 1, 0, -0.2893317, 0, 0.957229, -34.02385, -4.1280327, 10.328023)
|
||||
to_scene = SubResource("Resource_hrhcu")
|
||||
|
||||
[node name="AiReceptacle" parent="." unique_id=1082354698 instance=ExtResource("9_cy6g2")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.25881907, 0, 0.9659258, 0, 1, 0, -0.9659258, 0, 0.25881907, -0.042837877, -6.5766044, 0.18551771)
|
||||
screen_text = "CONNECT_TO_ATHENA"
|
||||
|
||||
[connection signal="clicked" from="Pearl" to="." method="_on_pearl_clicked"]
|
||||
[connection signal="clicked" from="AiReceptacle" to="." method="_on_ai_receptacle_clicked"]
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
extends Node3D
|
||||
class_name EstiaBase
|
||||
|
||||
const DIALOG_PATH = "res://dialogs/timelines/4_estia/2_estia_arrival.dtl"
|
||||
|
||||
func _ready():
|
||||
if not Engine.is_editor_hint():
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
|
||||
AudioManager.play_music_alone("Estia", false, 0.)
|
||||
|
||||
|
||||
func _on_pearl_clicked():
|
||||
%Pearl.hide()
|
||||
AudioManager.play_sfx("PickUp")
|
||||
|
||||
await get_tree().create_timer(3.).timeout
|
||||
|
||||
%ExitDoor.to_scene = RelayBaseScene.new(
|
||||
"ESTIA_BASE",
|
||||
"007",
|
||||
)
|
||||
%ExitDoor.interactable = true
|
||||
|
||||
AudioManager.play_sfx("DoorOpen")
|
||||
|
||||
|
||||
func _on_ai_receptacle_clicked():
|
||||
Dialogic.start(DIALOG_PATH)
|
||||
|
||||
%AiReceptacle.screen_turned_on = false
|
||||
%AiReceptacle.interactable = false
|
||||
@@ -0,0 +1 @@
|
||||
uid://si3uobbb56j4
|
||||
@@ -55,3 +55,4 @@ func _on_exit_clicked():
|
||||
|
||||
func _on_orchid_saver_clicked():
|
||||
orchid_saved.emit()
|
||||
%OrchidSaver.interactable = false
|
||||
|
||||
@@ -1,7 +1,46 @@
|
||||
extends Node3D
|
||||
class_name SubterraBase
|
||||
|
||||
const ENERGY_DIALOG = "res://dialogs/timelines/3_subterra/2_subterra_energy.dtl"
|
||||
const DATA_DIALOG = "res://dialogs/timelines/3_subterra/3_subterra_data.dtl"
|
||||
const DATA_ICON : Texture = preload("res://common/icons/server-2.svg")
|
||||
|
||||
func _ready():
|
||||
if not Engine.is_editor_hint():
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
|
||||
SteamConnection.unlock_achievement(SteamConnection.ACH_STW_REACH_SUBTERRA_BASE)
|
||||
%AiReceptacle.interactable = false
|
||||
|
||||
|
||||
func _on_energyterminal_clicked():
|
||||
Dialogic.start(ENERGY_DIALOG)
|
||||
|
||||
%Energyterminal.interactable = false
|
||||
|
||||
await Dialogic.timeline_ended
|
||||
|
||||
await get_tree().create_timer(2.).timeout
|
||||
|
||||
%TurnOnLightsAnimationPlayer.play("LightUp")
|
||||
|
||||
%AiReceptacle.interactable = true
|
||||
%AiReceptacle.screen_icon = DATA_ICON
|
||||
%AiReceptacle.screen_text = "CONNECT_TO_HADES"
|
||||
|
||||
func _on_ai_receptacle_clicked():
|
||||
%AiReceptacle.screen_turned_on = false
|
||||
%AiReceptacle.interactable = false
|
||||
Dialogic.start(DATA_DIALOG)
|
||||
|
||||
%Energyterminal.interactable = false
|
||||
|
||||
await Dialogic.timeline_ended
|
||||
|
||||
%Exit3dDoor.to_scene = RelayBaseScene.new(
|
||||
"SUBTERRA_BASE",
|
||||
"006",
|
||||
)
|
||||
%Exit3dDoor.interactable = true
|
||||
|
||||
AudioManager.play_sfx("DoorOpen")
|
||||
|
||||
@@ -4,16 +4,418 @@
|
||||
[ext_resource type="Script" uid="uid://csfx6yy1rxtu" path="res://stages/3d_scenes/subterra_base/scripts/subterra_base.gd" id="1_vuar3"]
|
||||
[ext_resource type="PackedScene" uid="uid://da7a74dg30q1l" path="res://entities/player_3d/player_3D.tscn" id="2_vuar3"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2unmkf4ec4gf" path="res://entities/interactable_3d/ai_receptacle/ai_receptacle.tscn" id="3_jc2l3"]
|
||||
[ext_resource type="AudioStream" uid="uid://bqabwpv2ft82d" path="res://common/audio_manager/assets/sfx/spotlights/freesound_community-spotlight-91359.mp3" id="3_wsyr7"]
|
||||
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="4_0y1ma"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="5_wsyr7"]
|
||||
[ext_resource type="Texture2D" uid="uid://51255tpyl6vj" path="res://common/icons/no-bolt.svg" id="7_ekk85"]
|
||||
[ext_resource type="PackedScene" uid="uid://cypsoytvytdup" path="res://entities/interactable_3d/3d_door/3d_door.tscn" id="9_ekk85"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_g4v7s"]
|
||||
ambient_light_color = Color(0.0627451, 0.05882353, 0.16862746, 1)
|
||||
fog_enabled = true
|
||||
fog_light_color = Color(0.048316665, 0.045500003, 0.13, 1)
|
||||
fog_density = 0.15
|
||||
fog_sky_affect = 0.0
|
||||
volumetric_fog_emission = Color(0.0627451, 0.05882353, 0.16862746, 1)
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_g4v7s"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yf5fn"]
|
||||
shading_mode = 0
|
||||
disable_fog = true
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_g4v7s"]
|
||||
random_pitch = 1.1892071
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("3_wsyr7")
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ekk85"]
|
||||
resource_name = "LightUp"
|
||||
length = 7.984999999999999
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("SpotLight3D:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.16666667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("SpotLight3D/AudioStreamPlayer3D:playing")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.1),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("SpotLight3D4:visible")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0.06666672, 1.3),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("SpotLight3D4/AudioStreamPlayer3D:playing")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(1.1333333),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("SpotLight3D5:visible")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0.033333335, 2.4666667),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("SpotLight3D5/AudioStreamPlayer3D:playing")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(2.4333334),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("SpotLight3D6:visible")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0.100000024, 3.6),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [false, true]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("SpotLight3D6/AudioStreamPlayer3D:playing")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(3.4666667),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_cu5bm"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("SpotLight3D:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("SpotLight3D4:visible")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("SpotLight3D4/AudioStreamPlayer3D:playing")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("SpotLight3D5:visible")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("SpotLight3D6:visible")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/5/type = "value"
|
||||
tracks/5/imported = false
|
||||
tracks/5/enabled = true
|
||||
tracks/5/path = NodePath("SpotLight3D6/AudioStreamPlayer3D:playing")
|
||||
tracks/5/interp = 1
|
||||
tracks/5/loop_wrap = true
|
||||
tracks/5/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/6/type = "value"
|
||||
tracks/6/imported = false
|
||||
tracks/6/enabled = true
|
||||
tracks/6/path = NodePath("SpotLight3D5/AudioStreamPlayer3D:playing")
|
||||
tracks/6/interp = 1
|
||||
tracks/6/loop_wrap = true
|
||||
tracks/6/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/7/type = "value"
|
||||
tracks/7/imported = false
|
||||
tracks/7/enabled = true
|
||||
tracks/7/path = NodePath("SpotLight3D/AudioStreamPlayer3D:playing")
|
||||
tracks/7/interp = 1
|
||||
tracks/7/loop_wrap = true
|
||||
tracks/7/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5ahy3"]
|
||||
_data = {
|
||||
&"LightUp": SubResource("Animation_ekk85"),
|
||||
&"RESET": SubResource("Animation_cu5bm")
|
||||
}
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_g4v7s"]
|
||||
size = Vector3(1.7763672, 1.0584717, 2.6865234)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_xi25w"]
|
||||
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="Animation" id="Animation_rv67t"]
|
||||
resource_name = "hover"
|
||||
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.5, 1),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector3(1, 1, 1), Vector3(1.445, 1.445, 1.445), Vector3(1, 1, 1)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_cu5bm"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_xi25w"),
|
||||
&"hover": SubResource("Animation_rv67t")
|
||||
}
|
||||
|
||||
[node name="SubterraBase" type="Node3D" unique_id=1948800502]
|
||||
script = ExtResource("1_vuar3")
|
||||
|
||||
[node name="hub_buried" parent="." unique_id=385558494 instance=ExtResource("1_qkleo")]
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=259655727]
|
||||
environment = SubResource("Environment_g4v7s")
|
||||
|
||||
[node name="HubBuriedModel" parent="." unique_id=385558494 instance=ExtResource("1_qkleo")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.6178805, -0.025483131, -1.7124133)
|
||||
|
||||
[node name="Lights" type="Node3D" parent="HubBuriedModel" unique_id=495977746]
|
||||
|
||||
[node name="SpotLight3D" type="SpotLight3D" parent="HubBuriedModel/Lights" unique_id=926688343]
|
||||
transform = Transform3D(1, 0, 0, 0, -0.5183666, 0.8551585, 0, -0.8551585, -0.5183666, 0, 15.265097, -23.914267)
|
||||
visible = false
|
||||
light_energy = 5.0
|
||||
light_specular = 0.0
|
||||
shadow_enabled = true
|
||||
shadow_opacity = 0.88
|
||||
spot_range = 1101.48
|
||||
spot_attenuation = 0.0
|
||||
spot_angle = 28.17
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="HubBuriedModel/Lights/SpotLight3D" unique_id=1637950629]
|
||||
mesh = SubResource("SphereMesh_g4v7s")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_yf5fn")
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="HubBuriedModel/Lights/SpotLight3D" unique_id=752343108]
|
||||
stream = SubResource("AudioStreamRandomizer_g4v7s")
|
||||
|
||||
[node name="SpotLight3D4" type="SpotLight3D" parent="HubBuriedModel/Lights" unique_id=548883992]
|
||||
transform = Transform3D(0.25881898, 0.9050083, -0.33759847, -7.7134095e-09, 0.34950763, 0.9369336, 0.9659259, -0.24249618, 0.09045922, -19.005096, 15.265097, 6.604736)
|
||||
visible = false
|
||||
light_energy = 5.0
|
||||
light_specular = 0.0
|
||||
shadow_enabled = true
|
||||
shadow_opacity = 0.88
|
||||
spot_range = 1101.48
|
||||
spot_attenuation = 0.0
|
||||
spot_angle = 28.17
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="HubBuriedModel/Lights/SpotLight3D4" unique_id=564593560]
|
||||
mesh = SubResource("SphereMesh_g4v7s")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_yf5fn")
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="HubBuriedModel/Lights/SpotLight3D4" unique_id=912830926]
|
||||
stream = SubResource("AudioStreamRandomizer_g4v7s")
|
||||
|
||||
[node name="SpotLight3D5" type="SpotLight3D" parent="HubBuriedModel/Lights" unique_id=2065529631]
|
||||
transform = Transform3D(0.25881898, 0.9050083, -0.33759844, 0.3460089, 0.23944831, 0.9071618, 0.9018264, -0.35160273, -0.25116712, 2.6627011, 24.34689, 6.604736)
|
||||
visible = false
|
||||
light_energy = 5.0
|
||||
light_specular = 0.0
|
||||
shadow_enabled = true
|
||||
shadow_opacity = 0.88
|
||||
spot_range = 1101.48
|
||||
spot_attenuation = 0.0
|
||||
spot_angle = 28.17
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="HubBuriedModel/Lights/SpotLight3D5" unique_id=2097977376]
|
||||
mesh = SubResource("SphereMesh_g4v7s")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_yf5fn")
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="HubBuriedModel/Lights/SpotLight3D5" unique_id=1265814745]
|
||||
stream = SubResource("AudioStreamRandomizer_g4v7s")
|
||||
|
||||
[node name="SpotLight3D6" type="SpotLight3D" parent="HubBuriedModel/Lights" unique_id=1262705554]
|
||||
transform = Transform3D(0.24502634, 0.89490294, -0.3729751, 0.35590932, 0.2748161, 0.89319915, 0.90182614, -0.3516027, -0.2511671, 2.6627011, 24.34689, -13.134678)
|
||||
visible = false
|
||||
light_energy = 5.0
|
||||
light_specular = 0.0
|
||||
shadow_enabled = true
|
||||
shadow_opacity = 0.88
|
||||
spot_range = 1101.48
|
||||
spot_attenuation = 0.0
|
||||
spot_angle = 28.17
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="HubBuriedModel/Lights/SpotLight3D6" unique_id=1063356322]
|
||||
mesh = SubResource("SphereMesh_g4v7s")
|
||||
surface_material_override/0 = SubResource("StandardMaterial3D_yf5fn")
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="HubBuriedModel/Lights/SpotLight3D6" unique_id=1483386697]
|
||||
stream = SubResource("AudioStreamRandomizer_g4v7s")
|
||||
|
||||
[node name="TurnOnLightsAnimationPlayer" type="AnimationPlayer" parent="HubBuriedModel/Lights" unique_id=2065740343]
|
||||
unique_name_in_owner = true
|
||||
libraries/ = SubResource("AnimationLibrary_5ahy3")
|
||||
|
||||
[node name="Player3D" parent="." unique_id=549819967 instance=ExtResource("2_vuar3")]
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 9.730468, -3.3392239, 7.232474)
|
||||
transform = Transform3D(0.36366293, 0, -0.9315306, 0, 1, 0, 0.9315306, 0, 0.36366293, -28.491013, -4.5816226, 6.1428843)
|
||||
|
||||
[node name="Energyterminal" type="Area3D" parent="." unique_id=788669932]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-0.8670973, 0, 0.49813876, 0, 1, 0, -0.49813876, 0, -0.8670973, -11.133237, -5.7880697, -8.623476)
|
||||
script = ExtResource("4_0y1ma")
|
||||
metadata/_custom_type_script = "uid://bj4d1x8n8ina"
|
||||
|
||||
[node name="OmniLight3D2" type="OmniLight3D" parent="Energyterminal" unique_id=1348931513]
|
||||
light_color = Color(1, 0.42366666, 0.089999974, 1)
|
||||
light_energy = 20.0
|
||||
shadow_enabled = true
|
||||
omni_range = 6.373
|
||||
omni_attenuation = 3.0
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="Energyterminal" unique_id=718786866]
|
||||
transform = Transform3D(-4.0652775e-08, -0.9300271, 0.3674909, 1, -4.371139e-08, 1.0648718e-16, 1.6063536e-08, 0.3674909, 0.9300271, -0.32001305, -0.12003422, -0.25164175)
|
||||
texture = ExtResource("5_wsyr7")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Energyterminal" unique_id=303587917]
|
||||
transform = Transform3D(0.894611, 0, -0.44684553, 0, 1, 0, 0.44684553, 0, 0.894611, -0.37654972, 0.02923584, -1.2750478)
|
||||
shape = SubResource("BoxShape3D_g4v7s")
|
||||
|
||||
[node name="EnergyterminalAnimationPlayer" type="AnimationPlayer" parent="Energyterminal" unique_id=1094183272]
|
||||
libraries/ = SubResource("AnimationLibrary_cu5bm")
|
||||
|
||||
[node name="AiReceptacle" parent="." unique_id=1082354698 instance=ExtResource("3_jc2l3")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(-0.8670973, 0, 0.49813876, 0, 1, 0, -0.49813876, 0, -0.8670973, -1.320488, -6.334047, -1.7143525)
|
||||
screen_icon = ExtResource("7_ekk85")
|
||||
screen_text = "NO_ENERGY"
|
||||
broken = true
|
||||
interactable = false
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="AiReceptacle" unique_id=831789092]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.014978766, 1.2740593, 3.9000099)
|
||||
light_color = Color(1, 0.42366666, 0.089999974, 1)
|
||||
light_energy = 20.0
|
||||
shadow_enabled = true
|
||||
omni_range = 6.373
|
||||
omni_attenuation = 3.0
|
||||
|
||||
[node name="Exit3dDoor" parent="." unique_id=2071839805 instance=ExtResource("9_ekk85")]
|
||||
unique_name_in_owner = true
|
||||
transform = Transform3D(0.95703775, 0, 0.28996342, 0, 1, 0, -0.28996342, 0, 0.95703775, 32.32081, -4.2653694, -11.978006)
|
||||
|
||||
[node name="3dDoor5" parent="." unique_id=814731756 instance=ExtResource("9_ekk85")]
|
||||
transform = Transform3D(0.9526562, 0, 0.30404958, 0, 1, 0, -0.30404958, 0, 0.9526562, -35.598476, -4.123006, 8.662381)
|
||||
|
||||
[node name="3dDoor2" parent="." unique_id=12482631 instance=ExtResource("9_ekk85")]
|
||||
transform = Transform3D(0.9659259, 0, -0.25881904, 0, 1, 0, 0.25881904, 0, 0.9659259, -35.495373, -4.2219057, -12.081657)
|
||||
|
||||
[node name="3dDoor4" parent="." unique_id=1423116639 instance=ExtResource("9_ekk85")]
|
||||
transform = Transform3D(0.9562342, 0, -0.29260233, 0, 1, 0, 0.29260233, 0, 0.9562342, 32.4778, -4.2653694, 8.745655)
|
||||
|
||||
[connection signal="clicked" from="Energyterminal" to="." method="_on_energyterminal_clicked"]
|
||||
[connection signal="clicked" from="AiReceptacle" to="." method="_on_ai_receptacle_clicked"]
|
||||
|
||||
+7
-6
@@ -3,19 +3,20 @@
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dr72xhc07i56e"
|
||||
path="res://.godot/imported/moss_contamination_atlas_texture.png-80aa9a19eb65e2c40b783557f4f8a743.ctex"
|
||||
path.s3tc="res://.godot/imported/moss_contamination_atlas_texture.png-80aa9a19eb65e2c40b783557f4f8a743.s3tc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://stages/terrain/region/assets/textures/moss_biome/moss_contamination_atlas_texture.png"
|
||||
dest_files=["res://.godot/imported/moss_contamination_atlas_texture.png-80aa9a19eb65e2c40b783557f4f8a743.ctex"]
|
||||
dest_files=["res://.godot/imported/moss_contamination_atlas_texture.png-80aa9a19eb65e2c40b783557f4f8a743.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
@@ -23,7 +24,7 @@ compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
@@ -37,4 +38,4 @@ process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
detect_3d/compress_to=0
|
||||
|
||||
@@ -12,12 +12,15 @@ var next_mouse_pos : Vector2
|
||||
|
||||
var planet_spin_ach_sended = false
|
||||
|
||||
@onready var difficulty_choice : DifficultyChoice = %DifficultyChoice
|
||||
|
||||
func _ready():
|
||||
%Version.text = ProjectSettings.get_setting("application/config/version")
|
||||
%Start.text = tr("CONTINUE") if GameInfo.story_game_data else tr("START")
|
||||
%StartInfinite.visible = GameInfo.has_unlocked_infinite_mode()
|
||||
%StartInfinite.text = tr("INFINITE_MODE")
|
||||
%Restart.visible = GameInfo.game_data != null
|
||||
difficulty_choice.hide()
|
||||
%Settings.close_settings()
|
||||
%Controls.close_controls()
|
||||
if not GameInfo.game_data:
|
||||
@@ -36,7 +39,10 @@ func _on_start_pressed():
|
||||
else :
|
||||
SceneManager.change_to_scene(CockpitScene.new())
|
||||
else:
|
||||
difficulty_choice.appear()
|
||||
await difficulty_choice.mode_chosen
|
||||
GameInfo.start_game_data()
|
||||
await difficulty_choice.disappear()
|
||||
SceneManager.change_to_scene(IntroScene.new())
|
||||
|
||||
func decontaminate_3D_planet(game_data):
|
||||
@@ -76,8 +82,14 @@ func _process(delta):
|
||||
|
||||
|
||||
func _on_restart_button_down():
|
||||
%Restart.text = "ARE_YOU_SURE_DELETE_CURRENT_SAVE"
|
||||
await get_tree().create_timer(0.1).timeout
|
||||
await %Restart.pressed
|
||||
GameInfo.game_mode_choosen = GameData.Mode.STORY
|
||||
difficulty_choice.appear()
|
||||
await difficulty_choice.mode_chosen
|
||||
GameInfo.start_game_data()
|
||||
await difficulty_choice.disappear()
|
||||
SceneManager.change_to_scene(IntroScene.new())
|
||||
|
||||
func _on_settings_button_down():
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dbv5hm7lyi1f6" path="res://common/icons/infinity.svg" id="12_igvpv"]
|
||||
[ext_resource type="PackedScene" uid="uid://g6lbgg1fhc25" path="res://gui/menu/settings/settings.tscn" id="18_lwj2x"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4qe1dwwsk87t" path="res://gui/menu/controls/controls.tscn" id="19_rf16a"]
|
||||
[ext_resource type="PackedScene" uid="uid://4hk0f6n8hyuh" path="res://gui/menu/difficulty_choice/difficulty_choice.tscn" id="20_rf16a"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_6yuhi"]
|
||||
viewport_path = NodePath("SubViewport")
|
||||
@@ -69,7 +70,7 @@ shader = ExtResource("8_pjo5j")
|
||||
shader_parameter/strength = 5.00000023424012
|
||||
shader_parameter/mix_percentage = 0.3
|
||||
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_lwj2x"]
|
||||
[sub_resource type="FastNoiseLite" id="FastNoiseLite_rf16a"]
|
||||
frequency = 1.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_gn4uv"]
|
||||
@@ -537,7 +538,7 @@ size = Vector2i(1980, 1080)
|
||||
|
||||
[node name="Planet3d" parent="SubViewport" unique_id=926789923 instance=ExtResource("5_7a1qq")]
|
||||
unique_name_in_owner = true
|
||||
noise = SubResource("FastNoiseLite_lwj2x")
|
||||
noise = SubResource("FastNoiseLite_rf16a")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="SubViewport" unique_id=806252928]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.369979, 0, 64.323425)
|
||||
@@ -578,6 +579,9 @@ grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.0627451, 0.05882353, 0.16862746, 1)
|
||||
|
||||
[node name="DifficultyChoice" parent="." unique_id=443336436 instance=ExtResource("20_rf16a")]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/Start" to="." method="_on_start_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/StartInfinite" to="." method="_on_start_infinite_pressed"]
|
||||
[connection signal="button_down" from="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/Settings" to="." method="_on_settings_button_down"]
|
||||
|
||||
Reference in New Issue
Block a user