2020-04-04 09:29:45 +00:00
|
|
|
[gd_scene load_steps=23 format=2]
|
2020-03-21 09:10:26 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://scenes/player/player.tscn" type="PackedScene" id=1]
|
2020-04-08 12:38:05 +00:00
|
|
|
[ext_resource path="res://scenes/decors/terrains/demo/demo_2.tscn" type="PackedScene" id=2]
|
2020-03-21 09:10:26 +00:00
|
|
|
[ext_resource path="res://scenes/game/game.gd" type="Script" id=3]
|
2020-03-28 07:44:06 +00:00
|
|
|
[ext_resource path="res://assets/interfaces/fx/trauma_fx.shader" type="Shader" id=4]
|
2020-03-21 13:18:06 +00:00
|
|
|
[ext_resource path="res://assets/sky/sky.shader" type="Shader" id=5]
|
|
|
|
[ext_resource path="res://scenes/game/sky.gd" type="Script" id=6]
|
2020-03-21 15:50:44 +00:00
|
|
|
[ext_resource path="res://assets/mist/mist.shader" type="Shader" id=7]
|
|
|
|
[ext_resource path="res://assets/interfaces/debug_window/debug_window.tscn" type="PackedScene" id=8]
|
2020-03-28 07:44:06 +00:00
|
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/water_fx.shader" type="Shader" id=10]
|
2020-03-22 16:04:01 +00:00
|
|
|
[ext_resource path="res://scenes/interfaces/game_menu/game_ui.tscn" type="PackedScene" id=11]
|
2020-03-21 13:18:06 +00:00
|
|
|
|
|
|
|
[sub_resource type="OpenSimplexNoise" id=1]
|
|
|
|
period = 8.0
|
|
|
|
|
2020-03-22 10:54:47 +00:00
|
|
|
[sub_resource type="NoiseTexture" id=2]
|
2020-03-21 13:18:06 +00:00
|
|
|
resource_local_to_scene = true
|
|
|
|
width = 1280
|
|
|
|
height = 720
|
|
|
|
seamless = true
|
|
|
|
noise = SubResource( 1 )
|
|
|
|
|
2020-03-22 10:54:47 +00:00
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
2020-03-21 13:18:06 +00:00
|
|
|
resource_local_to_scene = true
|
|
|
|
shader = ExtResource( 5 )
|
2021-03-23 22:24:40 +00:00
|
|
|
shader_param/iTime = 85.3788
|
|
|
|
shader_param/iFrame = 4332
|
2020-03-21 13:18:06 +00:00
|
|
|
shader_param/COVERAGE = 0.5
|
|
|
|
shader_param/THICKNESS = 25.0
|
|
|
|
shader_param/ABSORPTION = 1.031
|
|
|
|
shader_param/STEPS = 50
|
|
|
|
shader_param/earth_radius_km = 6371.0
|
|
|
|
shader_param/atmo_radius_km = 6471.0
|
|
|
|
shader_param/cam_height_m = 1.8
|
2020-03-22 10:54:47 +00:00
|
|
|
shader_param/sun_pos = Vector3( -1.15706e-06, 100, 8.66537e-06 )
|
2020-04-08 12:38:05 +00:00
|
|
|
shader_param/sun_intensity = 128.0
|
2020-03-21 13:18:06 +00:00
|
|
|
shader_param/rayleigh_coeff = Vector3( 5.5, 13, 22.4 )
|
|
|
|
shader_param/mie_coeff = 21.0
|
2020-04-08 12:38:05 +00:00
|
|
|
shader_param/rayleigh_scale = 400.0
|
|
|
|
shader_param/mie_scale = 60.0
|
2020-03-21 13:18:06 +00:00
|
|
|
shader_param/mie_scatter_dir = 0.758
|
|
|
|
shader_param/rotate_night_sky = null
|
2020-03-22 10:54:47 +00:00
|
|
|
shader_param/iChannel0 = SubResource( 2 )
|
2020-03-21 13:18:06 +00:00
|
|
|
|
2020-03-22 10:54:47 +00:00
|
|
|
[sub_resource type="ImageTexture" id=4]
|
2020-03-21 13:18:06 +00:00
|
|
|
resource_local_to_scene = true
|
|
|
|
size = Vector2( 1280, 720 )
|
|
|
|
|
2020-03-22 10:54:47 +00:00
|
|
|
[sub_resource type="ViewportTexture" id=5]
|
2020-03-21 13:18:06 +00:00
|
|
|
viewport_path = NodePath("sky/viewport")
|
|
|
|
|
2020-03-22 10:54:47 +00:00
|
|
|
[sub_resource type="PanoramaSky" id=6]
|
2020-03-21 13:18:06 +00:00
|
|
|
resource_local_to_scene = true
|
2020-03-22 10:54:47 +00:00
|
|
|
panorama = SubResource( 5 )
|
2020-03-21 13:18:06 +00:00
|
|
|
|
|
|
|
[sub_resource type="Environment" id=7]
|
|
|
|
resource_local_to_scene = true
|
|
|
|
background_mode = 2
|
2020-03-22 10:54:47 +00:00
|
|
|
background_sky = SubResource( 6 )
|
2020-03-21 13:18:06 +00:00
|
|
|
background_energy = 0.1
|
2020-04-08 12:38:05 +00:00
|
|
|
ambient_light_color = Color( 0.647059, 0.968627, 0.984314, 1 )
|
|
|
|
ambient_light_energy = 0.25
|
|
|
|
ambient_light_sky_contribution = 0.5
|
|
|
|
fog_color = Color( 1, 1, 1, 1 )
|
|
|
|
fog_sun_color = Color( 1, 1, 1, 1 )
|
|
|
|
fog_depth_end = 463.6
|
2020-03-21 15:50:44 +00:00
|
|
|
fog_transmit_enabled = true
|
2020-04-04 09:29:45 +00:00
|
|
|
tonemap_mode = 3
|
|
|
|
ss_reflections_enabled = true
|
2020-04-08 12:38:05 +00:00
|
|
|
ss_reflections_roughness = false
|
2020-04-04 09:29:45 +00:00
|
|
|
ssao_enabled = true
|
|
|
|
dof_blur_far_distance = 75.36
|
|
|
|
dof_blur_far_transition = 19.64
|
|
|
|
glow_bloom = 0.27
|
|
|
|
adjustment_enabled = true
|
2020-04-08 12:38:05 +00:00
|
|
|
adjustment_saturation = 2.0
|
2020-04-04 09:29:45 +00:00
|
|
|
|
2020-04-08 12:38:05 +00:00
|
|
|
[sub_resource type="GIProbeData" id=8]
|
|
|
|
bounds = AABB( -200, -200, -200, 400, 400, 400 )
|
|
|
|
cell_size = 3.125
|
|
|
|
to_cell_xform = Transform( 0.32, 0, 0, 0, 0.32, 0, 0, 0, 0.32, 64, 64, 64 )
|
|
|
|
dynamic_data = PoolIntArray( 0, 8, 128, 128, 128, 1, 0, 3, 5, 3, 7, 5, 8, 10, 12, 10, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 8355711, 0 )
|
2020-04-04 09:29:45 +00:00
|
|
|
dynamic_range = 4
|
|
|
|
bias = 1.5
|
|
|
|
normal_bias = 0.0
|
2020-04-08 12:38:05 +00:00
|
|
|
propagation = 0.7
|
2020-03-21 15:50:44 +00:00
|
|
|
|
2020-04-08 12:38:05 +00:00
|
|
|
[sub_resource type="QuadMesh" id=9]
|
2020-03-21 15:50:44 +00:00
|
|
|
size = Vector2( 2, 2 )
|
|
|
|
|
2020-04-08 12:38:05 +00:00
|
|
|
[sub_resource type="ShaderMaterial" id=10]
|
2020-03-21 15:50:44 +00:00
|
|
|
shader = ExtResource( 7 )
|
|
|
|
shader_param/mist_level = 0.0
|
|
|
|
shader_param/mist_color = Color( 1, 0, 1, 1 )
|
|
|
|
shader_param/mist_height = 0.0
|
|
|
|
shader_param/mist_distance = 25.0
|
2020-03-21 09:10:26 +00:00
|
|
|
|
2020-04-08 12:38:05 +00:00
|
|
|
[sub_resource type="ShaderMaterial" id=11]
|
2020-04-01 19:02:49 +00:00
|
|
|
shader = ExtResource( 4 )
|
|
|
|
shader_param/mist_level = 0.0
|
|
|
|
shader_param/blur_amount = null
|
|
|
|
|
2020-04-08 12:38:05 +00:00
|
|
|
[sub_resource type="ShaderMaterial" id=12]
|
2020-03-28 07:44:06 +00:00
|
|
|
shader = ExtResource( 10 )
|
2020-03-27 12:07:44 +00:00
|
|
|
shader_param/mist_level = 0.0
|
|
|
|
shader_param/mist_color = Color( 0.0156863, 0.411765, 0.545098, 1 )
|
|
|
|
shader_param/mist_height = 0.0
|
|
|
|
shader_param/mist_distance = 5.0
|
|
|
|
|
2020-03-21 09:10:26 +00:00
|
|
|
[node name="game" type="Spatial"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
2020-03-21 13:18:06 +00:00
|
|
|
[node name="sky" type="Spatial" parent="."]
|
|
|
|
|
|
|
|
[node name="viewport" type="Viewport" parent="sky"]
|
|
|
|
size = Vector2( 1280, 720 )
|
|
|
|
render_target_update_mode = 3
|
|
|
|
|
|
|
|
[node name="sky" type="Sprite" parent="sky/viewport"]
|
2020-03-22 10:54:47 +00:00
|
|
|
material = SubResource( 3 )
|
|
|
|
texture = SubResource( 4 )
|
2020-03-21 13:18:06 +00:00
|
|
|
offset = Vector2( 640, 360 )
|
|
|
|
script = ExtResource( 6 )
|
|
|
|
editor_clouds_playing = true
|
2020-03-21 15:50:44 +00:00
|
|
|
directional_light_node_path = NodePath("../../sun")
|
2020-03-22 10:54:47 +00:00
|
|
|
sun_position = Vector3( -1.15706e-06, 100, 8.66537e-06 )
|
2020-03-21 15:50:44 +00:00
|
|
|
|
|
|
|
[node name="sun" type="DirectionalLight" parent="sky"]
|
2020-03-22 10:54:47 +00:00
|
|
|
transform = Transform( 0.991203, 0.132352, -1.15706e-08, 0, 8.74228e-08, 1, 0.132352, -0.991203, 8.66537e-08, -1.15706e-06, 100, 8.66537e-06 )
|
2020-03-21 15:50:44 +00:00
|
|
|
shadow_enabled = true
|
2020-03-21 13:18:06 +00:00
|
|
|
|
|
|
|
[node name="world_environment" type="WorldEnvironment" parent="."]
|
|
|
|
environment = SubResource( 7 )
|
|
|
|
|
2020-04-04 09:29:45 +00:00
|
|
|
[node name="gi_probe" type="GIProbe" parent="."]
|
2020-04-08 12:38:05 +00:00
|
|
|
extents = Vector3( 200, 200, 200 )
|
|
|
|
data = SubResource( 8 )
|
2020-04-04 09:29:45 +00:00
|
|
|
|
2020-03-21 09:10:26 +00:00
|
|
|
[node name="level" type="Spatial" parent="."]
|
|
|
|
|
2020-03-26 09:39:29 +00:00
|
|
|
[node name="demo" parent="level" instance=ExtResource( 2 )]
|
2020-03-21 09:10:26 +00:00
|
|
|
|
|
|
|
[node name="creatures" type="Spatial" parent="."]
|
|
|
|
|
|
|
|
[node name="player" parent="creatures" instance=ExtResource( 1 )]
|
2020-10-15 17:23:55 +00:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -34.9568, 20.7881, -53.4902 )
|
|
|
|
|
|
|
|
[node name="npcs" type="Spatial" parent="creatures"]
|
2020-03-21 09:10:26 +00:00
|
|
|
|
2020-03-21 15:50:44 +00:00
|
|
|
[node name="mist_fx" type="MeshInstance" parent="."]
|
|
|
|
cast_shadow = 0
|
|
|
|
extra_cull_margin = 16384.0
|
2020-04-08 12:38:05 +00:00
|
|
|
mesh = SubResource( 9 )
|
|
|
|
material/0 = SubResource( 10 )
|
2020-03-21 15:50:44 +00:00
|
|
|
|
2020-04-01 19:02:49 +00:00
|
|
|
[node name="trauma_fx" type="MeshInstance" parent="."]
|
2020-03-27 12:07:44 +00:00
|
|
|
cast_shadow = 0
|
|
|
|
extra_cull_margin = 16384.0
|
2020-04-08 12:38:05 +00:00
|
|
|
mesh = SubResource( 9 )
|
|
|
|
material/0 = SubResource( 11 )
|
2020-03-27 12:07:44 +00:00
|
|
|
|
2020-04-01 19:02:49 +00:00
|
|
|
[node name="water_fx" type="MeshInstance" parent="."]
|
2020-03-28 07:44:06 +00:00
|
|
|
cast_shadow = 0
|
|
|
|
extra_cull_margin = 16384.0
|
2020-04-08 12:38:05 +00:00
|
|
|
mesh = SubResource( 9 )
|
|
|
|
material/0 = SubResource( 12 )
|
2020-03-28 07:44:06 +00:00
|
|
|
|
2020-03-22 16:04:01 +00:00
|
|
|
[node name="game_ui" parent="." instance=ExtResource( 11 )]
|
|
|
|
|
2020-03-21 15:50:44 +00:00
|
|
|
[node name="debug_window" parent="." instance=ExtResource( 8 )]
|
2020-04-01 19:02:49 +00:00
|
|
|
margin_left = 908.654
|
|
|
|
margin_top = 51.8173
|
|
|
|
margin_right = -115.346
|
|
|
|
margin_bottom = -412.183
|
2020-03-22 17:57:23 +00:00
|
|
|
[connection signal="douleur_minus_pressed" from="debug_window" to="." method="_on_debug_window_douleur_minus_pressed"]
|
|
|
|
[connection signal="douleur_plus_pressed" from="debug_window" to="." method="_on_debug_window_douleur_plus_pressed"]
|
2020-03-21 15:50:44 +00:00
|
|
|
[connection signal="mist_level_changed" from="debug_window" to="." method="_on_debug_window_mist_level_changed"]
|
2020-03-22 17:57:23 +00:00
|
|
|
[connection signal="oubli_minus_pressed" from="debug_window" to="." method="_on_debug_window_oubli_minus_pressed"]
|
|
|
|
[connection signal="oubli_plus_pressed" from="debug_window" to="." method="_on_debug_window_oubli_plus_pressed"]
|
2020-03-21 15:50:44 +00:00
|
|
|
[connection signal="time_of_day_changed" from="debug_window" to="." method="_on_debug_window_time_of_day_changed"]
|