2019-11-20 14:30:34 +01:00
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://ui/unitframes/UnitframeBase.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=2]
|
|
|
|
|
|
|
|
[node name="UnitFrame" type="PanelContainer"]
|
|
|
|
margin_right = 150.0
|
2019-12-03 23:22:35 +01:00
|
|
|
margin_bottom = 61.0
|
2019-11-20 14:30:34 +01:00
|
|
|
theme = ExtResource( 2 )
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
name_text_path = NodePath("VBoxContainer/HBoxContainer/Label")
|
|
|
|
level_text_path = NodePath("VBoxContainer/HBoxContainer/Label2")
|
2019-12-03 23:22:35 +01:00
|
|
|
health_range_path = NodePath("VBoxContainer/MarginContainer/ProgressBar")
|
|
|
|
health_text_path = NodePath("VBoxContainer/MarginContainer/Label")
|
2020-03-10 15:33:48 +01:00
|
|
|
resource_range_path = NodePath("VBoxContainer/MarginContainer2/ResourceBar")
|
|
|
|
resource_text_path = NodePath("VBoxContainer/MarginContainer2/Label")
|
2019-11-20 14:30:34 +01:00
|
|
|
xp_range_path = NodePath("VBoxContainer/XPBar")
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 146.0
|
2019-12-03 23:22:35 +01:00
|
|
|
margin_bottom = 57.0
|
2019-11-20 14:30:34 +01:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
custom_constants/separation = 1
|
|
|
|
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
|
|
margin_right = 142.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"]
|
2019-12-03 23:22:35 +01:00
|
|
|
margin_right = 138.0
|
2019-11-20 14:30:34 +01:00
|
|
|
margin_bottom = 15.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
|
|
margin_left = 142.0
|
|
|
|
margin_right = 142.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
|
2019-12-03 23:22:35 +01:00
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
|
2019-11-20 14:30:34 +01:00
|
|
|
margin_top = 16.0
|
|
|
|
margin_right = 142.0
|
2019-12-03 23:22:35 +01:00
|
|
|
margin_bottom = 31.0
|
|
|
|
|
|
|
|
[node name="ProgressBar" type="ProgressBar" parent="VBoxContainer/MarginContainer"]
|
|
|
|
margin_right = 142.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
percent_visible = false
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer"]
|
|
|
|
margin_right = 142.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
|
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer"]
|
|
|
|
margin_top = 32.0
|
|
|
|
margin_right = 142.0
|
|
|
|
margin_bottom = 47.0
|
|
|
|
|
|
|
|
[node name="ResourceBar" type="ProgressBar" parent="VBoxContainer/MarginContainer2"]
|
|
|
|
margin_right = 142.0
|
|
|
|
margin_bottom = 15.0
|
2019-11-20 14:30:34 +01:00
|
|
|
size_flags_horizontal = 3
|
2019-12-03 23:22:35 +01:00
|
|
|
size_flags_vertical = 3
|
|
|
|
percent_visible = false
|
2019-11-20 14:30:34 +01:00
|
|
|
|
2019-12-03 23:22:35 +01:00
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer2"]
|
2019-11-20 14:30:34 +01:00
|
|
|
margin_right = 142.0
|
2019-12-03 23:22:35 +01:00
|
|
|
margin_bottom = 15.0
|
2019-11-20 14:30:34 +01:00
|
|
|
size_flags_horizontal = 3
|
2019-12-03 23:22:35 +01:00
|
|
|
size_flags_vertical = 3
|
2020-03-11 16:38:01 +01:00
|
|
|
align = 1
|
|
|
|
valign = 1
|
2019-11-20 14:30:34 +01:00
|
|
|
|
|
|
|
[node name="XPBar" type="ProgressBar" parent="VBoxContainer"]
|
2019-12-03 23:22:35 +01:00
|
|
|
margin_top = 48.0
|
2019-11-20 14:30:34 +01:00
|
|
|
margin_right = 142.0
|
2019-12-03 23:22:35 +01:00
|
|
|
margin_bottom = 53.6018
|
2019-11-20 14:30:34 +01:00
|
|
|
rect_min_size = Vector2( 20, 5 )
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
percent_visible = false
|