aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/GameSession.tscn
blob: 5e2cc3bbea0c07da85713f1de4fd1c0d7d4c3e41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[gd_scene load_steps=10 format=3 uid="uid://bgnupcshe1m7r"]

[ext_resource type="Script" path="res://src/GameSession/GameSession.gd" id="1_eklvp"]
[ext_resource type="PackedScene" uid="uid://g524p8lr574w" path="res://src/GameSession/MapControlPanel.tscn" id="3_afh6d"]
[ext_resource type="PackedScene" uid="uid://dvdynl6eir40o" path="res://src/GameSession/GameSessionMenu.tscn" id="3_bvmqh"]
[ext_resource type="PackedScene" uid="uid://dkehmdnuxih2r" path="res://src/GameSession/MapView.tscn" id="4_xkg5j"]
[ext_resource type="PackedScene" uid="uid://byq323jbel48u" path="res://src/GameSession/ProvinceOverviewPanel.tscn" id="5_osjnn"]

[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_8qaci"]

[sub_resource type="Sky" id="Sky_w8b4m"]
sky_material = SubResource("ProceduralSkyMaterial_8qaci")

[sub_resource type="Environment" id="Environment_wam0l"]
background_mode = 2
sky = SubResource("Sky_w8b4m")
tonemap_mode = 3
sdfgi_enabled = true
sdfgi_use_occlusion = true
fog_enabled = true
fog_light_color = Color(0.466667, 0.541176, 0.607843, 1)

[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_foqwj"]
dof_blur_far_distance = 8192.0

[node name="GameSession" type="Node" node_paths=PackedStringArray("_game_session_menu")]
editor_description = "SS-102, UI-546"
script = ExtResource("1_eklvp")
_game_session_menu = NodePath("GameSessionMenu")

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_wam0l")
camera_attributes = SubResource("CameraAttributesPractical_foqwj")

[node name="MapView" parent="." instance=ExtResource("4_xkg5j")]

[node name="GameSessionMenu" parent="." instance=ExtResource("3_bvmqh")]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2

[node name="MapControlPanel" parent="." instance=ExtResource("3_afh6d")]
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -350.0
offset_top = -210.0
grow_horizontal = 0
grow_vertical = 0

[node name="ProvinceOverviewPanel" parent="." instance=ExtResource("5_osjnn")]
anchors_preset = -1
anchor_top = 0.583333
anchor_right = 0.15625
offset_top = 0.0
offset_right = 0.0

[connection signal="map_view_camera_changed" from="MapView" to="MapControlPanel" method="_on_map_view_camera_changed"]
[connection signal="province_selected" from="MapView" to="ProvinceOverviewPanel" method="_on_province_selected"]
[connection signal="close_button_pressed" from="GameSessionMenu" to="." method="_on_game_session_menu_close_button_pressed"]
[connection signal="game_session_menu_button_pressed" from="MapControlPanel" to="." method="_on_game_session_menu_button_pressed"]
[connection signal="mapmode_changed" from="MapControlPanel" to="MapView" method="_update_colour_texture"]
[connection signal="minimap_clicked" from="MapControlPanel" to="MapView" method="_on_minimap_clicked"]
[connection signal="mouse_entered" from="MapControlPanel" to="MapView" method="_on_mouse_exited_viewport"]
[connection signal="mouse_exited" from="MapControlPanel" to="MapView" method="_on_mouse_entered_viewport"]