mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-09 16:59:03 +00:00
145 lines
5.2 KiB
Text
145 lines
5.2 KiB
Text
[gd_scene load_steps=21 format=2]
|
|
|
|
[ext_resource path="res://scenes/player/player.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/demo.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://scenes/game/game.gd" type="Script" id=3]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/water_fx.shader" type="Shader" id=4]
|
|
[ext_resource path="res://assets/sky/sky.shader" type="Shader" id=5]
|
|
[ext_resource path="res://scenes/game/sky.gd" type="Script" id=6]
|
|
[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]
|
|
[ext_resource path="res://assets/interfaces/themes/khanat_theme.theme" type="Theme" id=9]
|
|
[ext_resource path="res://scenes/interfaces/game_menu/game_ui.tscn" type="PackedScene" id=11]
|
|
|
|
[sub_resource type="OpenSimplexNoise" id=1]
|
|
period = 8.0
|
|
|
|
[sub_resource type="NoiseTexture" id=2]
|
|
resource_local_to_scene = true
|
|
width = 1280
|
|
height = 720
|
|
seamless = true
|
|
noise = SubResource( 1 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
resource_local_to_scene = true
|
|
shader = ExtResource( 5 )
|
|
shader_param/iTime = 1086.03
|
|
shader_param/iFrame = 83264
|
|
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
|
|
shader_param/sun_pos = Vector3( -1.15706e-06, 100, 8.66537e-06 )
|
|
shader_param/sun_intensity = 42.0
|
|
shader_param/rayleigh_coeff = Vector3( 5.5, 13, 22.4 )
|
|
shader_param/mie_coeff = 21.0
|
|
shader_param/rayleigh_scale = 800.0
|
|
shader_param/mie_scale = 120.0
|
|
shader_param/mie_scatter_dir = 0.758
|
|
shader_param/rotate_night_sky = null
|
|
shader_param/iChannel0 = SubResource( 2 )
|
|
|
|
[sub_resource type="ImageTexture" id=4]
|
|
resource_local_to_scene = true
|
|
size = Vector2( 1280, 720 )
|
|
|
|
[sub_resource type="ViewportTexture" id=5]
|
|
viewport_path = NodePath("sky/viewport")
|
|
|
|
[sub_resource type="PanoramaSky" id=6]
|
|
resource_local_to_scene = true
|
|
panorama = SubResource( 5 )
|
|
|
|
[sub_resource type="Environment" id=7]
|
|
resource_local_to_scene = true
|
|
background_mode = 2
|
|
background_sky = SubResource( 6 )
|
|
background_energy = 0.1
|
|
ambient_light_energy = 3.82
|
|
fog_color = Color( 0.247059, 0.00784314, 0.592157, 1 )
|
|
fog_sun_color = Color( 0.898039, 0.529412, 1, 1 )
|
|
fog_depth_begin = 5.0
|
|
fog_transmit_enabled = true
|
|
|
|
[sub_resource type="QuadMesh" id=8]
|
|
size = Vector2( 2, 2 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=9]
|
|
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
|
|
|
|
[sub_resource type="ShaderMaterial" id=10]
|
|
shader = ExtResource( 4 )
|
|
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
|
|
|
|
[node name="game" type="Spatial"]
|
|
script = ExtResource( 3 )
|
|
|
|
[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"]
|
|
material = SubResource( 3 )
|
|
texture = SubResource( 4 )
|
|
offset = Vector2( 640, 360 )
|
|
script = ExtResource( 6 )
|
|
editor_clouds_playing = true
|
|
directional_light_node_path = NodePath("../../sun")
|
|
sun_position = Vector3( -1.15706e-06, 100, 8.66537e-06 )
|
|
|
|
[node name="sun" type="DirectionalLight" parent="sky"]
|
|
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 )
|
|
shadow_enabled = true
|
|
|
|
[node name="world_environment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource( 7 )
|
|
|
|
[node name="level" type="Spatial" parent="."]
|
|
|
|
[node name="demo" parent="level" instance=ExtResource( 2 )]
|
|
transform = Transform( 10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0 )
|
|
|
|
[node name="creatures" type="Spatial" parent="."]
|
|
|
|
[node name="player" parent="creatures" instance=ExtResource( 1 )]
|
|
|
|
[node name="mist_fx" type="MeshInstance" parent="."]
|
|
cast_shadow = 0
|
|
extra_cull_margin = 16384.0
|
|
mesh = SubResource( 8 )
|
|
material/0 = SubResource( 9 )
|
|
|
|
[node name="water_fx" type="MeshInstance" parent="."]
|
|
cast_shadow = 0
|
|
extra_cull_margin = 16384.0
|
|
mesh = SubResource( 8 )
|
|
material/0 = SubResource( 10 )
|
|
|
|
[node name="game_ui" parent="." instance=ExtResource( 11 )]
|
|
|
|
[node name="debug_window" parent="." instance=ExtResource( 8 )]
|
|
margin_left = 972.873
|
|
margin_top = 52.3552
|
|
margin_right = -51.1268
|
|
margin_bottom = -411.645
|
|
focus_mode = 1
|
|
theme = ExtResource( 9 )
|
|
[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"]
|
|
[connection signal="mist_level_changed" from="debug_window" to="." method="_on_debug_window_mist_level_changed"]
|
|
[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"]
|
|
[connection signal="time_of_day_changed" from="debug_window" to="." method="_on_debug_window_time_of_day_changed"]
|