This repository has been archived on 2022-01-09. You can view files and clone it, but cannot push or open issues/pull-requests.
liblast/Game/Main.tscn

213 lines
31 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=15 format=2]
2021-05-14 21:31:39 +02:00
[ext_resource path="res://Assets/Characters/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Assets/HUD/Crosshair.png" type="Texture2D" id=2]
2021-05-14 21:31:39 +02:00
[ext_resource path="res://Assets/Maps/DM1/DM1.glb" type="PackedScene" id=3]
[ext_resource path="res://Assets/HUD/Crosshair.gd" type="Script" id=4]
[ext_resource path="res://Assets/SFX/UI_Confirm_Hit.wav" type="AudioStream" id=5]
[ext_resource path="res://Assets/SFX/UI_Confirm_Kill.wav" type="AudioStream" id=6]
2021-05-14 21:31:39 +02:00
[sub_resource type="PhysicalSkyMaterial" id=1]
[sub_resource type="Sky" id=2]
sky_material = SubResource( 1 )
[sub_resource type="Environment" id=3]
background_mode = 2
sky = SubResource( 2 )
tonemap_mode = 2
tonemap_white = 2.0
ssao_enabled = true
ssao_radius = 8.0
ssao_intensity = 1.0
sdfgi_enabled = true
2021-05-14 21:31:39 +02:00
sdfgi_read_sky_light = true
sdfgi_cascades = 2
sdfgi_max_distance = 3276.8
glow_enabled = true
2021-05-14 21:31:39 +02:00
glow_levels/3 = 0.6
glow_levels/4 = 0.47
glow_levels/5 = 0.17
glow_levels/6 = 0.05
glow_normalized = true
glow_intensity = 2.0
glow_hdr_threshold = 2.0
glow_hdr_scale = 4.0
glow_hdr_luminance_cap = 5.0
volumetric_fog_density = 0.001
volumetric_fog_gi_inject = 0.1
[sub_resource type="CameraEffects" id=4]
2021-05-19 00:56:18 +02:00
[sub_resource type="ConcavePolygonShape3D" id=5]
data = PackedVector3Array( -6, 4, -10, -13, 4, -6, -9, 4, -13, -6, 4, -10, -10, 4, -6, -13, 4, -6, 6, 0, 3, 10, 0, 6, 6, 0, 10, 6, 0, 3, 10, 0, 3, 10, 0, 6, 10, 4, -6, 9, 4, -13, 13, 4, -6, 10, 4, -6, 6, 4, -10, 9, 4, -13, -10, 4, 6, -9, 4, 13, -13, 4, 6, -10, 4, 6, -6, 4, 10, -9, 4, 13, 6, 4, 10, 13, 4, 6, 9, 4, 13, 6, 4, 10, 10, 4, 6, 13, 4, 6, -10, 2, 3, -13, 4, 6, -13, 2, 3, -10, 2, 3, -10, 4, 6, -13, 4, 6, -2, 8, -10, -9, 4, -13, -2, 8, -13, -2, 8, -10, -6, 5.7, -10, -9, 4, -13, 2, 8, 10, 9, 8, 13, 2, 8, 13, 2, 8, 10, 6, 8, 10, 9, 8, 13, 2, 0, -3, 6, 0, -10, 6, 0, -3, 2, 0, -3, 2, 0, -10, 6, 0, -10, -10, 0, -3, -6, 0, -10, -6, 0, -3, -10, 0, -3, -10, 0, -6, -6, 0, -10, -6, 0, -3, -2, 0, -10, -2, 0, -3, -6, 0, -3, -6, 0, -10, -2, 0, -10, -2, 0, -3, 2, 0, -10, 2, 0, -3, -2, 0, -3, -2, 0, -10, 2, 0, -10, -6, 5.714, 10, -2, 8, 13, -9, 4, 13, -6, 5.714, 10, -2, 8, 10, -2, 8, 13, 0, 8, 10, 2, 8, 13, 0, 8, 13, 0, 8, 10, 2, 8, 10, 2, 8, 13, -2, 7, 9, 2, 6, 10, 2, 7, 9, -2, 7, 9, -2, 6, 10, 2, 6, 10, -2, 0, 10, 2, 0, 3, 2, 0, 10, -2, 0, 10, -2, 0, 3, 2, 0, 3, -2, 0, 3, 2, 0, -3, 2, 0, 3, -2, 0, 3, -2, 0, -3, 2, 0, -3, -6, 0, 10, -2, 0, 3, -2, 0, 10, -6, 0, 10, -6, 0, 3, -2, 0, 3, -6, 0, 3, -2, 0, -3, -2, 0, 3, -6, 0, 3, -6, 0, -3, -2, 0, -3, -10, 0, 6, -6, 0, 3, -6, 0, 10, -10, 0, 6, -10, 0, 3, -6, 0, 3, 2, 0, 10, 6, 0, 3, 6, 0, 10, 2, 0, 10, 2, 0, 3, 6, 0, 3, 2, 0, 3, 6, 0, -3, 6, 0, 3, 2, 0, 3, 2, 0, -3, 6, 0, -3, -10, 4, -6, -13, 2, -3, -13, 4, -6, -10, 4, -6, -10, 2, -3, -13, 2, -3, -10, 2, -3, -13, 2, 3, -13, 2, -3, -10, 2, -3, -10, 2, 3, -13, 2, 3, 10, 3, 2, 18, 3, -2, 10, 3, -2, 10, 3, 2, 18, 3, 2, 18, 3, -2, 6, 0, -10, 10, 0, -3, 6, 0, -3, 6, 0, -10, 10, 0, -6, 10, 0, -3, 6, 0, -3, 10, 0, 3, 6, 0, 3, 6, 0, -3, 10, 0, -3, 10, 0, 3, 10, 0, -3, 18, 0, 3, 10, 0, 3, 10, 0, -3, 18, 0, -3, 18, 0, 3, -10, 2, 3, -6, 0, -3, -6, 0, 3, -10, 2, 3, -10, 2, -3, -6, 0, -3, 18, 0, -3, 22, 0, 3, 18, 0, 3, 18, 0, -3, 22, 0, -3, 22, 0, 3, 22, 0, -3, 28, 2, 3, 22, 0, 3, 22, 0, -3, 28, 2, -3, 28, 2, 3, 28, 2, 3, 22, 0, 6, 22, 0, 3, 28, 2, 3, 28, 2, 6, 22, 0, 6, 22, 0, 3, 18, 0, 6, 18, 0, 3, 22, 0, 3, 22, 0, 6, 18, 0, 6, 22, 0, -3, 28, 2, -6, 28, 2, -3, 22, 0, -3, 22, 0, -6, 28, 2, -6, 18, 0, -3, 22, 0, -6, 22, 0, -3, 18, 0, -3, 18, 0, -6, 22, 0, -6, 18, 4, 6, 9, 4, 13, 13, 4, 6, 18, 4, 6, 18, 4, 13, 9, 4, 13, 13, 4, -6, 18, 4, -13, 18, 4, -6, 13, 4, -6, 9, 4, -13, 18, 4, -13, 28, 2, -6, 33, 2, -3, 28, 2, -3, 28, 2, -6, 33, 2, -6, 33, 2, -3, 28, 2, 3, 33, 2, 6, 28, 2, 6, 28, 2, 3, 33, 2, 3, 33, 2, 6, 28, 2, -3, 33, 2, 3, 28, 2, 3, 28, 2, -3, 33, 2, -3, 33, 2, 3, 22, 4, 6, 18, 4, 13, 18, 4, 6, 22, 4, 6, 22, 4, 13, 18, 4, 13, 28, 2, 6, 22, 4, 13, 22, 4, 6, 28, 2, 6, 28, 2, 13, 22, 4, 13, 18, 4, -6, 22, 4, -13, 22, 4, -6, 18, 4, -6, 18, 4, -13, 22, 4, -13, 22, 4, -6, 28, 2, -13, 28, 2, -6, 22, 4, -6, 22, 4, -13, 28, 2, -13, 28, 2, 6, 33, 2, 13, 28, 2, 13, 28, 2, 6, 33, 2, 6, 33, 2, 13, 28, 2, -13, 33, 2, -6, 28, 2, -6, 28, 2, -13, 33, 2, -13, 33, 2, -6, -2, 8, 18, -9, 4, 13, -2, 8, 13, -2, 8, 18, -9, 4, 18, -9, 4, 13, -2, 8, -15.5, -9, 4, -18, -2, 8, -18, -2, 8, -15.5, -9, 4, -15.5, -9, 4, -18, 6, 8, 18, 2, 8, 13, 9, 8, 13, 6, 8, 18, 2, 8, 18, 2, 8, 13, 0, 8, 18, -2, 8, 13, 0, 8, 13, 0, 8, 18, -2, 8, 18, -2, 8, 13, -9, 4, 13, -19, 4, 6, -13, 4, 6, -9, 4, 13, -15, 4, 13, -19, 4, 6, -13, 2, 3, -19, 2, -3, -13, 2, -3, -13, 2, 3, -19, 2, 3, -19, 2, -3, -13, 4, 6, -19, 2, 3, -13, 2, 3, -13, 4, 6, -19, 4, 6, -19, 2, 3, -13, 4, -6, -15, 4, -13, -9, 4, -13, -13, 4, -6, -19, 4, -6, -15, 4, -13, -13, 2, -3, -19, 4, -6, -13, 4, -6, -13, 2, -3, -19, 2, -3, -19, 4, -6, -12, 4, 18, -9, 4, 13, -9, 4, 18, -9, 4, 13, -12.45, 4, 17.25, -15, 4, 13, -9, 4, 13, -12, 4, 18, -12.45, 4, 17.25, 0, 13.5, 18, 2, 11.5, 21, 2, 13.5, 18, 0, 13.5, 18, 0, 11.5, 21, 2, 11.5, 21, -2, 13.5, 18, 0, 11.5, 21, 0, 13.5, 18, -13.5, 4, -15.5, -9, 4, -18, -9, 4, -15.5, -9, 4, -18, -12.45, 4, -17.25, -12, 4, -18, -9, 4, -18, -13.5, 4, -15.5, -12.45, 4, -17.25, 2, 8, -22, 6, 11.5, -22, 6, 8, -22, 2, 8, -22, 2, 11.5, -22, 6, 11.5, -22, 2, 8, 18, 0, 8, 21, 0, 8, 18, 2, 8, 18, 2, 8, 21,
2021-05-14 21:31:39 +02:00
[sub_resource type="Animation" id=6]
resource_name = "Default"
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("Crosshair:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0 ),
"transitions": PackedFloat32Array( 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ) ]
}
[sub_resource type="Animation" id=7]
resource_name = "Hit"
length = 0.2
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Crosshair:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0, 0.1, 0.2 ),
"transitions": PackedFloat32Array( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 0.716667, 0, 1 ), Color( 1, 0.716667, 0, 1 ), Color( 1, 1, 1, 1 ) ]
}
tracks/1/type = "audio"
tracks/1/path = NodePath("Hit_Confirmation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"clips": [ {
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource( 5 )
} ],
"times": PackedFloat32Array( 0 )
}
[sub_resource type="Animation" id=8]
resource_name = "Kill"
length = 0.5
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("Crosshair:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0, 0.25, 0.5 ),
"transitions": PackedFloat32Array( 1, 1, 1 ),
"update": 0,
"values": [ Color( 1, 0.0532926, 0, 1 ), Color( 1, 0.0532926, 0, 1 ), Color( 1, 1, 1, 1 ) ]
}
tracks/1/type = "audio"
tracks/1/path = NodePath("Hit_Confirmation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"clips": [ {
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource( 6 )
} ],
"times": PackedFloat32Array( 0 )
}
2021-05-19 00:56:18 +02:00
[node name="Game" type="Node3D"]
2021-05-14 21:31:39 +02:00
script = null
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform( -0.462097, -0.0829879, -0.882938, -0.612372, 0.75, 0.25, 0.641457, 0.656211, -0.397392, 0.124393, 4.30152, -8.12432 )
light_color = Color( 1, 0.509804, 0.290196, 1 )
light_energy = 10.0
shadow_enabled = true
omni_range = 25.0
omni_attenuation = 0.90125
script = null
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform( -0.462097, -0.0829877, -0.882938, -0.886591, 0.0663194, 0.457775, 0.0205662, 0.994341, -0.104222, 0, 38, -1 )
shadow_enabled = true
shadow_bias = 0.035
shadow_blur = 8.0
directional_shadow_blend_splits = true
directional_shadow_depth_range = 1
script = null
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 3 )
camera_effects = SubResource( 4 )
script = null
[node name="DM1" parent="." instance=ExtResource( 3 )]
2021-05-19 00:56:18 +02:00
[node name="StaticBody3D" type="StaticBody3D" parent="DM1/Main " index="0"]
script = null
2021-05-14 21:31:39 +02:00
2021-05-19 00:56:18 +02:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="DM1/Main /StaticBody3D"]
shape = SubResource( 5 )
script = null
2021-05-14 21:31:39 +02:00
2021-05-19 00:56:18 +02:00
[node name="HUD" type="CanvasLayer" parent="."]
2021-05-14 23:52:36 +02:00
script = null
2021-05-19 00:56:18 +02:00
[node name="Crosshair" type="Control" parent="HUD"]
2021-05-14 23:52:36 +02:00
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
rect_pivot_offset = Vector2( 25, 25 )
script = ExtResource( 4 )
2021-05-14 23:52:36 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Crosshair" type="TextureRect" parent="HUD/Crosshair"]
modulate = Color( 1, 0.716667, 0, 1 )
texture_filter = 2
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -32.0
offset_top = -32.0
offset_right = 96.0
offset_bottom = 96.0
rect_scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 )
expand = true
2021-05-14 23:52:36 +02:00
script = null
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="HUD/Crosshair"]
autoplay = "Default"
anims/Default = SubResource( 6 )
anims/Hit = SubResource( 7 )
anims/Kill = SubResource( 8 )
blend_times = [ ]
2021-05-14 23:52:36 +02:00
script = null
[node name="Hit_Confirmation" type="AudioStreamPlayer" parent="HUD/Crosshair"]
stream = ExtResource( 6 )
2021-05-14 23:52:36 +02:00
script = null
2021-05-19 00:56:18 +02:00
[node name="Player" parent="." instance=ExtResource( 1 )]
2021-05-14 21:31:39 +02:00
[node name="ReflectionProbe" type="ReflectionProbe" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 13, 0 )
extents = Vector3( 33, 13, 29 )
box_projection = true
enable_shadows = true
script = null
[editable path="DM1"]