[gd_scene load_steps=9 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="Texture2D" uid="uid://dumgg4fq1ngbj" path="res://assets/UI/Crosshair/SVG/reticle_outer.svg" id="3_mgrwc"] [ext_resource type="Texture2D" uid="uid://cpe2ehq1vtj25" path="res://assets/UI/Crosshair/SVG/reticle_inner.svg" id="4_61fkt"] [ext_resource type="Texture2D" uid="uid://h2tp42xntorm" path="res://assets/UI/Crosshair/SVG/Stamina_White.svg" id="4_ooaul"] [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) [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_ytfhs"] [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="StaminaBar2" type="ProgressBar" parent="StaticItems"] custom_minimum_size = Vector2(30, 10) layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = 606.0 offset_top = 331.0 offset_right = 661.0 offset_bottom = 341.0 grow_horizontal = 2 grow_vertical = 2 rotation = -1.5708 theme = ExtResource("1_22trs") theme_override_styles/background = SubResource("StyleBoxFlat_2hn4h") theme_override_styles/fill = SubResource("StyleBoxFlat_axtce") value = 35.29 show_percentage = false [node name="Crosshair" type="TextureRect" parent="StaticItems" groups=["hud"]] layout_mode = 0 offset_right = 396.0 offset_bottom = 396.0 texture = ExtResource("3_mgrwc") expand_mode = 3 stretch_mode = 4 [node name="CrosshairCenter" type="TextureRect" parent="StaticItems" groups=["hud"]] layout_mode = 0 offset_right = 396.0 offset_bottom = 396.0 scale = Vector2(0.02, 0.02) texture = ExtResource("4_61fkt") expand_mode = 3 stretch_mode = 4 [node name="StaminaBar" type="TextureProgressBar" parent="StaticItems"] material = SubResource("CanvasItemMaterial_ytfhs") layout_mode = 0 offset_right = 370.0 offset_bottom = 370.0 scale = Vector2(0.3, 0.3) value = 49.0 fill_mode = 5 texture_progress = ExtResource("4_ooaul") [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 text = "XXX" 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 text = "YYY" horizontal_alignment = 2