khanat-client/scenes/interfaces/creatures_editor/creatures_editor_ui.tscn

255 lines
7.5 KiB
Text
Raw Permalink Normal View History

2020-03-21 09:10:26 +00:00
[gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/interfaces/themes/khanat_theme.theme" type="Theme" id=1]
2020-03-21 09:10:26 +00:00
[ext_resource path="res://assets/interfaces/settings-Khanat-background.png" type="Texture" id=2]
[ext_resource path="res://scenes/interfaces/creatures_editor/creatures_editor_ui.gd" type="Script" id=3]
[ext_resource path="res://addons/kh_slider/kh_h_slider.gd" type="Script" id=4]
[ext_resource path="res://assets/interfaces/slider_plus.png" type="Texture" id=5]
[ext_resource path="res://assets/interfaces/slider_minus.png" type="Texture" id=6]
[ext_resource path="res://scenes/creatures/ra/ra.tscn" type="PackedScene" id=7]
2020-03-21 09:10:26 +00:00
[sub_resource type="ViewportTexture" id=1]
viewport_path = NodePath("viewport")
[node name="creatures_editor_ui" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="background" type="TextureRect" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
texture = ExtResource( 2 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="screen_box" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -0.773773
margin_bottom = -0.773804
custom_constants/margin_left = 220
__meta__ = {
"_edit_use_anchors_": false
}
[node name="tools_box" type="VBoxContainer" parent="screen_box"]
margin_left = 220.0
margin_top = 243.0
margin_right = 465.0
margin_bottom = 476.0
size_flags_horizontal = 2
size_flags_vertical = 6
[node name="name" type="HBoxContainer" parent="screen_box/tools_box"]
margin_right = 245.0
margin_bottom = 33.0
[node name="label" type="Label" parent="screen_box/tools_box/name"]
margin_top = 8.0
margin_right = 113.0
margin_bottom = 25.0
size_flags_horizontal = 11
text = "Pseudonyme"
align = 2
[node name="value" type="LineEdit" parent="screen_box/tools_box/name"]
margin_left = 117.0
margin_right = 245.0
margin_bottom = 33.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
[node name="color" type="HBoxContainer" parent="screen_box/tools_box"]
margin_top = 37.0
margin_right = 245.0
margin_bottom = 54.0
[node name="label" type="Label" parent="screen_box/tools_box/color"]
margin_right = 113.0
margin_bottom = 17.0
size_flags_horizontal = 11
text = "Couleur"
align = 2
[node name="value" type="ColorPickerButton" parent="screen_box/tools_box/color"]
margin_left = 117.0
margin_right = 245.0
margin_bottom = 17.0
rect_min_size = Vector2( 128, 0 )
color = Color( 1, 1, 1, 1 )
[node name="boobs" type="HBoxContainer" parent="screen_box/tools_box"]
margin_top = 58.0
margin_right = 245.0
margin_bottom = 75.0
[node name="label" type="Label" parent="screen_box/tools_box/boobs"]
margin_right = 113.0
margin_bottom = 17.0
size_flags_horizontal = 11
text = "Poitrine"
align = 2
valign = 1
[node name="value" type="HBoxContainer" parent="screen_box/tools_box/boobs"]
margin_left = 117.0
margin_right = 245.0
margin_bottom = 16.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
size_flags_vertical = 2
script = ExtResource( 4 )
minus_texture = ExtResource( 6 )
plus_texture = ExtResource( 5 )
[node name="hip" type="HBoxContainer" parent="screen_box/tools_box"]
margin_top = 79.0
margin_right = 245.0
margin_bottom = 96.0
[node name="label" type="Label" parent="screen_box/tools_box/hip"]
margin_right = 113.0
margin_bottom = 17.0
size_flags_horizontal = 11
text = "Hanches"
align = 2
valign = 1
[node name="value" type="HBoxContainer" parent="screen_box/tools_box/hip"]
margin_left = 117.0
margin_right = 245.0
margin_bottom = 16.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
size_flags_vertical = 2
script = ExtResource( 4 )
minus_texture = ExtResource( 6 )
plus_texture = ExtResource( 5 )
[node name="male_scrotch" type="HBoxContainer" parent="screen_box/tools_box"]
margin_top = 100.0
margin_right = 245.0
margin_bottom = 117.0
[node name="label" type="Label" parent="screen_box/tools_box/male_scrotch"]
margin_right = 113.0
margin_bottom = 17.0
size_flags_horizontal = 11
text = "Entrejambe"
align = 2
valign = 1
[node name="value" type="HBoxContainer" parent="screen_box/tools_box/male_scrotch"]
margin_left = 117.0
margin_right = 245.0
margin_bottom = 16.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
size_flags_vertical = 2
script = ExtResource( 4 )
minus_texture = ExtResource( 6 )
plus_texture = ExtResource( 5 )
[node name="male_throat" type="HBoxContainer" parent="screen_box/tools_box"]
margin_top = 121.0
margin_right = 245.0
margin_bottom = 138.0
[node name="label" type="Label" parent="screen_box/tools_box/male_throat"]
margin_right = 113.0
margin_bottom = 17.0
size_flags_horizontal = 11
text = "Pomme d'Adam"
align = 2
valign = 1
[node name="value" type="HBoxContainer" parent="screen_box/tools_box/male_throat"]
margin_left = 117.0
margin_right = 245.0
margin_bottom = 16.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
size_flags_vertical = 2
script = ExtResource( 4 )
minus_texture = ExtResource( 6 )
plus_texture = ExtResource( 5 )
[node name="pregnant" type="HBoxContainer" parent="screen_box/tools_box"]
margin_top = 142.0
margin_right = 245.0
margin_bottom = 159.0
[node name="label" type="Label" parent="screen_box/tools_box/pregnant"]
margin_right = 113.0
margin_bottom = 17.0
size_flags_horizontal = 11
text = "Grossesse"
align = 2
valign = 1
[node name="value" type="HBoxContainer" parent="screen_box/tools_box/pregnant"]
margin_left = 117.0
margin_right = 245.0
margin_bottom = 16.0
rect_min_size = Vector2( 128, 0 )
size_flags_horizontal = 3
size_flags_vertical = 2
script = ExtResource( 4 )
minus_texture = ExtResource( 6 )
plus_texture = ExtResource( 5 )
[node name="valid" type="Button" parent="screen_box/tools_box"]
margin_top = 163.0
margin_right = 245.0
margin_bottom = 196.0
text = "Valider"
[node name="cancel" type="Button" parent="screen_box/tools_box"]
margin_top = 200.0
margin_right = 245.0
margin_bottom = 233.0
text = "Retour"
[node name="preview" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
mouse_filter = 2
texture = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="viewport" type="Viewport" parent="."]
size = Vector2( 1280, 720 )
transparent_bg = true
render_target_v_flip = true
[node name="spring_arm" type="Spatial" parent="viewport"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.878, 2.235 )
[node name="camera" type="Camera" parent="viewport/spring_arm"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.46, 0, 0.374 )
projection = 1
size = 2.0
[node name="model" type="Spatial" parent="viewport"]
[node name="ra" parent="viewport/model" instance=ExtResource( 7 )]
[connection signal="text_changed" from="screen_box/tools_box/name/value" to="." method="_on_name_text_changed"]
[connection signal="color_changed" from="screen_box/tools_box/color/value" to="." method="_on_color_changed"]
[connection signal="value_changed" from="screen_box/tools_box/boobs/value" to="." method="_on_boobs_value_changed"]
[connection signal="value_changed" from="screen_box/tools_box/hip/value" to="." method="_on_hip_value_changed"]
[connection signal="value_changed" from="screen_box/tools_box/male_scrotch/value" to="." method="_on_male_scrotch_value_changed"]
[connection signal="value_changed" from="screen_box/tools_box/male_throat/value" to="." method="_on_male_throat_value_changed"]
[connection signal="value_changed" from="screen_box/tools_box/pregnant/value" to="." method="_on_pregnant_value_changed"]
[connection signal="pressed" from="screen_box/tools_box/valid" to="." method="_on_valid_pressed"]
[connection signal="pressed" from="screen_box/tools_box/cancel" to="." method="_on_cancel_pressed"]