@@ -5001,21 +5001,6 @@ reset_on_save = false
5001
5001
anims / Flash = SubResource ( 17 )
5002
5002
anims / RESET = SubResource ( 18 )
5003
5003
5004
- [node name = "ChooseFileListFileDialog" type = "FileDialog" parent = "Ui/UiSystem" ]
5005
- visible = true
5006
- margin_left = - 2004.0
5007
- margin_top = 1631.0
5008
- margin_right = - 1324.0
5009
- margin_bottom = 2191.0
5010
- rect_min_size = Vector2 ( 250 , 87.5 )
5011
- window_title = "Open a File"
5012
- resizable = true
5013
- dialog_text = "Find and select filelist_tmapa*.txt (must have accompanying pack* folder)"
5014
- mode = 0
5015
- access = 2
5016
- filters = PoolStringArray ( "*.txt" )
5017
- show_hidden_files = true
5018
-
5019
5004
[node name = "ChooseTmapaFileDialog" type = "FileDialog" parent = "Ui/UiSystem" ]
5020
5005
visible = true
5021
5006
margin_left = - 1278.0
@@ -5055,9 +5040,10 @@ show_hidden_files = true
5055
5040
visible = true
5056
5041
margin_left = - 1273.0
5057
5042
margin_top = 954.0
5058
- margin_right = - 741.0
5059
- margin_bottom = 1389.0
5060
- window_title = "Tileset editing"
5043
+ margin_right = - 989.0
5044
+ margin_bottom = 1202.0
5045
+ rect_min_size = Vector2 ( 284 , 248 )
5046
+ window_title = "Create a tileset"
5061
5047
resizable = true
5062
5048
script = ExtResource ( 126 )
5063
5049
@@ -5069,106 +5055,111 @@ margin_top = 10.0
5069
5055
margin_right = - 10.0
5070
5056
margin_bottom = - 10.0
5071
5057
5072
- [node name = "CreateFilelistButton" type = "Button" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5073
- margin_right = 512.0
5074
- margin_bottom = 27.0
5075
- text = "Convert tmapa*.dat file to filelist pack"
5076
-
5077
- [node name = "LoadFilelistButton" type = "Button" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5078
- margin_top = 31.0
5079
- margin_right = 512.0
5080
- margin_bottom = 58.0
5081
- text = "Load filelist pack"
5082
-
5083
- [node name = "ReloaderContainer" type = "VBoxContainer" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5084
- margin_top = 62.0
5085
- margin_right = 512.0
5086
- margin_bottom = 384.0
5087
- size_flags_horizontal = 3
5088
- size_flags_vertical = 3
5058
+ [node name = "GridContainer" type = "GridContainer" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5059
+ margin_right = 264.0
5060
+ margin_bottom = 89.0
5061
+ columns = 2
5089
5062
5090
- [node name = "ScrollContainer" type = "ScrollContainer" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer" ]
5091
- margin_right = 512.0
5092
- margin_bottom = 21.0
5093
- scroll_vertical_enabled = false
5063
+ [node name = "Label" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer" ]
5064
+ margin_top = 3.0
5065
+ margin_right = 50.0
5066
+ margin_bottom = 24.0
5067
+ rect_min_size = Vector2 ( 50 , 0 )
5068
+ text = "1."
5069
+ align = 1
5094
5070
5095
- [node name = "ReloaderPathLabel" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer/ScrollContainer" ]
5096
- margin_right = 14.0
5097
- margin_bottom = 21.0
5098
- text = "<>"
5071
+ [node name = "CreateFilelistButton" type = "Button" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer" ]
5072
+ margin_left = 54.0
5073
+ margin_right = 229.0
5074
+ margin_bottom = 27.0
5075
+ rect_min_size = Vector2 ( 175 , 0 )
5076
+ size_flags_horizontal = 0
5077
+ text = "Load tileset"
5099
5078
5100
- [node name = "Spacing3" type = "Control" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer" ]
5101
- margin_top = 25.0
5102
- margin_right = 512.0
5103
- margin_bottom = 49.0
5104
- rect_min_size = Vector2 ( 24 , 24 )
5079
+ [node name = "Label2" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer" ]
5080
+ margin_top = 34.0
5081
+ margin_right = 50.0
5082
+ margin_bottom = 55.0
5083
+ rect_min_size = Vector2 ( 50 , 0 )
5084
+ text = "2."
5085
+ align = 1
5105
5086
5106
- [node name = "HBoxContainer" type = "HBoxContainer" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer" ]
5107
- margin_top = 53.0
5108
- margin_right = 512.0
5109
- margin_bottom = 84.0
5087
+ [node name = "ModifyTexturesButton" type = "Button" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer" ]
5088
+ margin_left = 54.0
5089
+ margin_top = 31.0
5090
+ margin_right = 229.0
5091
+ margin_bottom = 58.0
5092
+ rect_min_size = Vector2 ( 175 , 0 )
5093
+ size_flags_horizontal = 4
5094
+ text = "Modify textures"
5110
5095
5111
- [node name = "label" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer/HBoxContainer" ]
5112
- margin_top = 5.0
5113
- margin_right = 114.0
5114
- margin_bottom = 26.0
5115
- text = "Reload every"
5116
- __meta__ = {
5117
- "_edit_use_anchors_" : false
5118
- }
5096
+ [node name = "Label3" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer" ]
5097
+ margin_top = 65.0
5098
+ margin_right = 50.0
5099
+ margin_bottom = 86.0
5100
+ rect_min_size = Vector2 ( 50 , 0 )
5101
+ text = "3."
5102
+ align = 1
5119
5103
5120
- [node name = "ReloadEveryLineEdit" type = "LineEdit" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer/HBoxContainer" ]
5121
- margin_left = 118.0
5122
- margin_right = 176.0
5123
- margin_bottom = 31.0
5124
- text = "0.25"
5125
- script = ExtResource ( 89 )
5104
+ [node name = "ExportTmapaButton" type = "Button" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer" ]
5105
+ margin_left = 54.0
5106
+ margin_top = 62.0
5107
+ margin_right = 229.0
5108
+ margin_bottom = 89.0
5109
+ rect_min_size = Vector2 ( 175 , 0 )
5110
+ size_flags_horizontal = 0
5111
+ text = "Save tileset"
5126
5112
__meta__ = {
5127
5113
"_edit_use_anchors_" : false
5128
5114
}
5129
5115
5130
- [node name = "Label2" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer/HBoxContainer" ]
5131
- margin_left = 180.0
5132
- margin_top = 5.0
5133
- margin_right = 250.0
5134
- margin_bottom = 26.0
5135
- text = "seconds"
5136
- __meta__ = {
5137
- "_edit_use_anchors_" : false
5138
- }
5116
+ [node name = "Spacing" type = "Control" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5117
+ margin_top = 93.0
5118
+ margin_right = 264.0
5119
+ margin_bottom = 105.0
5120
+ rect_min_size = Vector2 ( 0 , 12 )
5139
5121
5140
- [node name = "Spacing" type = "Control" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer" ]
5141
- margin_top = 88.0
5142
- margin_right = 512.0
5143
- margin_bottom = 112.0
5144
- rect_min_size = Vector2 ( 24 , 24 )
5122
+ [node name = "Label" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5123
+ margin_top = 109.0
5124
+ margin_right = 264.0
5125
+ margin_bottom = 130.0
5126
+ text = "Currently loaded:"
5127
+
5128
+ [node name = "ScrollContainer" type = "ScrollContainer" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5129
+ margin_top = 134.0
5130
+ margin_right = 264.0
5131
+ margin_bottom = 180.0
5132
+ scroll_vertical_enabled = false
5145
5133
5146
- [node name = "ReloaderLoopLabel " type = "Label " parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer " ]
5147
- margin_top = 116 .0
5148
- margin_right = 512 .0
5149
- margin_bottom = 281.0
5150
- text = "Now actively reloading files from filelist pack folder, this means as you edit and save those .PNGs, any changes you make will be shown realtime in Unearth (in the 3D view too).
5134
+ [node name = "VBoxContainer " type = "VBoxContainer " parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ScrollContainer " ]
5135
+ margin_right = 264 .0
5136
+ margin_bottom = 46 .0
5137
+ size_flags_horizontal = 3
5138
+ size_flags_vertical = 3
5151
5139
5152
- Your Tileset in Map settings has been set to the texture pack # you're editing."
5153
- autowrap = true
5154
- __meta__ = {
5155
- "_edit_use_anchors_" : false
5156
- }
5140
+ [node name = "ReloaderPathLabel" type = "Label" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ScrollContainer/VBoxContainer" ]
5141
+ margin_right = 264.0
5142
+ margin_bottom = 21.0
5143
+ text = "<>"
5157
5144
5158
- [node name = "Spacing2 " type = "Control " parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ReloaderContainer " ]
5159
- margin_top = 285 .0
5160
- margin_right = 512 .0
5161
- margin_bottom = 309 .0
5162
- rect_min_size = Vector2 ( 24 , 24 )
5145
+ [node name = "ReloaderPathPackLabel " type = "Label " parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ScrollContainer/VBoxContainer " ]
5146
+ margin_top = 25 .0
5147
+ margin_right = 264 .0
5148
+ margin_bottom = 46 .0
5149
+ text = "<>"
5163
5150
5164
- [node name = "ExportTmapaButton" type = "Button" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5165
- margin_top = 388.0
5166
- margin_right = 512.0
5167
- margin_bottom = 415.0
5168
- text = "Export as tmapa*.dat"
5169
- __meta__ = {
5170
- "_edit_use_anchors_" : false
5171
- }
5151
+ [node name = "TextureEditingHelpButton" type = "TextureButton" parent = "Ui/UiSystem/TextureEditingWindow/VBoxContainer" ]
5152
+ margin_left = 232.0
5153
+ margin_top = 184.0
5154
+ margin_right = 264.0
5155
+ margin_bottom = 216.0
5156
+ rect_min_size = Vector2 ( 32 , 32 )
5157
+ size_flags_horizontal = 8
5158
+ texture_normal = ExtResource ( 156 )
5159
+ texture_pressed = ExtResource ( 66 )
5160
+ texture_hover = ExtResource ( 128 )
5161
+ expand = true
5162
+ stretch_mode = 4
5172
5163
5173
5164
[node name = "ColumnEditor" type = "WindowDialog" parent = "Ui/UiSystem" ]
5174
5165
visible = true
@@ -7489,12 +7480,12 @@ script = SubResource( 20 )
7489
7480
[connection signal = "text_changed" from = "Ui/UiSystem/MapSettingsWindow/MapSettingsTabs/ScriptEditor/VBoxContainer/ScriptTextEdit" to = "Ui/UiSystem/MapSettingsWindow/MapSettingsTabs/ScriptEditor" method = "_on_ScriptTextEdit_text_changed" ]
7490
7481
[connection signal = "visibility_changed" from = "Ui/UiSystem/MapSettingsWindow/MapSettingsTabs/ScriptEditor/VBoxContainer/ScriptTextEdit" to = "Ui/UiSystem/MapSettingsWindow/MapSettingsTabs/ScriptEditor" method = "_on_ScriptTextEdit_visibility_changed" ]
7491
7482
[connection signal = "pressed" from = "Ui/UiSystem/MapSettingsWindow/MapSettingsTabs/ScriptEditor/HelpButtonPosition/UNNEEDEDScriptHelpButton" to = "Ui/UiSystem/MapSettingsWindow/MapSettingsTabs/ScriptEditor" method = "_on_ScriptHelpButton_pressed" ]
7492
- [connection signal = "file_selected" from = "Ui/UiSystem/ChooseFileListFileDialog" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_ChooseFileListFileDialog_file_selected" ]
7493
7483
[connection signal = "file_selected" from = "Ui/UiSystem/ChooseTmapaFileDialog" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_ChooseTmapaFileDialog_file_selected" ]
7494
7484
[connection signal = "file_selected" from = "Ui/UiSystem/ExportTmapaDatDialog" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_ExportTmapaDatDialog_file_selected" ]
7495
- [connection signal = "pressed" from = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/CreateFilelistButton" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_CreateFilelistButton_pressed" ]
7496
- [connection signal = "pressed" from = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/LoadFilelistButton" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_LoadFilelistButton_pressed" ]
7497
- [connection signal = "pressed" from = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/ExportTmapaButton" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_ExportTmapaButton_pressed" ]
7485
+ [connection signal = "pressed" from = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer/CreateFilelistButton" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_CreateFilelistButton_pressed" ]
7486
+ [connection signal = "pressed" from = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer/ModifyTexturesButton" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_ModifyTexturesButton_pressed" ]
7487
+ [connection signal = "pressed" from = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/GridContainer/ExportTmapaButton" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_ExportTmapaButton_pressed" ]
7488
+ [connection signal = "pressed" from = "Ui/UiSystem/TextureEditingWindow/VBoxContainer/TextureEditingHelpButton" to = "Ui/UiSystem/TextureEditingWindow" method = "_on_TextureEditingHelpButton_pressed" ]
7498
7489
[connection signal = "visibility_changed" from = "Ui/UiSystem/ColumnEditor" to = "Ui/UiSystem/ColumnEditor" method = "_on_ColumnEditor_visibility_changed" ]
7499
7490
[connection signal = "pressed" from = "Ui/UiSystem/ColumnEditor/MarginContainer/HBoxContainer/VBoxContainer2/HBoxContainer2/ColumnEditorClearUnusedButton" to = "Ui/UiSystem/ColumnEditor" method = "_on_ColumnEditorClearUnusedButton_pressed" ]
7500
7491
[connection signal = "pressed" from = "Ui/UiSystem/ColumnEditor/MarginContainer/HBoxContainer/VBoxContainer2/HBoxContainer2/ColumnEditorSortButton" to = "Ui/UiSystem/ColumnEditor" method = "_on_ColumnEditorSortButton_pressed" ]
0 commit comments