[gd_scene load_steps=6 format=3 uid="uid://c8kak2l3m4n5"] [ext_resource type="Script" uid="uid://du7y176h5aaq4" path="res://scripts/HUDController.gd" id="1_hud_controller"] [ext_resource type="Script" path="res://scripts/hud_attitude_indicator.gd" id="2_adi"] [ext_resource type="Script" path="res://scripts/hud_heading_tape.gd" id="3_tape"] [ext_resource type="Script" path="res://scripts/hud_gauge.gd" id="4_gauge"] [sub_resource type="LabelSettings" id="LabelSettings_hud"] font_size = 32 [node name="HUD" type="CanvasLayer"] process_mode = 3 script = ExtResource("1_hud_controller") [node name="Control" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="TimerLabel" type="Label" parent="Control"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -90.5 offset_right = 90.5 offset_bottom = 62.0 grow_horizontal = 2 label_settings = SubResource("LabelSettings_hud") horizontal_alignment = 1 [node name="ScoreRow" type="HBoxContainer" parent="Control"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -90.5 offset_right = 90.5 offset_top = 64.0 offset_bottom = 110.0 grow_horizontal = 2 alignment = 1 [node name="Team0Score" type="Label" parent="Control/ScoreRow"] layout_mode = 2 theme_override_colors/font_color = Color(0.25, 0.55, 1, 1) theme_override_font_sizes/font_size = 32 text = "0" [node name="ScoreDash" type="Label" parent="Control/ScoreRow"] layout_mode = 2 theme_override_font_sizes/font_size = 32 text = " - " [node name="Team1Score" type="Label" parent="Control/ScoreRow"] layout_mode = 2 theme_override_colors/font_color = Color(1, 0.5, 0.15, 1) theme_override_font_sizes/font_size = 32 text = "0" [node name="ResultOverlay" type="Control" parent="Control"] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Dim" type="ColorRect" parent="Control/ResultOverlay"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.5) [node name="Center" type="CenterContainer" parent="Control/ResultOverlay"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBox" type="VBoxContainer" parent="Control/ResultOverlay/Center"] layout_mode = 2 theme_override_constants/separation = 16 [node name="ResultLabel" type="Label" parent="Control/ResultOverlay/Center/VBox"] layout_mode = 2 theme_override_font_sizes/font_size = 56 text = "Draw" horizontal_alignment = 1 [node name="FinalScoreLabel" type="Label" parent="Control/ResultOverlay/Center/VBox"] layout_mode = 2 theme_override_font_sizes/font_size = 36 text = "0 - 0" horizontal_alignment = 1 [node name="Instruments" type="Control" parent="Control"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 [node name="HeadingTape" type="Control" parent="Control/Instruments"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -180.0 offset_right = 180.0 offset_top = 116.0 offset_bottom = 156.0 grow_horizontal = 2 mouse_filter = 2 script = ExtResource("3_tape") [node name="Cluster" type="VBoxContainer" parent="Control/Instruments"] layout_mode = 1 anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_left = 16.0 offset_top = -248.0 offset_right = 294.0 offset_bottom = -16.0 grow_vertical = 0 theme_override_constants/separation = 8 mouse_filter = 2 [node name="Dials" type="HBoxContainer" parent="Control/Instruments/Cluster"] layout_mode = 2 theme_override_constants/separation = 8 mouse_filter = 2 [node name="SpeedGauge" type="Control" parent="Control/Instruments/Cluster/Dials"] custom_minimum_size = Vector2(46, 170) layout_mode = 2 mouse_filter = 2 script = ExtResource("4_gauge") label = "SPD" max_value = 35.0 [node name="AttitudeIndicator" type="Control" parent="Control/Instruments/Cluster/Dials"] custom_minimum_size = Vector2(170, 170) layout_mode = 2 mouse_filter = 2 script = ExtResource("2_adi") [node name="AltitudeGauge" type="Control" parent="Control/Instruments/Cluster/Dials"] custom_minimum_size = Vector2(46, 170) layout_mode = 2 mouse_filter = 2 script = ExtResource("4_gauge") label = "ALT" max_value = 12.0 value_format = "%.1f" [node name="ThrustBar" type="Control" parent="Control/Instruments/Cluster"] custom_minimum_size = Vector2(278, 16) layout_mode = 2 mouse_filter = 2 script = ExtResource("4_gauge") label = "THR" horizontal = true fill_color = Color(1, 0.55, 0.15, 0.85) [node name="CameraModeLabel" type="Label" parent="Control/Instruments/Cluster"] modulate = Color(1, 1, 1, 0.6) layout_mode = 2 theme_override_font_sizes/font_size = 14 text = "Camera: Ball Cam"