299 lines
9.8 KiB
Text
299 lines
9.8 KiB
Text
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://scenes/creature_creation/creature_creation_menu.gd" type="Script" id=1]
|
|
[ext_resource path="res://ressources/themes/creature_creation.tres" type="Theme" id=2]
|
|
[ext_resource path="res://assets/interfaces/next.png" type="Texture" id=3]
|
|
[ext_resource path="res://assets/interfaces/rollback.png" type="Texture" id=4]
|
|
[ext_resource path="res://assets/interfaces/previous.png" type="Texture" id=5]
|
|
|
|
[node name="control" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme = ExtResource( 2 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="create" type="MarginContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
custom_constants/margin_right = 50
|
|
custom_constants/margin_top = 50
|
|
custom_constants/margin_left = 50
|
|
custom_constants/margin_bottom = 50
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="diplay" type="HBoxContainer" parent="create"]
|
|
margin_left = 50.0
|
|
margin_top = 50.0
|
|
margin_right = 1230.0
|
|
margin_bottom = 670.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="panel_left" type="Panel" parent="create/diplay"]
|
|
margin_right = 588.0
|
|
margin_bottom = 620.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="margin" type="MarginContainer" parent="create/diplay/panel_left"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_top = 1.49829
|
|
margin_bottom = 1.49829
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
custom_constants/margin_right = 50
|
|
custom_constants/margin_top = 50
|
|
custom_constants/margin_left = 50
|
|
custom_constants/margin_bottom = 50
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="race" type="VBoxContainer" parent="create/diplay/panel_left/margin"]
|
|
margin_left = 50.0
|
|
margin_top = 50.0
|
|
margin_right = 538.0
|
|
margin_bottom = 570.0
|
|
|
|
[node name="creature_creation" type="VBoxContainer" parent="create/diplay/panel_left/margin/race"]
|
|
margin_right = 488.0
|
|
margin_bottom = 152.0
|
|
|
|
[node name="label" type="Label" parent="create/diplay/panel_left/margin/race/creature_creation"]
|
|
margin_right = 488.0
|
|
margin_bottom = 14.0
|
|
size_flags_horizontal = 5
|
|
text = "CREATURE_CREATION_CHOICE_RACE"
|
|
align = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="label_2" type="Label" parent="create/diplay/panel_left/margin/race/creature_creation"]
|
|
margin_top = 18.0
|
|
margin_right = 488.0
|
|
margin_bottom = 32.0
|
|
text = " "
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="arche" type="Button" parent="create/diplay/panel_left/margin/race/creature_creation"]
|
|
margin_top = 36.0
|
|
margin_right = 488.0
|
|
margin_bottom = 60.0
|
|
text = "Arche"
|
|
|
|
[node name="label_3" type="Label" parent="create/diplay/panel_left/margin/race/creature_creation"]
|
|
margin_top = 64.0
|
|
margin_right = 488.0
|
|
margin_bottom = 78.0
|
|
|
|
[node name="isidor" type="Button" parent="create/diplay/panel_left/margin/race/creature_creation"]
|
|
margin_top = 82.0
|
|
margin_right = 488.0
|
|
margin_bottom = 106.0
|
|
text = "Isidor"
|
|
|
|
[node name="label_4" type="Label" parent="create/diplay/panel_left/margin/race/creature_creation"]
|
|
margin_top = 110.0
|
|
margin_right = 488.0
|
|
margin_bottom = 124.0
|
|
|
|
[node name="raference" type="Button" parent="create/diplay/panel_left/margin/race/creature_creation"]
|
|
margin_top = 128.0
|
|
margin_right = 488.0
|
|
margin_bottom = 152.0
|
|
text = "Raference"
|
|
|
|
[node name="h_box_container" type="HBoxContainer" parent="create/diplay/panel_left/margin/race"]
|
|
margin_top = 488.0
|
|
margin_right = 488.0
|
|
margin_bottom = 520.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 10
|
|
|
|
[node name="quit" type="TextureButton" parent="create/diplay/panel_left/margin/race/h_box_container"]
|
|
margin_right = 32.0
|
|
margin_bottom = 32.0
|
|
texture_normal = ExtResource( 4 )
|
|
|
|
[node name="next" type="TextureButton" parent="create/diplay/panel_left/margin/race/h_box_container"]
|
|
margin_left = 456.0
|
|
margin_right = 488.0
|
|
margin_bottom = 32.0
|
|
size_flags_horizontal = 10
|
|
texture_normal = ExtResource( 3 )
|
|
|
|
[node name="name" type="VBoxContainer" parent="create/diplay/panel_left/margin"]
|
|
visible = false
|
|
margin_left = 50.0
|
|
margin_top = 50.0
|
|
margin_right = 538.0
|
|
margin_bottom = 570.0
|
|
|
|
[node name="v_box_container" type="VBoxContainer" parent="create/diplay/panel_left/margin/name"]
|
|
margin_top = 203.0
|
|
margin_right = 488.0
|
|
margin_bottom = 281.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 6
|
|
|
|
[node name="generate_name" type="Button" parent="create/diplay/panel_left/margin/name/v_box_container"]
|
|
margin_left = 114.0
|
|
margin_right = 374.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 4
|
|
text = "CREATURE_CREATION_GENERATE_NAME"
|
|
|
|
[node name="label" type="Label" parent="create/diplay/panel_left/margin/name/v_box_container"]
|
|
margin_top = 28.0
|
|
margin_right = 488.0
|
|
margin_bottom = 42.0
|
|
|
|
[node name="FirstName" type="HBoxContainer" parent="create/diplay/panel_left/margin/name/v_box_container"]
|
|
margin_top = 46.0
|
|
margin_right = 488.0
|
|
margin_bottom = 60.0
|
|
|
|
[node name="label" type="Label" parent="create/diplay/panel_left/margin/name/v_box_container/FirstName"]
|
|
margin_left = 23.0
|
|
margin_right = 242.0
|
|
margin_bottom = 14.0
|
|
size_flags_horizontal = 10
|
|
text = "CREATURE_CREATION_FIRST_NAME"
|
|
|
|
[node name="line_edit" type="LineEdit" parent="create/diplay/panel_left/margin/name/v_box_container/FirstName"]
|
|
margin_left = 246.0
|
|
margin_right = 488.0
|
|
margin_bottom = 14.0
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "FIRST_NAME"
|
|
|
|
[node name="LastName" type="HBoxContainer" parent="create/diplay/panel_left/margin/name/v_box_container"]
|
|
margin_top = 64.0
|
|
margin_right = 488.0
|
|
margin_bottom = 78.0
|
|
|
|
[node name="label" type="Label" parent="create/diplay/panel_left/margin/name/v_box_container/LastName"]
|
|
margin_left = 27.0
|
|
margin_right = 242.0
|
|
margin_bottom = 14.0
|
|
size_flags_horizontal = 10
|
|
text = "CREATURE_CREATION_LAST_NAME"
|
|
|
|
[node name="line_edit" type="LineEdit" parent="create/diplay/panel_left/margin/name/v_box_container/LastName"]
|
|
margin_left = 246.0
|
|
margin_right = 488.0
|
|
margin_bottom = 14.0
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "LAST_NAME"
|
|
|
|
[node name="h_box_container" type="HBoxContainer" parent="create/diplay/panel_left/margin/name"]
|
|
margin_top = 488.0
|
|
margin_right = 488.0
|
|
margin_bottom = 520.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="previous" type="TextureButton" parent="create/diplay/panel_left/margin/name/h_box_container"]
|
|
margin_right = 32.0
|
|
margin_bottom = 32.0
|
|
texture_normal = ExtResource( 5 )
|
|
|
|
[node name="next" type="TextureButton" parent="create/diplay/panel_left/margin/name/h_box_container"]
|
|
margin_left = 456.0
|
|
margin_right = 488.0
|
|
margin_bottom = 32.0
|
|
size_flags_horizontal = 10
|
|
texture_normal = ExtResource( 3 )
|
|
|
|
[node name="property" type="VBoxContainer" parent="create/diplay/panel_left/margin"]
|
|
visible = false
|
|
margin_left = 50.0
|
|
margin_top = 50.0
|
|
margin_right = 538.0
|
|
margin_bottom = 570.0
|
|
|
|
[node name="panel" type="VBoxContainer" parent="create/diplay/panel_left/margin/property"]
|
|
margin_right = 488.0
|
|
margin_bottom = 484.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="label" type="Label" parent="create/diplay/panel_left/margin/property/panel"]
|
|
margin_left = 135.0
|
|
margin_right = 352.0
|
|
margin_bottom = 14.0
|
|
size_flags_horizontal = 6
|
|
text = "CREATURE_CREATION_PROPERTIES"
|
|
|
|
[node name="blend_shape" type="ScrollContainer" parent="create/diplay/panel_left/margin/property/panel"]
|
|
margin_top = 18.0
|
|
margin_right = 488.0
|
|
margin_bottom = 484.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="list" type="VBoxContainer" parent="create/diplay/panel_left/margin/property/panel/blend_shape"]
|
|
margin_right = 488.0
|
|
margin_bottom = 466.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="h_box_container" type="HBoxContainer" parent="create/diplay/panel_left/margin/property"]
|
|
margin_top = 488.0
|
|
margin_right = 488.0
|
|
margin_bottom = 520.0
|
|
size_flags_vertical = 8
|
|
|
|
[node name="previous" type="TextureButton" parent="create/diplay/panel_left/margin/property/h_box_container"]
|
|
margin_right = 32.0
|
|
margin_bottom = 32.0
|
|
texture_normal = ExtResource( 5 )
|
|
|
|
[node name="next" type="TextureButton" parent="create/diplay/panel_left/margin/property/h_box_container"]
|
|
margin_left = 456.0
|
|
margin_right = 488.0
|
|
margin_bottom = 32.0
|
|
size_flags_horizontal = 10
|
|
texture_normal = ExtResource( 3 )
|
|
|
|
[node name="panel_right" type="HBoxContainer" parent="create/diplay"]
|
|
margin_left = 592.0
|
|
margin_right = 1180.0
|
|
margin_bottom = 620.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="displayo" type="VBoxContainer" parent="create"]
|
|
visible = false
|
|
margin_left = 50.0
|
|
margin_top = 50.0
|
|
margin_right = 1230.0
|
|
margin_bottom = 670.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/race/creature_creation/arche" to="." method="_on_arche_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/race/creature_creation/isidor" to="." method="_on_isidor_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/race/creature_creation/raference" to="." method="_on_raference_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/race/h_box_container/quit" to="." method="_on_quit_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/race/h_box_container/next" to="." method="_on_race_next_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/name/v_box_container/generate_name" to="." method="_on_generate_name_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/name/h_box_container/previous" to="." method="_on_name_previous_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/name/h_box_container/next" to="." method="_on_name_next_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/property/h_box_container/previous" to="." method="_on_property_previous_pressed"]
|
|
[connection signal="pressed" from="create/diplay/panel_left/margin/property/h_box_container/next" to="." method="_on_property_next_pressed"]
|