forked from unfa/liblast
259 lines
6.3 KiB
Plaintext
259 lines
6.3 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://bff5uslrxesjx"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dlw3sb5tygqf4" path="res://Assets/HUD/Vignette.png" id="1"]
|
|
[ext_resource type="Script" path="res://Assets/HUD/HUD.gd" id="1_wc430"]
|
|
[ext_resource type="Texture2D" uid="uid://cjfjsnff41st1" path="res://Assets/HUD/Crosshair.png" id="2"]
|
|
[ext_resource type="AudioStream" uid="uid://cbehcynykrbqn" path="res://Assets/SFX/UI_Confirm_Kill.wav" id="3"]
|
|
[ext_resource type="AudioStream" uid="uid://b4th1lwwyw40k" path="res://Assets/SFX/UI_Confirm_Hit.wav" id="4"]
|
|
[ext_resource type="Script" path="res://Assets/HUD/Crosshair.gd" id="5"]
|
|
[ext_resource type="Script" path="res://Assets/HUD/Chat.gd" id="6"]
|
|
[ext_resource type="Theme" uid="uid://ddtu7o1dbp0s8" path="res://Assets/HUD/Theme.tres" id="7"]
|
|
|
|
[sub_resource type="Animation" id="1"]
|
|
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="2"]
|
|
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( "4" )
|
|
}],
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
|
|
[sub_resource type="Animation" id="3"]
|
|
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( "3" )
|
|
}],
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
|
|
[node name="HUD" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( "1_wc430" )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Crosshair" type="Control" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
script = ExtResource( "5" )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Crosshair" type="TextureRect" parent="Crosshair"]
|
|
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
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Crosshair"]
|
|
autoplay = "Default"
|
|
anims/Default = SubResource( "1" )
|
|
anims/Hit = SubResource( "2" )
|
|
anims/Kill = SubResource( "3" )
|
|
blend_times = []
|
|
script = null
|
|
|
|
[node name="Hit_Confirmation" type="AudioStreamPlayer" parent="Crosshair"]
|
|
stream = ExtResource( "3" )
|
|
script = null
|
|
|
|
[node name="Vignette" type="TextureRect" parent="."]
|
|
modulate = Color(1, 1, 1, 0)
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
texture = ExtResource( "1" )
|
|
expand = true
|
|
stretch_mode = 7
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Chat" type="Control" parent="."]
|
|
offset_left = 24.0
|
|
offset_top = 24.0
|
|
offset_right = 324.0
|
|
offset_bottom = 474.0
|
|
script = ExtResource( "6" )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Chat"]
|
|
offset_right = 300.0
|
|
offset_bottom = 507.0
|
|
alignment = 2
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ChatHistory" type="RichTextLabel" parent="Chat/VBoxContainer"]
|
|
offset_top = 37.0
|
|
offset_right = 300.0
|
|
offset_bottom = 507.0
|
|
rect_min_size = Vector2(0, 470)
|
|
theme = ExtResource( "7" )
|
|
bbcode_enabled = true
|
|
scroll_active = false
|
|
scroll_following = true
|
|
custom_effects = []
|
|
structured_text_bidi_override_options = []
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Typing" type="HBoxContainer" parent="Chat/VBoxContainer"]
|
|
visible = false
|
|
offset_top = 474.0
|
|
offset_right = 309.0
|
|
offset_bottom = 507.0
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="Chat/VBoxContainer/Typing"]
|
|
offset_top = 3.0
|
|
offset_right = 55.0
|
|
offset_bottom = 29.0
|
|
rect_min_size = Vector2(55, 0)
|
|
text = "say: "
|
|
structured_text_bidi_override_options = []
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Editor" type="LineEdit" parent="Chat/VBoxContainer/Typing"]
|
|
offset_left = 59.0
|
|
offset_right = 309.0
|
|
offset_bottom = 33.0
|
|
rect_min_size = Vector2(250, 0)
|
|
max_length = 80
|
|
expand_to_text_length = true
|
|
context_menu_enabled = false
|
|
virtual_keyboard_enabled = false
|
|
shortcut_keys_enabled = false
|
|
selecting_enabled = false
|
|
structured_text_bidi_override_options = []
|
|
placeholder_text = "ENTER to send, ESC to cancel"
|
|
placeholder_alpha = 0.5
|
|
caret_blink = true
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="RespawnCountdown" type="Label" parent="."]
|
|
visible = false
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -220.0
|
|
offset_right = 220.0
|
|
offset_bottom = 221.0
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "RESPAWNING IN 5.0 seconds"
|
|
align = 1
|
|
valign = 1
|
|
structured_text_bidi_override_options = []
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ScoreRank" type="Label" parent="."]
|
|
anchor_left = 1.0
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
offset_left = -116.0
|
|
offset_top = -27.0
|
|
offset_bottom = 27.0
|
|
align = 2
|
|
valign = 1
|
|
structured_text_bidi_override_options = []
|
|
script = null
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[connection signal="text_submitted" from="Chat/VBoxContainer/Typing/Editor" to="Chat" method="_on_Editor_text_submitted"]
|