[gd_scene load_steps=3 format=2] [ext_resource path="res://resources/UI Theme.tres" type="Theme" id=1] [ext_resource path="res://resources/ParameterTweaker.gd" type="Script" id=2] [node name="ParameterTweaker" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 1 ) script = ExtResource( 2 ) [node name="VBoxContainer" type="VBoxContainer" parent="."] margin_right = 375.0 margin_bottom = 52.0 theme = ExtResource( 1 ) [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"] margin_right = 375.0 margin_bottom = 16.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2"] margin_right = 98.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "Location count" [node name="LocationCount" type="HSlider" parent="VBoxContainer/HBoxContainer2"] margin_left = 102.0 margin_right = 364.0 margin_bottom = 16.0 size_flags_horizontal = 3 theme = ExtResource( 1 ) min_value = 6.0 max_value = 64.0 value = 6.0 rounded = true [node name="Value" type="Label" parent="VBoxContainer/HBoxContainer2"] margin_left = 368.0 margin_right = 375.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "6" [node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer"] margin_top = 20.0 margin_right = 375.0 margin_bottom = 44.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer3"] margin_top = 4.0 margin_right = 126.0 margin_bottom = 19.0 hint_tooltip = "How much cargo is available from pickup locations relative to the total number of requested cargo from dropoff locations." mouse_filter = 1 text = "Cargo Availability" [node name="CargoAvailability" type="HSlider" parent="VBoxContainer/HBoxContainer3"] margin_left = 130.0 margin_right = 262.0 margin_bottom = 16.0 size_flags_horizontal = 3 min_value = 1.0 max_value = 3.0 step = 0.1 value = 1.0 [node name="Value" type="Label" parent="VBoxContainer/HBoxContainer3"] margin_left = 266.0 margin_top = 4.0 margin_right = 287.0 margin_bottom = 19.0 text = "1.0" [node name="Infinite" type="CheckBox" parent="VBoxContainer/HBoxContainer3"] margin_left = 291.0 margin_right = 375.0 margin_bottom = 24.0 text = "Infinite" [node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer"] margin_top = 48.0 margin_right = 375.0 margin_bottom = 64.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer4"] margin_right = 147.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "Pickup Location Count" [node name="PickupCount" type="HSlider" parent="VBoxContainer/HBoxContainer4"] margin_left = 151.0 margin_right = 371.0 margin_bottom = 16.0 size_flags_horizontal = 3 theme = ExtResource( 1 ) min_value = 1.0 max_value = 3.0 value = 1.0 rounded = true tick_count = 3 ticks_on_borders = true [node name="Value" type="Label" parent="VBoxContainer/HBoxContainer4"] margin_left = 375.0 margin_right = 375.0 margin_bottom = 15.0 theme = ExtResource( 1 ) [node name="HBoxContainer5" type="HBoxContainer" parent="VBoxContainer"] margin_top = 68.0 margin_right = 375.0 margin_bottom = 84.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer5"] margin_right = 119.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "Empty Node Chance" [node name="EmptyNodeChance" type="HSlider" parent="VBoxContainer/HBoxContainer5"] margin_left = 123.0 margin_right = 357.0 margin_bottom = 16.0 size_flags_horizontal = 3 theme = ExtResource( 1 ) max_value = 90.0 value = 15.0 rounded = true [node name="Value" type="Label" parent="VBoxContainer/HBoxContainer5"] margin_left = 361.0 margin_right = 375.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "15" [node name="HBoxContainer6" type="HBoxContainer" parent="VBoxContainer"] margin_top = 88.0 margin_right = 375.0 margin_bottom = 104.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer6"] margin_right = 147.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "Maximum Dropoff Value" [node name="DropoffValue" type="HSlider" parent="VBoxContainer/HBoxContainer6"] margin_left = 151.0 margin_right = 364.0 margin_bottom = 16.0 size_flags_horizontal = 3 theme = ExtResource( 1 ) min_value = 1.0 max_value = 10.0 value = 3.0 rounded = true [node name="Value" type="Label" parent="VBoxContainer/HBoxContainer6"] margin_left = 368.0 margin_right = 375.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "3" [node name="HBoxContainer7" type="HBoxContainer" parent="VBoxContainer"] margin_top = 108.0 margin_right = 375.0 margin_bottom = 124.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer7"] margin_right = 168.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "Maximum Dropoff Capacity" [node name="DropoffCapacity" type="HSlider" parent="VBoxContainer/HBoxContainer7"] margin_left = 172.0 margin_right = 364.0 margin_bottom = 16.0 size_flags_horizontal = 3 theme = ExtResource( 1 ) min_value = 1.0 max_value = 10.0 value = 3.0 rounded = true [node name="Value" type="Label" parent="VBoxContainer/HBoxContainer7"] margin_left = 368.0 margin_right = 375.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "3" [node name="HBoxContainer8" type="HBoxContainer" parent="VBoxContainer"] margin_top = 128.0 margin_right = 375.0 margin_bottom = 144.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer8"] margin_right = 133.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "Maximum Link Weight" [node name="LinkWeight" type="HSlider" parent="VBoxContainer/HBoxContainer8"] margin_left = 137.0 margin_right = 364.0 margin_bottom = 16.0 size_flags_horizontal = 3 theme = ExtResource( 1 ) min_value = 1.0 max_value = 10.0 value = 2.0 rounded = true [node name="Value" type="Label" parent="VBoxContainer/HBoxContainer8"] margin_left = 368.0 margin_right = 375.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "2" [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] margin_top = 148.0 margin_right = 375.0 margin_bottom = 180.0 theme = ExtResource( 1 ) [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer"] margin_top = 8.0 margin_right = 28.0 margin_bottom = 23.0 theme = ExtResource( 1 ) text = "Seed" [node name="Seed" type="TextEdit" parent="VBoxContainer/HBoxContainer"] margin_left = 32.0 margin_right = 296.0 margin_bottom = 32.0 rect_min_size = Vector2( 64, 32 ) size_flags_horizontal = 3 theme = ExtResource( 1 ) [node name="RandomizeSeed" type="Button" parent="VBoxContainer/HBoxContainer"] margin_left = 300.0 margin_right = 375.0 margin_bottom = 32.0 theme = ExtResource( 1 ) text = "Randomize" [connection signal="value_changed" from="VBoxContainer/HBoxContainer2/LocationCount" to="." method="_on_LocationCount_value_changed"] [connection signal="value_changed" from="VBoxContainer/HBoxContainer3/CargoAvailability" to="." method="_on_CargoAvailability_value_changed"] [connection signal="toggled" from="VBoxContainer/HBoxContainer3/Infinite" to="." method="_on_CheckBox_toggled"] [connection signal="value_changed" from="VBoxContainer/HBoxContainer4/PickupCount" to="." method="_on_PickupCount_value_changed"] [connection signal="value_changed" from="VBoxContainer/HBoxContainer5/EmptyNodeChance" to="." method="_on_EmptyNodeChance_value_changed"] [connection signal="value_changed" from="VBoxContainer/HBoxContainer6/DropoffValue" to="." method="_on_DropoffValue_value_changed"] [connection signal="value_changed" from="VBoxContainer/HBoxContainer7/DropoffCapacity" to="." method="_on_DropoffCapacity_value_changed"] [connection signal="value_changed" from="VBoxContainer/HBoxContainer8/LinkWeight" to="." method="_on_LinkWeight_value_changed"] [connection signal="pressed" from="VBoxContainer/HBoxContainer/RandomizeSeed" to="." method="_on_RandomizeSeed_pressed"]