[gd_scene load_steps=15 format=2] [ext_resource path="res://login_scene/character_selection_menu.gd" type="Script" id=1] [ext_resource path="res://game_scene/Game/Character/Character.tscn" type="PackedScene" id=2] [ext_resource path="res://assets/GUI/images/new_launcher_bg_0-1.png" type="Texture" id=3] [ext_resource path="res://login_scene/character_slots.tscn" type="PackedScene" id=4] [ext_resource path="res://login_scene/character_creation_box.tscn" type="PackedScene" id=5] [ext_resource path="res://assets/GUI/images/button_turn_left_up.png" type="Texture" id=6] [ext_resource path="res://assets/GUI/images/button_turn_left.png" type="Texture" id=7] [ext_resource path="res://assets/GUI/images/button_zoom_out.png" type="Texture" id=8] [ext_resource path="res://assets/GUI/images/button_zoom_in.png" type="Texture" id=9] [ext_resource path="res://assets/GUI/images/button_turn_right_up.png" type="Texture" id=10] [ext_resource path="res://assets/GUI/images/button_turn_right.png" type="Texture" id=11] [ext_resource path="res://assets/GUI/images/button_light_off.png" type="Texture" id=12] [ext_resource path="res://assets/GUI/images/button_light_on.png" type="Texture" id=13] [sub_resource type="ViewportTexture" id=1] resource_local_to_scene = true flags = 0 viewport_path = NodePath("viewport") [node name="character_selection_menu" type="Control"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 script = ExtResource( 1 ) [node name="viewport" type="Viewport" parent="." index="0"] arvr = false size = Vector2( 1024, 1024 ) own_world = false world = null transparent_bg = true msaa = 2 hdr = true disable_3d = false usage = 2 debug_draw = 0 render_target_v_flip = true render_target_clear_mode = 0 render_target_update_mode = 2 audio_listener_enable_2d = false audio_listener_enable_3d = false physics_object_picking = false gui_disable_input = false gui_snap_controls_to_pixels = true shadow_atlas_size = 0 shadow_atlas_quad_0 = 2 shadow_atlas_quad_1 = 2 shadow_atlas_quad_2 = 3 shadow_atlas_quad_3 = 4 _sections_unfolded = [ "Render Target", "Rendering" ] [node name="character" parent="viewport" index="0" instance=ExtResource( 2 )] transform = Transform( 0.371345, 0, 0, 0, 0.218854, 0, 0, 0, 0.371345, 0.000610344, -0.475751, 6.02408 ) [node name="face_lights" type="Spatial" parent="viewport/character" index="4"] [node name="face_light_right" type="OmniLight" parent="viewport/character/face_lights" index="0"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.37718, 6.37492, -2.74363 ) layers = 1 light_color = Color( 0.742188, 0.945618, 1, 1 ) light_energy = 0.5 light_indirect_energy = 1.0 light_negative = false light_specular = 0.5 light_bake_mode = 1 light_cull_mask = -1 shadow_enabled = false shadow_color = Color( 0, 0, 0, 1 ) shadow_bias = 0.15 shadow_contact = 0.0 shadow_reverse_cull_face = false editor_only = false omni_range = 5.0 omni_attenuation = 1.0 omni_shadow_mode = 1 omni_shadow_detail = 1 _sections_unfolded = [ "Light" ] [node name="face_light_left" type="OmniLight" parent="viewport/character/face_lights" index="1"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.69919, 6.37492, -2.74363 ) layers = 1 light_color = Color( 0.741176, 0.945098, 1, 1 ) light_energy = 0.5 light_indirect_energy = 1.0 light_negative = false light_specular = 0.5 light_bake_mode = 1 light_cull_mask = -1 shadow_enabled = false shadow_color = Color( 0, 0, 0, 1 ) shadow_bias = 0.15 shadow_contact = 0.0 shadow_reverse_cull_face = false editor_only = false omni_range = 5.0 omni_attenuation = 1.0 omni_shadow_mode = 1 omni_shadow_detail = 1 _sections_unfolded = [ "Light" ] [node name="face_camera" type="Camera" parent="viewport/character" index="5"] transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 0, 5.0457, -2.44418 ) keep_aspect = 1 cull_mask = 1048575 environment = null h_offset = 0.0 v_offset = 0.0 doppler_tracking = 0 projection = 1 current = false fov = 70.0 size = 2.0 near = 0.05 far = 100.0 _sections_unfolded = [ "Transform" ] [node name="texture_rect" type="TextureRect" parent="." index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 texture = ExtResource( 3 ) expand = true stretch_mode = 7 _sections_unfolded = [ "Size Flags" ] [node name="margin_container" type="MarginContainer" parent="." index="2"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 custom_constants/margin_right = 8 custom_constants/margin_top = 8 custom_constants/margin_left = 8 custom_constants/margin_bottom = 8 _sections_unfolded = [ "Mouse", "Size Flags", "custom_constants" ] [node name="character_box" type="HBoxContainer" parent="margin_container" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 8.0 margin_top = 8.0 margin_right = 1016.0 margin_bottom = 592.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 mouse_default_cursor_shape = 0 size_flags_horizontal = 3 size_flags_vertical = 3 alignment = 0 _sections_unfolded = [ "Mouse", "Size Flags", "custom_constants" ] [node name="character_slots" parent="margin_container/character_box" index="0" instance=ExtResource( 4 )] margin_top = 282.0 margin_bottom = 302.0 size_flags_vertical = 6 custom_constants/separation = 8 _sections_unfolded = [ "Size Flags", "custom_constants" ] [node name="character_creation_box" parent="margin_container/character_box" index="1" instance=ExtResource( 5 )] visible = false margin_top = 0.0 margin_right = 1008.0 margin_bottom = 584.0 size_flags_horizontal = 7 size_flags_vertical = 7 [node name="v_box_container" type="VBoxContainer" parent="margin_container/character_box" index="2"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 58.0 margin_right = 1008.0 margin_bottom = 584.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 mouse_default_cursor_shape = 0 size_flags_horizontal = 3 size_flags_vertical = 3 alignment = 0 _sections_unfolded = [ "Mouse", "Size Flags" ] [node name="h_box_container" type="HBoxContainer" parent="margin_container/character_box/v_box_container" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 387.0 margin_right = 563.0 margin_bottom = 32.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 mouse_default_cursor_shape = 2 size_flags_horizontal = 6 size_flags_vertical = 0 alignment = 0 _sections_unfolded = [ "Mouse", "Size Flags" ] [node name="turn_left" type="TextureButton" parent="margin_container/character_box/v_box_container/h_box_container" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_right = 32.0 margin_bottom = 32.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false hint_tooltip = "Tourner le modele vers la gauche." focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false action_mode = 0 enabled_focus_mode = 2 shortcut = null group = null texture_normal = ExtResource( 6 ) texture_pressed = ExtResource( 7 ) _sections_unfolded = [ "Hint", "Rect", "Textures" ] [node name="zoom_out" type="TextureButton" parent="margin_container/character_box/v_box_container/h_box_container" index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 36.0 margin_right = 68.0 margin_bottom = 32.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false hint_tooltip = "Zoom arrière." focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null texture_normal = ExtResource( 8 ) _sections_unfolded = [ "Hint", "Textures" ] [node name="zoom_in" type="TextureButton" parent="margin_container/character_box/v_box_container/h_box_container" index="2"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 72.0 margin_right = 104.0 margin_bottom = 32.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false hint_tooltip = "Zoom avant." focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null texture_normal = ExtResource( 9 ) _sections_unfolded = [ "Hint", "Textures" ] [node name="turn_right" type="TextureButton" parent="margin_container/character_box/v_box_container/h_box_container" index="3"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 108.0 margin_right = 140.0 margin_bottom = 32.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false hint_tooltip = "Tourner le modele vers la droite." focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = false action_mode = 0 enabled_focus_mode = 2 shortcut = null group = null texture_normal = ExtResource( 10 ) texture_pressed = ExtResource( 11 ) _sections_unfolded = [ "Hint", "Textures" ] [node name="lights" type="TextureButton" parent="margin_container/character_box/v_box_container/h_box_container" index="4"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 144.0 margin_right = 176.0 margin_bottom = 32.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false hint_tooltip = "Lumières ON/OFF" focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 toggle_mode = true pressed = true enabled_focus_mode = 2 shortcut = null group = null texture_normal = ExtResource( 12 ) texture_pressed = ExtResource( 13 ) _sections_unfolded = [ "Hint", "Textures" ] [node name="character_preview_image" type="TextureRect" parent="margin_container/character_box/v_box_container" index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 36.0 margin_right = 950.0 margin_bottom = 584.0 rect_min_size = Vector2( 512, 512 ) rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 mouse_default_cursor_shape = 0 size_flags_horizontal = 7 size_flags_vertical = 7 texture = SubResource( 1 ) expand = true stretch_mode = 6 _sections_unfolded = [ "Axis Stretch", "Grow Direction", "Margin", "Mouse", "Rect", "Size Flags" ] [connection signal="return_button_pressed" from="margin_container/character_box/character_slots" to="." method="_on_character_slots_return_button_pressed"] [connection signal="creation_button_pressed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_creation_button_pressed"] [connection signal="return_button_pressed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_return_button_pressed"] [connection signal="sex_bar_changed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_sex_bar_changed"] [connection signal="size_bar_changed" from="margin_container/character_box/character_creation_box" to="." method="_on_character_creation_box_size_bar_changed"] [connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/turn_left" to="." method="_on_turn_left_button_down"] [connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/turn_left" to="." method="_on_turn_left_button_up"] [connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/zoom_out" to="." method="_on_zoom_out_button_down"] [connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/zoom_out" to="." method="_on_zoom_out_button_up"] [connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/zoom_in" to="." method="_on_zoom_in_button_down"] [connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/zoom_in" to="." method="_on_zoom_in_button_up"] [connection signal="button_down" from="margin_container/character_box/v_box_container/h_box_container/turn_right" to="." method="_on_turn_right_button_down"] [connection signal="button_up" from="margin_container/character_box/v_box_container/h_box_container/turn_right" to="." method="_on_turn_right_button_up"] [connection signal="toggled" from="margin_container/character_box/v_box_container/h_box_container/lights" to="." method="_on_lights_toggled"] [connection signal="resized" from="margin_container/character_box/v_box_container/character_preview_image" to="." method="_on_character_preview_image_resized"]