added weapon holstering
This commit is contained in:
14
hud.tscn
14
hud.tscn
@@ -131,7 +131,7 @@ value = 49.0
|
||||
fill_mode = 5
|
||||
texture_progress = ExtResource("4_ooaul")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
[node name="GunInfo" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
@@ -148,7 +148,7 @@ theme_override_constants/margin_top = 50
|
||||
theme_override_constants/margin_right = 50
|
||||
theme_override_constants/margin_bottom = 50
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="GunInfo"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 8
|
||||
@@ -156,7 +156,7 @@ theme = ExtResource("1_22trs")
|
||||
theme_override_constants/separation = 10
|
||||
alignment = 2
|
||||
|
||||
[node name="Gun Name" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||
[node name="Gun Name" type="Label" parent="GunInfo/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_22trs")
|
||||
theme_type_variation = &"TextShadow"
|
||||
@@ -164,25 +164,25 @@ theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
text = "Gun Name"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="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="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
[node name="AmmoCurrent" type="Label" parent="GunInfo/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_22trs")
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
text = "XXX"
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
[node name="Label" type="Label" parent="GunInfo/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "-"
|
||||
|
||||
[node name="AmmoReserve" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
||||
[node name="AmmoReserve" type="Label" parent="GunInfo/VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_22trs")
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
|
||||
Reference in New Issue
Block a user