100 lines
3.1 KiB
Plaintext
100 lines
3.1 KiB
Plaintext
|
|
[gd_scene load_steps=8 format=3 uid="uid://c240icwf4uov8"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" uid="uid://b4avd5n3wv18p" path="res://script/main.gd" id="1"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://e5txgsvnchha" path="res://scene/mainmenu.tscn" id="2_v0l8b"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://mv0dgwdlha3m" path="res://actors/Player/Hud.tscn" id="5_0ha60"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://d1dplm1rdcx1h" path="res://scene/settingsmenu.tscn" id="6_4j5ol"]
|
||
|
|
[ext_resource type="PackedScene" uid="uid://c3cjtslhed2oc" path="res://scene/pausemenu.tscn" id="8_of57s"]
|
||
|
|
|
||
|
|
[sub_resource type="AudioStreamMicrophone" id="AudioStreamMicrophone_of57s"]
|
||
|
|
|
||
|
|
[sub_resource type="AudioStreamOpusChunked" id="AudioStreamOpusChunked_of57s"]
|
||
|
|
audiosamplerate = 48000
|
||
|
|
audiosamplesize = 960
|
||
|
|
mix_rate = 48000
|
||
|
|
|
||
|
|
[node name="Main" type="Control"]
|
||
|
|
process_mode = 3
|
||
|
|
layout_mode = 3
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
offset_left = 28.0
|
||
|
|
offset_top = -5.0
|
||
|
|
offset_right = 28.0
|
||
|
|
offset_bottom = -5.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
size_flags_horizontal = 3
|
||
|
|
size_flags_vertical = 3
|
||
|
|
script = ExtResource("1")
|
||
|
|
metadata/_edit_horizontal_guides_ = [-61.0]
|
||
|
|
|
||
|
|
[node name="Dialogs" type="Node" parent="."]
|
||
|
|
|
||
|
|
[node name="DisconnectDialog" type="AcceptDialog" parent="Dialogs"]
|
||
|
|
title = "Server connection:"
|
||
|
|
dialog_text = "Connection closed"
|
||
|
|
|
||
|
|
[node name="InviteCodeDialog" type="AcceptDialog" parent="Dialogs"]
|
||
|
|
auto_translate_mode = 1
|
||
|
|
title = "Lobby code:"
|
||
|
|
initial_position = 2
|
||
|
|
size = Vector2i(158, 100)
|
||
|
|
dialog_text = "Error"
|
||
|
|
|
||
|
|
[node name="JoinGameDialog" type="AcceptDialog" parent="Dialogs"]
|
||
|
|
auto_translate_mode = 1
|
||
|
|
title = "Logging in..."
|
||
|
|
initial_position = 2
|
||
|
|
size = Vector2i(158, 100)
|
||
|
|
dialog_text = "Error"
|
||
|
|
|
||
|
|
[node name="ErrorDialog" type="AcceptDialog" parent="Dialogs"]
|
||
|
|
auto_translate_mode = 1
|
||
|
|
title = "Logging in..."
|
||
|
|
initial_position = 2
|
||
|
|
size = Vector2i(158, 100)
|
||
|
|
dialog_text = "Error"
|
||
|
|
|
||
|
|
[node name="Settingsmenu" parent="." instance=ExtResource("6_4j5ol")]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
visible = false
|
||
|
|
layout_mode = 1
|
||
|
|
|
||
|
|
[node name="Mainmenu" parent="." instance=ExtResource("2_v0l8b")]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
layout_mode = 1
|
||
|
|
|
||
|
|
[node name="Pausemenu" parent="." instance=ExtResource("8_of57s")]
|
||
|
|
unique_name_in_owner = true
|
||
|
|
visible = false
|
||
|
|
layout_mode = 1
|
||
|
|
|
||
|
|
[node name="Hud" parent="." instance=ExtResource("5_0ha60")]
|
||
|
|
visible = false
|
||
|
|
layout_mode = 1
|
||
|
|
|
||
|
|
[node name="Maps" type="Node3D" parent="."]
|
||
|
|
|
||
|
|
[node name="Players" type="Node3D" parent="."]
|
||
|
|
|
||
|
|
[node name="Spectators" type="Node3D" parent="."]
|
||
|
|
|
||
|
|
[node name="MapSpawner" type="MultiplayerSpawner" parent="."]
|
||
|
|
_spawnable_scenes = PackedStringArray("uid://bco4seshb8fjf", "uid://k0jpd2sugl7b")
|
||
|
|
spawn_path = NodePath("../Maps")
|
||
|
|
|
||
|
|
[node name="PlayerSpawner" type="MultiplayerSpawner" parent="."]
|
||
|
|
_spawnable_scenes = PackedStringArray("uid://rvvjguhqjtpb")
|
||
|
|
spawn_path = NodePath("../Players")
|
||
|
|
|
||
|
|
[node name="VoiceInput" type="AudioStreamPlayer" parent="."]
|
||
|
|
stream = SubResource("AudioStreamMicrophone_of57s")
|
||
|
|
autoplay = true
|
||
|
|
mix_target = 2
|
||
|
|
|
||
|
|
[node name="DebugVoiceOutput" type="AudioStreamPlayer3D" parent="."]
|
||
|
|
stream = SubResource("AudioStreamOpusChunked_of57s")
|
||
|
|
autoplay = true
|