169 lines
4.8 KiB
Plaintext
169 lines
4.8 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://br882tlh3cfwu"]
|
|
|
|
[ext_resource type="Script" uid="uid://dfv2m81iew3ia" path="res://scripts/hud.gd" id="1_7hukm"]
|
|
[ext_resource type="Theme" uid="uid://clek42ofxr45f" path="res://DefaultTheme.tres" id="1_22trs"]
|
|
[ext_resource type="Script" uid="uid://cfou02ggxj80n" path="res://scripts/dynamic_crosshair.gd" id="5_1xsix"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2hn4h"]
|
|
bg_color = Color(1, 1, 1, 0.129412)
|
|
corner_radius_top_left = 5
|
|
corner_radius_top_right = 5
|
|
corner_radius_bottom_right = 5
|
|
corner_radius_bottom_left = 5
|
|
expand_margin_left = 10.0
|
|
expand_margin_top = 10.0
|
|
expand_margin_right = 10.0
|
|
expand_margin_bottom = 10.0
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_axtce"]
|
|
bg_color = Color(1, 1, 1, 0.498039)
|
|
|
|
[node name="HUD" type="Control"]
|
|
light_mask = 2
|
|
visibility_layer = 2
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_7hukm")
|
|
radial_stamina = true
|
|
|
|
[node name="StaticItems" type="Control" parent="."]
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="DynamicCrosshair" type="Control" parent="StaticItems"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -20.0
|
|
offset_top = -20.0
|
|
offset_right = 20.0
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("5_1xsix")
|
|
|
|
[node name="WobbleItems" type="Control" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_right = -1152.0
|
|
offset_bottom = -648.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Money" type="Label" parent="WobbleItems"]
|
|
layout_mode = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 44.975
|
|
offset_top = 334.91
|
|
offset_right = 244.975
|
|
offset_bottom = 465.91
|
|
grow_vertical = 0
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/font_size = 125
|
|
text = "$"
|
|
|
|
[node name="HealthBar" type="ProgressBar" parent="WobbleItems"]
|
|
custom_minimum_size = Vector2(300, 50)
|
|
layout_mode = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 50.38
|
|
offset_top = 502.685
|
|
offset_right = 350.38
|
|
offset_bottom = 552.685
|
|
grow_vertical = 0
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_styles/background = SubResource("StyleBoxFlat_2hn4h")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_axtce")
|
|
value = 30.45
|
|
show_percentage = false
|
|
|
|
[node name="LeftMargin" type="MarginContainer" parent="WobbleItems"]
|
|
layout_mode = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = 483.0
|
|
offset_right = 300.0
|
|
offset_bottom = 608.0
|
|
grow_vertical = 0
|
|
theme_override_constants/margin_left = 50
|
|
theme_override_constants/margin_top = 50
|
|
theme_override_constants/margin_right = 50
|
|
theme_override_constants/margin_bottom = 50
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="WobbleItems/LeftMargin"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 10
|
|
|
|
[node name="GunInfo" type="MarginContainer" parent="WobbleItems"]
|
|
layout_mode = 2
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 378.0
|
|
offset_top = 236.0
|
|
offset_right = 1112.0
|
|
offset_bottom = 608.0
|
|
grow_horizontal = 0
|
|
grow_vertical = 0
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_constants/margin_left = 50
|
|
theme_override_constants/margin_top = 50
|
|
theme_override_constants/margin_right = 50
|
|
theme_override_constants/margin_bottom = 50
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="WobbleItems/GunInfo"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 8
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_constants/separation = 10
|
|
alignment = 2
|
|
|
|
[node name="Gun Name" type="Label" parent="WobbleItems/GunInfo/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("1_22trs")
|
|
theme_type_variation = &"TextShadow"
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 15
|
|
text = "Gun Name"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="AmmoCounter" type="HBoxContainer" parent="WobbleItems/GunInfo/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_constants/separation = 50
|
|
alignment = 2
|
|
|
|
[node name="AmmoCurrent" type="Label" parent="WobbleItems/GunInfo/VBoxContainer/AmmoCounter"]
|
|
layout_mode = 2
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_constants/outline_size = 15
|
|
horizontal_alignment = 2
|
|
|
|
[node name="Label" type="Label" parent="WobbleItems/GunInfo/VBoxContainer/AmmoCounter"]
|
|
layout_mode = 2
|
|
theme_override_constants/outline_size = 15
|
|
text = "-"
|
|
|
|
[node name="AmmoReserve" type="Label" parent="WobbleItems/GunInfo/VBoxContainer/AmmoCounter"]
|
|
layout_mode = 2
|
|
theme = ExtResource("1_22trs")
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 15
|
|
horizontal_alignment = 2
|