208 lines
11 KiB
Plaintext
208 lines
11 KiB
Plaintext
[gd_scene load_steps=33 format=3 uid="uid://k0jpd2sugl7b"]
|
|
|
|
[ext_resource type="Script" uid="uid://c7ea7hd1t6ucj" path="res://script/ShipLogic.gd" id="1_gidgt"]
|
|
[ext_resource type="Texture2D" uid="uid://cimsjl61nhh5s" path="res://assets/2D/HDR_blue_nebulae-1.hdr" id="2_4sohr"]
|
|
[ext_resource type="PackedScene" uid="uid://d3ny31fbtn7eb" path="res://test/debugCube.tscn" id="2_nlsxl"]
|
|
[ext_resource type="PackedScene" uid="uid://2y66sfeblm38" path="res://Maps/Spaceship/Objects/Grabable/FuelCanister.tscn" id="2_rp302"]
|
|
[ext_resource type="PackedScene" uid="uid://yg472lgqdca7" path="res://Maps/Spaceship/Objects/Grabable/PowerCell.tscn" id="2_yje2s"]
|
|
[ext_resource type="PackedScene" uid="uid://clhhslugpfugs" path="res://Maps/Spaceship/Rooms/Starter.tscn" id="3_bs3qb"]
|
|
[ext_resource type="Script" uid="uid://d3w6uvg5hmphc" path="res://script/randomObject.gd" id="5_rp302"]
|
|
[ext_resource type="PackedScene" uid="uid://dluf007dbq25" path="res://Maps/Spaceship/Rooms/storage.tscn" id="5_ttkoc"]
|
|
[ext_resource type="PackedScene" uid="uid://ddacwr4hkhu51" path="res://Maps/Spaceship/Corridors/CorridorShort.tscn" id="5_wf1j8"]
|
|
[ext_resource type="PackedScene" uid="uid://7ycmkl7f4shi" path="res://Maps/Spaceship/Rooms/generator.tscn" id="6_yje2s"]
|
|
[ext_resource type="PackedScene" uid="uid://coscryni2ckd7" path="res://Maps/Spaceship/Corridors/CorridorTTurn.tscn" id="7_l5vk7"]
|
|
[ext_resource type="PackedScene" uid="uid://dqqm5nv732hqq" path="res://Maps/Spaceship/Corridors/CorridorLTurn.tscn" id="9_4wod1"]
|
|
[ext_resource type="PackedScene" uid="uid://c2wd2wxtbgt2h" path="res://Maps/Spaceship/Corridors/CorridorFourWay.tscn" id="10_ttkoc"]
|
|
[ext_resource type="PackedScene" uid="uid://bsogpm3kf7s1l" path="res://Maps/Spaceship/Rooms/control.tscn" id="13_uljtq"]
|
|
[ext_resource type="PackedScene" uid="uid://c52lwhaynro5j" path="res://Maps/Spaceship/Objects/ControllLever.tscn" id="14_ogiy5"]
|
|
[ext_resource type="PackedScene" uid="uid://botctq3i0fq1t" path="res://Maps/Spaceship/Rooms/fuel_tank.tscn" id="14_sw4ah"]
|
|
[ext_resource type="PackedScene" uid="uid://7p668ibmmx21" path="res://Maps/Spaceship/Corridors/CorridorDeadEnd.tscn" id="15_6akxh"]
|
|
[ext_resource type="PackedScene" uid="uid://cxijyr4imvpw2" path="res://Maps/Spaceship/Corridors/corridor_dead_end_breakable.tscn" id="15_h11mn"]
|
|
[ext_resource type="Texture2D" uid="uid://bp5exqkba4hr3" path="res://assets/2D/SteeringMinigame/Spaceship.png" id="15_jyrsd"]
|
|
[ext_resource type="PackedScene" uid="uid://cffn8ih6c2oyg" path="res://Maps/Spaceship/Objects/repair_cart.tscn" id="20_6akxh"]
|
|
[ext_resource type="PackedScene" uid="uid://wo0ikejk0hag" path="res://Maps/Spaceship/Objects/Grabable/RepairCube.tscn" id="21_ddgy6"]
|
|
[ext_resource type="Script" uid="uid://cjgxd88k1bntf" path="res://script/pathfindingGridLoad.gd" id="22_jidkq"]
|
|
[ext_resource type="PackedScene" uid="uid://dsp8is8odlbph" path="res://Maps/Spaceship/Objects/Grabable/toolbox.tscn" id="22_n0f7y"]
|
|
[ext_resource type="PackedScene" uid="uid://b6thwnvy4x07a" path="res://actors/Enemies/Spider/mech_spider_base.tscn" id="23_jidkq"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_sw4ah"]
|
|
interpolation_mode = 1
|
|
offsets = PackedFloat32Array(0, 0.25, 0.361502, 0.375, 0.488263, 0.5, 0.615023, 0.625, 0.732394, 0.75, 0.859155, 0.875, 1)
|
|
colors = PackedColorArray(0, 0, 0, 1, 0.25, 0.25, 0.25, 1, 0.28169, 0.28169, 0.28169, 1, 0.375, 0.375, 0.375, 1, 0.408451, 0.408451, 0.408451, 1, 0.5, 0.5, 0.5, 1, 0.530516, 0.530516, 0.530516, 1, 0.625, 0.625, 0.625, 1, 0.661972, 0.661972, 0.661972, 1, 0.75, 0.75, 0.75, 1, 0.802817, 0.802817, 0.802817, 1, 0.875, 0.875, 0.875, 1, 1, 1, 1, 1)
|
|
metadata/_snap_enabled = true
|
|
metadata/_snap_count = 8
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_2xebv"]
|
|
gradient = SubResource("Gradient_sw4ah")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_h11mn"]
|
|
offsets = PackedFloat32Array(0.187793, 0.704225, 0.929577)
|
|
colors = PackedColorArray(0, 0, 0, 1, 0.58042, 0.58042, 0.58042, 1, 0.860369, 0.860369, 0.860369, 1)
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ogiy5"]
|
|
frequency = 0.03
|
|
fractal_octaves = 8
|
|
fractal_lacunarity = 5.0
|
|
fractal_gain = 0.495
|
|
fractal_weighted_strength = 0.23
|
|
domain_warp_enabled = true
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_cijsx"]
|
|
color_ramp = SubResource("Gradient_h11mn")
|
|
noise = SubResource("FastNoiseLite_ogiy5")
|
|
|
|
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_bs3qb"]
|
|
panorama = ExtResource("2_4sohr")
|
|
|
|
[sub_resource type="Sky" id="Sky_ck252"]
|
|
sky_material = SubResource("PanoramaSkyMaterial_bs3qb")
|
|
|
|
[sub_resource type="Environment" id="Environment_ayklm"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_ck252")
|
|
glow_enabled = true
|
|
glow_levels/1 = 1.38
|
|
glow_levels/2 = 1.55
|
|
glow_levels/3 = 5.63
|
|
glow_levels/5 = 1.75
|
|
glow_levels/6 = 0.9
|
|
glow_levels/7 = 0.75
|
|
glow_strength = 1.73
|
|
glow_mix = 0.03
|
|
glow_bloom = 0.05
|
|
glow_blend_mode = 4
|
|
glow_hdr_luminance_cap = 1.5
|
|
glow_map = SubResource("NoiseTexture2D_cijsx")
|
|
volumetric_fog_emission = Color(1, 1, 1, 1)
|
|
volumetric_fog_emission_energy = 0.04
|
|
adjustment_brightness = 1.5
|
|
adjustment_color_correction = SubResource("GradientTexture1D_2xebv")
|
|
|
|
[node name="Spaceship" type="Node3D" node_paths=PackedStringArray("anouncerVoiceEmitter", "controllRoom", "breakableRoom", "pathPivot", "pathfindingGridLoader")]
|
|
script = ExtResource("1_gidgt")
|
|
anouncerVoiceEmitter = NodePath("AouncerVoice")
|
|
controllRoom = NodePath("Rooms/Controll")
|
|
breakableRoom = NodePath("Rooms/CorridorDeadEndBreakable2")
|
|
debugObj = ExtResource("2_nlsxl")
|
|
pathPivot = NodePath("PathPivot")
|
|
pathfindingGridLoader = NodePath("PathfindingGridLoader")
|
|
metadata/_custom_type_script = "uid://c7ea7hd1t6ucj"
|
|
|
|
[node name="PowerCell" parent="." instance=ExtResource("2_yje2s")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -29.0185, 0.615273, 19.527)
|
|
|
|
[node name="FuelCanister" parent="." instance=ExtResource("2_rp302")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.54061, 0.395963, 1.71824)
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_ayklm")
|
|
|
|
[node name="Rooms" type="Node3D" parent="."]
|
|
|
|
[node name="CorridorShort" parent="Rooms" instance=ExtResource("5_wf1j8")]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 7, 0, 14.01)
|
|
|
|
[node name="Starter" parent="Rooms" instance=ExtResource("3_bs3qb")]
|
|
|
|
[node name="Generator" parent="Rooms" instance=ExtResource("6_yje2s")]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 28.01, 0, -21)
|
|
|
|
[node name="CorridorTTurn" parent="Rooms" instance=ExtResource("7_l5vk7")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, -14.01)
|
|
|
|
[node name="CorridorLTurn" parent="Rooms" instance=ExtResource("9_4wod1")]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 7, 0, 28.01)
|
|
|
|
[node name="CorridorFourWay" parent="Rooms" instance=ExtResource("10_ttkoc")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.01, 0, 7)
|
|
|
|
[node name="Controll" parent="Rooms" node_paths=PackedStringArray("controllStick", "SpaceshipLogicRef") instance=ExtResource("13_uljtq")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -17.5087, 0, -24.5)
|
|
controllStick = NodePath("../CorridorDeadEnd/LeverPivot")
|
|
SpaceshipLogicRef = NodePath("../..")
|
|
|
|
[node name="CorridorShort2" parent="Rooms" instance=ExtResource("5_wf1j8")]
|
|
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -21, 0, -7)
|
|
|
|
[node name="FuelTank" parent="Rooms" node_paths=PackedStringArray("SpaceshipLogicRef") instance=ExtResource("14_sw4ah")]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -20.9954, -7, 45.6114)
|
|
SpaceshipLogicRef = NodePath("../..")
|
|
|
|
[node name="CorridorDeadEndBreakable" parent="Rooms" instance=ExtResource("15_h11mn")]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 24.5, 0, 35)
|
|
|
|
[node name="CorridorDeadEndBreakable2" parent="Rooms" instance=ExtResource("15_h11mn")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -41.983, 0, -10.4939)
|
|
|
|
[node name="Storage" parent="Rooms" instance=ExtResource("5_ttkoc")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -24.515, 0, 28.1)
|
|
|
|
[node name="CorridorTTurn2" parent="Rooms" instance=ExtResource("7_l5vk7")]
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -35, 0, 7)
|
|
|
|
[node name="CorridorDeadEnd" parent="Rooms" instance=ExtResource("15_6akxh")]
|
|
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -42.0032, 0, 20.9783)
|
|
|
|
[node name="LeverPivot" parent="Rooms/CorridorDeadEnd" instance=ExtResource("14_ogiy5")]
|
|
transform = Transform3D(4.99998, 0, -0.0130021, 0, 5, 0, 0.0130021, 0, 4.99998, 8.88818, 0.084, -0.0222626)
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="Rooms/CorridorDeadEnd"]
|
|
transform = Transform3D(-0.00260054, 0, -0.999997, 0, 1, 0, 0.999997, 0, -0.00260054, 10.4358, 3.75997, -0.0182343)
|
|
pixel_size = 0.05
|
|
texture = ExtResource("15_jyrsd")
|
|
|
|
[node name="Debug" type="Node3D" parent="."]
|
|
|
|
[node name="RandomObjects" type="Node" parent="."]
|
|
|
|
[node name="DebugCube" type="Node" parent="RandomObjects"]
|
|
script = ExtResource("5_rp302")
|
|
dir = "res://test/debugCube.tscn"
|
|
probability = 0.5
|
|
metadata/_custom_type_script = "uid://d3w6uvg5hmphc"
|
|
|
|
[node name="Nothing" type="Node" parent="RandomObjects"]
|
|
script = ExtResource("5_rp302")
|
|
dir = "res://Spaceship/Objects/noObject.tscn"
|
|
probability = 0.5
|
|
metadata/_custom_type_script = "uid://d3w6uvg5hmphc"
|
|
|
|
[node name="PowerCell2" parent="." instance=ExtResource("2_yje2s")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29.0044, 1.71881, -21.5441)
|
|
|
|
[node name="FmodBankLoader" type="FmodBankLoader" parent="."]
|
|
bank_paths = ["res://assets/FmodBanks/Desktop/Master.strings.bank", "res://assets/FmodBanks/Desktop/Master.bank", "res://assets/FmodBanks/Desktop/Testing.bank"]
|
|
|
|
[node name="AouncerVoice" type="FmodEventEmitter3D" parent="."]
|
|
event_name = "event:/HullBreached"
|
|
event_guid = "{f64916fe-7a2e-48ef-b129-bd76350c6f66}"
|
|
attached = false
|
|
|
|
[node name="PathPivot" type="Node3D" parent="."]
|
|
|
|
[node name="RepairCart" parent="." instance=ExtResource("20_6akxh")]
|
|
transform = Transform3D(-0.999883, 0, 0.0152885, 0, 1, 0, -0.0152885, 0, -0.999883, -20.0861, 0.105269, 29.5957)
|
|
|
|
[node name="RepairCube" parent="." instance=ExtResource("21_ddgy6")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -20.3975, 0.48862, 27)
|
|
|
|
[node name="RepairCube2" parent="." instance=ExtResource("21_ddgy6")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -20.3975, 0.48862, 25.9838)
|
|
|
|
[node name="RepairCube3" parent="." instance=ExtResource("21_ddgy6")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.342, 0.772745, 26.1866)
|
|
|
|
[node name="Toolbox" parent="." instance=ExtResource("22_n0f7y")]
|
|
transform = Transform3D(0.684, 0, 0.729482, 0, 1, 0, -0.729482, 0, 0.684, -28.8088, 0.0330523, 26.6545)
|
|
|
|
[node name="PathfindingGridLoader" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -50, 0, -50)
|
|
script = ExtResource("22_jidkq")
|
|
lengthX = 100
|
|
lengthZ = 100
|
|
point_density = 0.85
|
|
|
|
[node name="MechSpiderBase" parent="." node_paths=PackedStringArray("mapLogicRef") instance=ExtResource("23_jidkq")]
|
|
transform = Transform3D(0.52, 0, 0, 0, 0.52, 0, 0, 0, 0.52, -6.08227, 0, -6.08163)
|
|
mapLogicRef = NodePath("..")
|