open-fpsz/interfaces/hud/iffs/iff.tscn
schorsch_huckleberry f1dcad8c30 ⚗️ HUD updates
2024-04-20 19:40:23 +00:00

54 lines
1.8 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://dsysi2rd3bu76"]
[ext_resource type="Script" path="res://interfaces/hud/iffs/iff.gd" id="1_g1wra"]
[ext_resource type="StyleBox" uid="uid://cgv081wfih7la" path="res://interfaces/hud/iffs/health_foreground.tres" id="2_e3xla"]
[ext_resource type="StyleBox" uid="uid://dcn1ll2ra4lwn" path="res://interfaces/hud/vitals/background.tres" id="2_jtos4"]
[node name="IFF" type="Control"]
layout_mode = 3
anchors_preset = 0
script = ExtResource("1_g1wra")
[node name="IFFContainer" type="MarginContainer" parent="."]
layout_mode = 0
offset_right = 63.0
offset_bottom = 42.0
mouse_filter = 2
[node name="IFFInRangeContainer" type="Control" parent="IFFContainer"]
layout_mode = 2
mouse_filter = 2
[node name="PlayerNameLabel" type="Label" parent="IFFContainer/IFFInRangeContainer"]
layout_mode = 2
offset_right = 63.0
offset_bottom = 17.0
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 12
text = "Player"
horizontal_alignment = 1
metadata/_edit_use_anchors_ = true
[node name="HealthBar" type="ProgressBar" parent="IFFContainer/IFFInRangeContainer"]
layout_mode = 2
offset_top = 20.0
offset_right = 63.0
offset_bottom = 24.0
mouse_filter = 2
theme_override_styles/background = ExtResource("2_jtos4")
theme_override_styles/fill = ExtResource("2_e3xla")
value = 60.0
show_percentage = false
[node name="Chevron" type="Label" parent="IFFContainer"]
layout_direction = 2
layout_mode = 2
size_flags_vertical = 1
theme_override_colors/font_color = Color(1, 0, 0, 0.2)
theme_override_colors/font_outline_color = Color(0, 0, 0, 0.2)
theme_override_constants/outline_size = 3
theme_override_constants/line_spacing = -20
theme_override_font_sizes/font_size = 14
text = "▼"
horizontal_alignment = 1
vertical_alignment = 2