|
|
|
[gd_scene load_steps=2 format=3 uid="uid://fbfasiqs3d88"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Mods/copyMultiplayer/Scenes/player_settings.gd" id="1_ybttq"]
|
|
|
|
|
|
|
|
[node name="PlayerSettings" type="VBoxContainer" node_paths=PackedStringArray("offset_x", "offset_y", "offset_z", "rotation_x", "rotation_y", "rotation_z", "scale_xyz")]
|
|
|
|
script = ExtResource("1_ybttq")
|
|
|
|
offset_x = NodePath("PanelContainer/MarginContainer/VBoxContainer/Offset/X")
|
|
|
|
offset_y = NodePath("PanelContainer/MarginContainer/VBoxContainer/Offset/Y")
|
|
|
|
offset_z = NodePath("PanelContainer/MarginContainer/VBoxContainer/Offset/Z")
|
|
|
|
rotation_x = NodePath("PanelContainer/MarginContainer/VBoxContainer/Rotation/X")
|
|
|
|
rotation_y = NodePath("PanelContainer/MarginContainer/VBoxContainer/Rotation/Y")
|
|
|
|
rotation_z = NodePath("PanelContainer/MarginContainer/VBoxContainer/Rotation/Z")
|
|
|
|
scale_xyz = NodePath("PanelContainer/MarginContainer/VBoxContainer/Scale/SpinBox")
|
|
|
|
|
|
|
|
[node name="Nickname" type="Label" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Nickname"
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/margin_left = 4
|
|
|
|
theme_override_constants/margin_top = 4
|
|
|
|
theme_override_constants/margin_right = 4
|
|
|
|
theme_override_constants/margin_bottom = 4
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Offset" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Offset"]
|
|
|
|
custom_minimum_size = Vector2(80, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Offset:"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="LabelX" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Offset"]
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/font_color = Color(0.917647, 0.211765, 0.317647, 1)
|
|
|
|
text = "X"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="X" type="SpinBox" parent="PanelContainer/MarginContainer/VBoxContainer/Offset"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
min_value = -100.0
|
|
|
|
step = 0.01
|
|
|
|
alignment = 2
|
|
|
|
custom_arrow_step = 0.05
|
|
|
|
|
|
|
|
[node name="LabelY" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Offset"]
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/font_color = Color(0.529412, 0.839216, 0.0117647, 1)
|
|
|
|
text = "Y"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="Y" type="SpinBox" parent="PanelContainer/MarginContainer/VBoxContainer/Offset"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
min_value = -100.0
|
|
|
|
step = 0.01
|
|
|
|
alignment = 2
|
|
|
|
custom_arrow_step = 0.05
|
|
|
|
|
|
|
|
[node name="LabelZ" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Offset"]
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/font_color = Color(0.180392, 0.529412, 0.917647, 1)
|
|
|
|
text = "Z"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="Z" type="SpinBox" parent="PanelContainer/MarginContainer/VBoxContainer/Offset"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
min_value = -100.0
|
|
|
|
step = 0.01
|
|
|
|
alignment = 2
|
|
|
|
custom_arrow_step = 0.05
|
|
|
|
|
|
|
|
[node name="Rotation" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Rotation"]
|
|
|
|
custom_minimum_size = Vector2(80, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Rotation:"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="LabelX" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Rotation"]
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/font_color = Color(0.917647, 0.211765, 0.317647, 1)
|
|
|
|
text = "X"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="X" type="SpinBox" parent="PanelContainer/MarginContainer/VBoxContainer/Rotation"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
max_value = 359.0
|
|
|
|
step = 0.01
|
|
|
|
allow_greater = true
|
|
|
|
allow_lesser = true
|
|
|
|
alignment = 2
|
|
|
|
custom_arrow_step = 2.0
|
|
|
|
|
|
|
|
[node name="LabelY" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Rotation"]
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/font_color = Color(0.529412, 0.839216, 0.0117647, 1)
|
|
|
|
text = "Y"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="Y" type="SpinBox" parent="PanelContainer/MarginContainer/VBoxContainer/Rotation"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
max_value = 359.0
|
|
|
|
step = 0.01
|
|
|
|
allow_greater = true
|
|
|
|
allow_lesser = true
|
|
|
|
alignment = 2
|
|
|
|
custom_arrow_step = 2.0
|
|
|
|
|
|
|
|
[node name="LabelZ" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Rotation"]
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/font_color = Color(0.180392, 0.529412, 0.917647, 1)
|
|
|
|
text = "Z"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="Z" type="SpinBox" parent="PanelContainer/MarginContainer/VBoxContainer/Rotation"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
max_value = 359.0
|
|
|
|
step = 0.01
|
|
|
|
allow_greater = true
|
|
|
|
allow_lesser = true
|
|
|
|
alignment = 2
|
|
|
|
custom_arrow_step = 2.0
|
|
|
|
|
|
|
|
[node name="Scale" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Scale"]
|
|
|
|
custom_minimum_size = Vector2(80, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Scale:"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="Padding" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/Scale"]
|
|
|
|
custom_minimum_size = Vector2(20, 0)
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_colors/font_color = Color(0.917647, 0.211765, 0.317647, 1)
|
|
|
|
text = "
|
|
|
|
"
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
[node name="SpinBox" type="SpinBox" parent="PanelContainer/MarginContainer/VBoxContainer/Scale"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
min_value = 0.1
|
|
|
|
max_value = 10.0
|
|
|
|
step = 0.01
|
|
|
|
value = 1.0
|
|
|
|
alignment = 2
|
|
|
|
custom_arrow_step = 0.05
|
|
|
|
|
|
|
|
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Offset/X" to="." method="_on_value_changed"]
|
|
|
|
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Offset/Y" to="." method="_on_value_changed"]
|
|
|
|
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Offset/Z" to="." method="_on_value_changed"]
|
|
|
|
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Rotation/X" to="." method="_on_value_changed"]
|
|
|
|
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Rotation/Y" to="." method="_on_value_changed"]
|
|
|
|
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Rotation/Z" to="." method="_on_value_changed"]
|
|
|
|
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Scale/SpinBox" to="." method="_on_value_changed"]
|