2021-06-19 03:40:10 +02:00
|
|
|
[gd_scene load_steps=11 format=2]
|
2021-06-03 22:34:36 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://Assets/HUD/Vignette.png" type="Texture2D" id=1]
|
|
|
|
[ext_resource path="res://Assets/HUD/Crosshair.png" type="Texture2D" id=2]
|
|
|
|
[ext_resource path="res://Assets/SFX/UI_Confirm_Kill.wav" type="AudioStream" id=3]
|
|
|
|
[ext_resource path="res://Assets/SFX/UI_Confirm_Hit.wav" type="AudioStream" id=4]
|
|
|
|
[ext_resource path="res://Assets/HUD/Crosshair.gd" type="Script" id=5]
|
2021-06-04 00:38:30 +02:00
|
|
|
[ext_resource path="res://Assets/HUD/Chat.gd" type="Script" id=6]
|
2021-06-19 03:40:10 +02:00
|
|
|
[ext_resource path="res://Assets/HUD/Theme.tres" type="Theme" id=7]
|
2021-06-03 22:34:36 +02:00
|
|
|
|
|
|
|
[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 = {
|
2021-07-16 02:52:18 +02:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
2021-06-03 22:34:36 +02:00
|
|
|
"update": 0,
|
2021-07-16 02:52:18 +02:00
|
|
|
"values": [Color(1, 1, 1, 1)]
|
2021-06-03 22:34:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 = {
|
2021-07-16 02:52:18 +02:00
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
2021-06-03 22:34:36 +02:00
|
|
|
"update": 0,
|
2021-07-16 02:52:18 +02:00
|
|
|
"values": [Color(1, 0.716667, 0, 1), Color(1, 0.716667, 0, 1), Color(1, 1, 1, 1)]
|
2021-06-03 22:34:36 +02:00
|
|
|
}
|
|
|
|
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 = {
|
2021-07-16 02:52:18 +02:00
|
|
|
"clips": [{
|
2021-06-03 22:34:36 +02:00
|
|
|
"end_offset": 0.0,
|
|
|
|
"start_offset": 0.0,
|
|
|
|
"stream": ExtResource( 4 )
|
2021-07-16 02:52:18 +02:00
|
|
|
}],
|
|
|
|
"times": PackedFloat32Array(0)
|
2021-06-03 22:34:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[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 = {
|
2021-07-16 02:52:18 +02:00
|
|
|
"times": PackedFloat32Array(0, 0.25, 0.5),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
2021-06-03 22:34:36 +02:00
|
|
|
"update": 0,
|
2021-07-16 02:52:18 +02:00
|
|
|
"values": [Color(1, 0.0532926, 0, 1), Color(1, 0.0532926, 0, 1), Color(1, 1, 1, 1)]
|
2021-06-03 22:34:36 +02:00
|
|
|
}
|
|
|
|
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 = {
|
2021-07-16 02:52:18 +02:00
|
|
|
"clips": [{
|
2021-06-03 22:34:36 +02:00
|
|
|
"end_offset": 0.0,
|
|
|
|
"start_offset": 0.0,
|
|
|
|
"stream": ExtResource( 3 )
|
2021-07-16 02:52:18 +02:00
|
|
|
}],
|
|
|
|
"times": PackedFloat32Array(0)
|
2021-06-03 22:34:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
[node name="HUD" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
script = null
|
|
|
|
__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
|
2021-07-16 02:52:18 +02:00
|
|
|
rect_scale = Vector2(0.5, 0.5)
|
2021-06-03 22:34:36 +02:00
|
|
|
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 )
|
2021-07-16 02:52:18 +02:00
|
|
|
blend_times = []
|
2021-06-03 22:34:36 +02:00
|
|
|
script = null
|
|
|
|
|
|
|
|
[node name="Hit_Confirmation" type="AudioStreamPlayer" parent="Crosshair"]
|
|
|
|
stream = ExtResource( 3 )
|
|
|
|
script = null
|
|
|
|
|
|
|
|
[node name="Vignette" type="TextureRect" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
expand = true
|
|
|
|
stretch_mode = 7
|
|
|
|
script = null
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2021-06-04 00:38:30 +02:00
|
|
|
|
|
|
|
[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
|
2021-06-07 11:56:16 +02:00
|
|
|
offset_bottom = 507.0
|
2021-06-04 00:38:30 +02:00
|
|
|
alignment = 2
|
|
|
|
script = null
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ChatHistory" type="RichTextLabel" parent="Chat/VBoxContainer"]
|
2021-06-07 11:56:16 +02:00
|
|
|
offset_top = 37.0
|
2021-06-04 00:38:30 +02:00
|
|
|
offset_right = 300.0
|
2021-06-07 11:56:16 +02:00
|
|
|
offset_bottom = 507.0
|
2021-07-16 02:52:18 +02:00
|
|
|
rect_min_size = Vector2(0, 470)
|
2021-06-19 03:40:10 +02:00
|
|
|
theme = ExtResource( 7 )
|
|
|
|
bbcode_enabled = true
|
2021-06-04 00:38:30 +02:00
|
|
|
scroll_active = false
|
|
|
|
scroll_following = true
|
2021-07-16 02:52:18 +02:00
|
|
|
custom_effects = []
|
|
|
|
structured_text_bidi_override_options = []
|
2021-06-04 00:38:30 +02:00
|
|
|
script = null
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Typing" type="HBoxContainer" parent="Chat/VBoxContainer"]
|
|
|
|
visible = false
|
2021-06-07 11:56:16 +02:00
|
|
|
offset_top = 474.0
|
2021-07-16 02:52:18 +02:00
|
|
|
offset_right = 309.0
|
2021-06-07 11:56:16 +02:00
|
|
|
offset_bottom = 507.0
|
2021-06-04 00:38:30 +02:00
|
|
|
script = null
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Chat/VBoxContainer/Typing"]
|
|
|
|
offset_top = 3.0
|
2021-06-07 11:56:16 +02:00
|
|
|
offset_right = 55.0
|
2021-06-04 00:38:30 +02:00
|
|
|
offset_bottom = 29.0
|
2021-07-16 02:52:18 +02:00
|
|
|
rect_min_size = Vector2(55, 0)
|
2021-06-04 00:38:30 +02:00
|
|
|
text = "say: "
|
2021-07-16 02:52:18 +02:00
|
|
|
structured_text_bidi_override_options = []
|
2021-06-04 00:38:30 +02:00
|
|
|
script = null
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2021-06-07 11:56:16 +02:00
|
|
|
[node name="Editor" type="LineEdit" parent="Chat/VBoxContainer/Typing"]
|
|
|
|
offset_left = 59.0
|
2021-07-16 02:52:18 +02:00
|
|
|
offset_right = 309.0
|
2021-06-04 00:38:30 +02:00
|
|
|
offset_bottom = 33.0
|
2021-07-16 02:52:18 +02:00
|
|
|
rect_min_size = Vector2(250, 0)
|
2021-06-07 11:56:16 +02:00
|
|
|
max_length = 80
|
|
|
|
expand_to_text_length = true
|
2021-06-04 00:38:30 +02:00
|
|
|
context_menu_enabled = false
|
|
|
|
virtual_keyboard_enabled = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
selecting_enabled = false
|
2021-07-16 02:52:18 +02:00
|
|
|
structured_text_bidi_override_options = []
|
2021-06-07 11:56:16 +02:00
|
|
|
placeholder_text = "ENTER to send, ESC to cancel"
|
|
|
|
placeholder_alpha = 0.5
|
2021-06-04 00:38:30 +02:00
|
|
|
caret_blink = true
|
|
|
|
script = null
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|