[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://d01cp8xl0rme4" path="res://gui/game/energy_info/energy_info_3d.tscn" id="6_tj7lw"] [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 = 0 size_flags_vertical = 0 theme_override_constants/margin_left = 23 theme_override_constants/margin_top = 58 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 = 20 theme_override_constants/margin_top = 9 theme_override_constants/margin_right = 418 [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 = 40 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(529, 190) [node name="EnergyInfo3d" parent="BatteryViewport" unique_id=1798644168 instance=ExtResource("6_tj7lw")] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.918, 2) max_energy = 3 [node name="WorldEnvironment" type="WorldEnvironment" parent="BatteryViewport" unique_id=1322215759] environment = ExtResource("8_tj7lw") [node name="Camera3D" type="Camera3D" parent="BatteryViewport" unique_id=597830916] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 15.465, -0.4, 0.1) fov = 10.1 [node name="MeshInstance3D" type="MeshInstance3D" parent="BatteryViewport/Camera3D" unique_id=1583578016] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.057, -0.2) mesh = SubResource("QuadMesh_tj7lw") skeleton = NodePath("../..") surface_material_override/0 = ExtResource("7_rqwov")