[gd_scene format=3 uid="uid://brfsapvj2quxm"] [ext_resource type="Script" uid="uid://0dhj8sdpil7q" path="res://gui/tools/control_animation_player.gd" id="1_g7kwx"] [ext_resource type="Script" uid="uid://b77b1yr81r462" path="res://gui/game/energy_info/scripts/energy_info.gd" id="1_h7p5h"] [ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="2_h7p5h"] [ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="3_c14dn"] [ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="4_rqwov"] [ext_resource type="PackedScene" uid="uid://ddfdj8lb24f6g" path="res://gui/game/energy_info/assets/3d/battery.blend" id="6_c14dn"] [ext_resource type="Material" uid="uid://cr7bp4fhh1ipr" path="res://entities/player_3d/resources/materials/post_process_quad.tres" id="7_rqwov"] [ext_resource type="Environment" uid="uid://bxyp24f85p0xf" path="res://gui/game/assets/gui_3d_environment.tres" id="8_tj7lw"] [sub_resource type="ViewportTexture" id="ViewportTexture_h7p5h"] viewport_path = NodePath("BatteryViewport") [sub_resource type="QuadMesh" id="QuadMesh_tj7lw"] size = Vector2(2, 2) [node name="EnergyInfo" type="MarginContainer" unique_id=698017539] offset_right = 144.0 offset_bottom = 184.0 size_flags_horizontal = 2 size_flags_vertical = 0 script = ExtResource("1_h7p5h") [node name="TextureRect" type="TextureRect" parent="." unique_id=1995434270] layout_mode = 2 texture = SubResource("ViewportTexture_h7p5h") stretch_mode = 2 [node name="IconPlacer" type="MarginContainer" parent="." unique_id=667163887] layout_mode = 2 size_flags_horizontal = 8 size_flags_vertical = 0 theme_override_constants/margin_top = 13 theme_override_constants/margin_right = 20 theme_override_constants/margin_bottom = 0 [node name="Icon" type="TextureRect" parent="IconPlacer" unique_id=274278115] custom_minimum_size = Vector2(40, 40) layout_mode = 2 texture = ExtResource("4_rqwov") expand_mode = 1 stretch_mode = 5 [node name="TextPlacer" type="MarginContainer" parent="." unique_id=1669037421] layout_mode = 2 size_flags_vertical = 0 theme_override_constants/margin_left = 7 theme_override_constants/margin_top = 81 theme_override_constants/margin_right = 7 [node name="EnergyCount" type="RichTextLabel" parent="TextPlacer" unique_id=1073572949] unique_name_in_owner = true layout_mode = 2 theme = ExtResource("2_h7p5h") theme_override_fonts/normal_font = ExtResource("3_c14dn") theme_override_fonts/bold_font = ExtResource("3_c14dn") theme_override_fonts/bold_italics_font = ExtResource("3_c14dn") theme_override_fonts/italics_font = ExtResource("3_c14dn") theme_override_font_sizes/normal_font_size = 30 theme_override_font_sizes/bold_font_size = 70 bbcode_enabled = true text = "[b]0[/b] / 3" fit_content = true autowrap_mode = 0 horizontal_alignment = 1 [node name="EnergyAnimationPlayer" type="Node" parent="." unique_id=666526156] unique_name_in_owner = true script = ExtResource("1_g7kwx") metadata/_custom_type_script = "uid://0dhj8sdpil7q" [node name="BatteryViewport" type="SubViewport" parent="." unique_id=146346475] own_world_3d = true transparent_bg = true size = Vector2i(144, 184) [node name="battery" parent="BatteryViewport" unique_id=1405747982 instance=ExtResource("6_c14dn")] transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, 0, 0, 0) [node name="Camera3D" type="Camera3D" parent="BatteryViewport" unique_id=328545179] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 4.2918096, -0.38356447, 0) current = true fov = 39.9 [node name="MeshInstance3D" type="MeshInstance3D" parent="BatteryViewport" unique_id=1467847837] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2.8120923, -0.4413929, 0) mesh = SubResource("QuadMesh_tj7lw") surface_material_override/0 = ExtResource("7_rqwov") [node name="WorldEnvironment" type="WorldEnvironment" parent="BatteryViewport" unique_id=1322215759] environment = ExtResource("8_tj7lw")