menubar.xml

main 257 lines · 16.1 KB Raw
Alex Alex Commit Map Editor 18/10/2026 23:40
1<?xml version="1.0" encoding="UTF-8"?>
2<menubar>
3 <!--
4 a - enable autoborder
5 b
6 c - creature palette
7 d - doodad palette
8 e - show zones
9 f - show creatures
10 g - ghost loose items
11 h - house palette
12 i - item palette
13 j - jump to brush
14 k - wall hooks
15 l - animation
16 m - minimap
17 n - collection palette
18 o - show pathing
19 p - jump to prev pos
20 q - show floor shade
21 r - raw palette
22 s - show spawns
23 t - terrain palette
24 u - show locked doors
25 v - highlight items
26 w - waypoint palette
27 x - RESERVED FOR ROTATE HOTKEY
28 y - show tooltips
29 z - RESERVED FOR ROTATE HOTKEY
30 -->
31
32 <menu name="File">
33 <item name="New..." hotkey="Ctrl+N" action="NEW" help="Create a new map."/>
34 <item name="Open..." hotkey="Ctrl+O" action="OPEN" help="Open another map."/>
35 <item name="Save" hotkey="Ctrl+S" action="SAVE" help="Save the current map."/>
36 <item name="Save As..." hotkey="Ctrl+Alt+S" action="SAVE_AS" help="Save the current map as a new file."/>
37 <item name="Generate Map" action="GENERATE_MAP" help="Generate a new map."/>
38 <item name="Close" hotkey="Ctrl+Q" action="CLOSE" help="Closes the currently open map."/>
39 <separator/>
40 <menu name="Import">
41 <item name="Import Map..." action="IMPORT_MAP" help="Import map data from another map file."/>
42 <item name="Import Monsters/NPC..." action="IMPORT_MONSTERS" help="Import either a monsters.xml file or a specific monster/NPC."/>
43 </menu>
44 <menu name="Export">
45 <item name="Export Minimap..." action="EXPORT_MINIMAP" help="Export minimap to an image file."/>
46 <item name="Export Tilesets..." action="EXPORT_TILESETS" help="Export tilesets to an xml file."/>
47 </menu>
48 <menu name="Reload">
49 <item name="Reload" hotkey="F5" action="RELOAD_DATA" help="Reloads all data files."/>
50 </menu>
51 <separator/>
52 <menu name="Recent Files" special="RECENT_FILES"/>
53 <item name="Preferences" action="PREFERENCES" help="Configure the map editor."/>
54 <item name="Exit" action="EXIT" help="Close the editor."/>
55 </menu>
56 <menu name="Edit">
57 <item name="Undo" hotkey="Ctrl+Z" action="UNDO" help="Undo last action."/>
58 <item name="Redo" hotkey="Ctrl+Shift+Z" action="REDO" help="Redo last undid action."/>
59 <separator/>
60 <item name="Replace Items..." hotkey="Ctrl+Shift+F" action="REPLACE_ITEMS" help="Replaces all occurrences of one item with another."/>
61 <item name="Refresh Items" action="REFRESH_ITEMS" help="Refresh items to fix flags"/>
62 <separator/>
63 <menu name="Border Options">
64 <item name="Border Automagic" hotkey="A" action="AUTOMAGIC" help="Turns on all automatic border functions."/>
65 <separator/>
66 <item name="Borderize Selection" hotkey="Ctrl+B" action="BORDERIZE_SELECTION" help="Creates automatic borders in the entire selected area."/>
67 <item name="Borderize Map" action="BORDERIZE_MAP" help="Reborders the entire map."/>
68 <item name="Randomize Selection" action="RANDOMIZE_SELECTION" help="Randomizes the ground tiles of the selected area."/>
69 <item name="Randomize Map" action="RANDOMIZE_MAP" help="Randomizes all tiles of the entire map."/>
70 </menu>
71 <menu name="Other Options">
72 <item name="Remove Items by ID..." action="MAP_REMOVE_ITEMS" help="Removes all items with the selected ID from the map."/>
73 <item name="Remove Duplicates..." action="MAP_REMOVE_DUPLICATES" help="Removes all duplicate items from the map."/>
74 <item name="Remove all Corpses..." action="MAP_REMOVE_CORPSES" help="Removes all corpses from the map."/>
75 <item name="Remove all Unreachable Tiles..." action="MAP_REMOVE_UNREACHABLE_TILES" help="Removes all tiles that cannot be reached (or seen) by the player from the map."/>
76 <item name="Clear Invalid Houses" action="CLEAR_INVALID_HOUSES" help="Clears house tiles not belonging to any house."/>
77 <item name="Clear Modified State" action="CLEAR_MODIFIED_STATE" help="Clears the modified state from all tiles."/>
78 </menu>
79 <separator/>
80 <item name="Cut" hotkey="Ctrl+X" action="CUT" help="Cut a part of the map."/>
81 <item name="Copy" hotkey="Ctrl+C" action="COPY" help="Copy a part of the map."/>
82 <item name="Paste" hotkey="Ctrl+V" action="PASTE" help="Paste a part of the map."/>
83 </menu>
84 <menu name="Editor">
85 <item name="New View" hotkey="Ctrl+Shift+N" action="NEW_VIEW" help="Creates a new view of the current map."/>
86 <item name="New Detached View" hotkey="Ctrl+Shift+D" action="NEW_DETACHED_VIEW" help="Creates a new detached view of the current map that can be moved to another monitor."/>
87 <item name="Enter Fullscreen" hotkey="F11" action="TOGGLE_FULLSCREEN" help="Changes between fullscreen mode and windowed mode."/>
88 <item name="Take Screenshot" hotkey="F10" action="TAKE_SCREENSHOT" help="Saves the current view to the disk."/>
89 <separator/>
90 <menu name="Zoom">
91 <item name="Zoom In" hotkey="Ctrl++" action="ZOOM_IN" help="Increase the zoom."/>
92 <item name="Zoom Out" hotkey="Ctrl+-" action="ZOOM_OUT" help="Decrease the zoom."/>
93 <item name="Zoom Normal" hotkey="Ctrl+0" action="ZOOM_NORMAL" help="Normal zoom(100%)."/>
94 </menu>
95 </menu>
96 <menu name="Search">
97 <item name="Find Item..." hotkey="Ctrl+F" action="FIND_ITEM" help="Find all instances of an item type the map."/>
98 <item name="Find Creature..." hotkey="Ctrl+Shift+C" action="FIND_CREATURE" help="Find all instances of a creature on the map."/>
99 <separator/>
100 <item name="Find Zones" action="SEARCH_ON_MAP_ZONES" help="Find all zones on map."/>
101 <item name="Find Unique" action="SEARCH_ON_MAP_UNIQUE" help="Find all items with an unique ID on map."/>
102 <item name="Find Action" action="SEARCH_ON_MAP_ACTION" help="Find all items with an action ID on map."/>
103 <item name="Find Container" action="SEARCH_ON_MAP_CONTAINER" help="Find all containers on map."/>
104 <item name="Find Writeable" action="SEARCH_ON_MAP_WRITEABLE" help="Find all writeable items on map."/>
105 <separator/>
106 <item name="Find Everything" action="SEARCH_ON_MAP_EVERYTHING" help="Find all unique/action/text/container items."/>
107 </menu>
108 <menu name="Map">
109 <item name="Edit Towns" hotkey="Ctrl+T" action="EDIT_TOWNS" help="Edit towns."/>
110 <separator/>
111 <item name="Cleanup..." action="MAP_CLEANUP" help="Removes all items that do not exist in the OTB file (red tiles the server can't load)."/>
112 <item name="Summarize" hotkey="Ctrl+Shift+S" action="MAP_SUMMARIZE" help="Show a summary of all items on the map with their counts."/>
113 <item name="Properties..." hotkey="Ctrl+P" action="MAP_PROPERTIES" help="Show and change the map properties."/>
114 <item name="Statistics" hotkey="F8" action="MAP_STATISTICS" help="Show map statistics."/>
115 </menu>
116 <menu name="Selection">
117 <item name="Replace Items on Selection" action="REPLACE_ON_SELECTION_ITEMS" help="Replace items on selected area."/>
118 <item name="Find Item on Selection" action="SEARCH_ON_SELECTION_ITEM" help="Find items on selected area."/>
119 <item name="Remove Item on Selection" action="REMOVE_ON_SELECTION_ITEM" help="Remove item on selected area."/>
120 <separator/>
121 <menu name="Find on Selection">
122 <item name="Find Everything" action="SEARCH_ON_SELECTION_EVERYTHING" help="Find all unique/action/text/container items."/>
123 <separator/>
124 <item name="Find Zones" action="SEARCH_ON_SELECTION_ZONES" help="Find all zones on selected area."/>
125 <item name="Find Unique" action="SEARCH_ON_SELECTION_UNIQUE" help="Find all items with an unique ID on selected area."/>
126 <item name="Find Action" action="SEARCH_ON_SELECTION_ACTION" help="Find all items with an action ID on selected area."/>
127 <item name="Find Container" action="SEARCH_ON_SELECTION_CONTAINER" help="Find all containers on selected area."/>
128 <item name="Find Writeable" action="SEARCH_ON_SELECTION_WRITEABLE" help="Find all writeable items on selected area."/>
129 </menu>
130 <separator/>
131 <menu name="Selection Mode">
132 <item name="Compensate Selection" action="SELECT_MODE_COMPENSATE" help="Compensate for floor difference when selecting."/>
133 <separator/>
134 <item name="Current Floor" action="SELECT_MODE_CURRENT" help="Select only current floor."/>
135 <item name="Lower Floors" action="SELECT_MODE_LOWER" help="Select all lower floors."/>
136 <item name="Visible Floors" action="SELECT_MODE_VISIBLE" help="Select only visible floors."/>
137 </menu>
138 <separator/>
139 <item name="Borderize Selection" hotkey="Ctrl+B" action="BORDERIZE_SELECTION" help="Creates automatic borders in the entire selected area."/>
140 <item name="Randomize Selection" action="RANDOMIZE_SELECTION" help="Randomizes the ground tiles of the selected area."/>
141 </menu>
142 <menu name="View">
143 <item name="Show all Floors" hotkey="Ctrl+W" action="SHOW_ALL_FLOORS" help="If not checked other floors are hidden."/>
144 <item name="Show as Minimap" hotkey="Shift+E" action="SHOW_AS_MINIMAP" help="Show only the tile minimap colors."/>
145 <item name="Only show Colors" hotkey="Ctrl+E" action="SHOW_ONLY_COLORS" help="Show only the special tiles on the map."/>
146 <item name="Only show Modified" hotkey="Ctrl+M" action="SHOW_ONLY_MODIFIED" help="Show only the tiles that have been modified since the map was opened."/>
147 <item name="Always show zones" hotkey="" action="ALWAYS_SHOW_ZONES" help="Zones will be visible even on empty tiles."/>
148 <item name="Extended house shader" hotkey="" action="EXT_HOUSE_SHADER" help="Draw house brush on walls and items."/>
149 <separator/>
150 <item name="Show tooltips" hotkey="Y" action="SHOW_TOOLTIPS" help="Show tooltips."/>
151 <item name="Show grid" hotkey="Shift+G" action="SHOW_GRID" help="Shows a grid over all items."/>
152 <item name="Show client box" hotkey="Shift+I" action="SHOW_INGAME_BOX" help="Shadows out areas not visible ingame (from the center of the screen)."/>
153 <separator/>
154 <item name="Ghost loose items" hotkey="G" action="GHOST_ITEMS" help="Ghost items (except ground)."/>
155 <item name="Ghost higher floors" hotkey="Ctrl+L" action="GHOST_HIGHER_FLOORS" help="Ghost floors."/>
156 <item name="Show shade" hotkey="Q" action="SHOW_SHADE" help="Shade lower floors."/>
157 </menu>
158 <menu name="Show">
159 <item name="Show Animation" hotkey="L" action="SHOW_PREVIEW" help="Show item animations."/>
160 <item name="Show Light" hotkey="Shift+L" action="SHOW_LIGHTS" help="Show lights."/>
161 <item name="Show Light Strength" hotkey="Shift+K" action="SHOW_LIGHT_STR" help="Show indicators of light strength."/>
162 <item name="Show Technical Items" hotkey="Shift+T" action="SHOW_TECHNICAL_ITEMS" help="Shows some of special items that are not visible in game."/>
163 <separator/>
164 <item name="Show zones" hotkey="E" action="SHOW_ZONES" help="Show zones on the map."/>
165 <item name="Show creatures" hotkey="F" action="SHOW_CREATURES" help="Show creatures on the map."/>
166 <item name="Show spawns" hotkey="S" action="SHOW_SPAWNS" help="Show spawns on the map."/>
167 <item name="Show special" hotkey="" action="SHOW_SPECIAL" help="Show special tiles on the map, like PZ."/>
168 <item name="Show houses" hotkey="Ctrl+H" action="SHOW_HOUSES" help="Show houses on the map."/>
169 <item name="Show pathing" hotkey="O" action="SHOW_PATHING" help="Show blocking tiles."/>
170 <item name="Show towns" hotkey="" action="SHOW_TOWNS" help="Show temple positions."/>
171 <item name="Show waypoints" hotkey="Shift+W" action="SHOW_WAYPOINTS" help="Show waypoints."/>
172 <separator/>
173 <item name="Highlight Items" hotkey="V" action="HIGHLIGHT_ITEMS" help="Highlight tiles with items on them."/>
174 <item name="Highlight Locked Doors" hotkey="U" action="HIGHLIGHT_LOCKED_DOORS" help="Highlight doors that require key to open."/>
175 <item name="Show Wall Hooks" hotkey="K" action="SHOW_WALL_HOOKS" help="Show indicators for wall hooks."/>
176 </menu>
177 <menu name="Navigate">
178 <item name="Go to Previous Position" hotkey="P" action="GOTO_PREVIOUS_POSITION" help="Go to the previous screen center position."/>
179 <item name="Jump to Brush..." hotkey="J" action="JUMP_TO_BRUSH" help="Jump to a brush."/>
180 <item name="Jump to Item..." hotkey="Ctrl+J" action="JUMP_TO_ITEM_BRUSH" help="Jump to an item brush (RAW palette)."/>
181 <separator/>
182 <menu name="Floor">
183 <item name="Floor 0" action="FLOOR_0" help=""/>
184 <item name="Floor 1" action="FLOOR_1" help=""/>
185 <item name="Floor 2" action="FLOOR_2" help=""/>
186 <item name="Floor 3" action="FLOOR_3" help=""/>
187 <item name="Floor 4" action="FLOOR_4" help=""/>
188 <item name="Floor 5" action="FLOOR_5" help=""/>
189 <item name="Floor 6" action="FLOOR_6" help=""/>
190 <item name="Floor 7" action="FLOOR_7" help=""/>
191 <item name="Floor 8" action="FLOOR_8" help=""/>
192 <item name="Floor 9" action="FLOOR_9" help=""/>
193 <item name="Floor 10" action="FLOOR_10" help=""/>
194 <item name="Floor 11" action="FLOOR_11" help=""/>
195 <item name="Floor 12" action="FLOOR_12" help=""/>
196 <item name="Floor 13" action="FLOOR_13" help=""/>
197 <item name="Floor 14" action="FLOOR_14" help=""/>
198 <item name="Floor 15" action="FLOOR_15" help=""/>
199 </menu>
200 </menu>
201 <menu name="Window">
202 <item name="Minimap" hotkey="M" action="WIN_MINIMAP" help="Displays the minimap window."/>
203 <item name="New Palette" action="NEW_PALETTE" help="Creates a new palette."/>
204
205 <menu name="Palette">
206 <item name="Terrain" hotkey="T" action="SELECT_TERRAIN" help="Select the Terrain palette."/>
207 <item name="Doodad" hotkey="D" action="SELECT_DOODAD" help="Select the Doodad palette."/>
208 <item name="Item" hotkey="I" action="SELECT_ITEM" help="Select the Item palette."/>
209 <item name="Collection" hotkey="N" action="SELECT_COLLECTION" help="Select the Collection palette."/>
210 <item name="House" hotkey="H" action="SELECT_HOUSE" help="Select the House palette."/>
211 <item name="Creature" hotkey="C" action="SELECT_CREATURE" help="Select the Creature palette."/>
212 <item name="Waypoint" hotkey="W" action="SELECT_WAYPOINT" help="Select the Waypoint palette."/>
213 <item name="RAW" hotkey="R" action="SELECT_RAW" help="Select the RAW palette."/>
214 </menu>
215 <menu name="Toolbars">
216 <item name="Brushes" action="VIEW_TOOLBARS_BRUSHES" help="Show or hide the Brushes toolbar."/>
217 <item name="Position" action="VIEW_TOOLBARS_POSITION" help="Show or hide the Position toolbar."/>
218 <item name="Sizes" action="VIEW_TOOLBARS_SIZES" help="Show or hide the Sizes toolbar."/>
219 <item name="Standard" action="VIEW_TOOLBARS_STANDARD" help="Show or hide the Standard toolbar."/>
220 </menu>
221 </menu>
222 <menu name="Experimental">
223 <item name="Fog in light view" hotkey="" action="EXPERIMENTAL_FOG" help="Apply fog filter to light effect."/>
224 </menu>
225 <menu name="About">
226 <item name="Extensions..." hotkey="F2" action="EXTENSIONS" help=""/>
227 <item name="Goto Website" hotkey="F3" action="GOTO_WEBSITE" help=""/>
228 <item name="About..." hotkey="F1" action="ABOUT" help=""/>
229
230 </menu>
231 <menu name="Server">
232 <item name="Host Server" action="ID_MENU_SERVER_HOST" help="Host a new server for collaborative mapping"/>
233 <item name="Connect to Server" action="ID_MENU_SERVER_CONNECT" help="Connect to an existing map server"/>
234 </menu>
235 <menu name="RD">
236 <!-- all context menus that have been changed from vanilla functionalities -->
237 <item name="Hotkeys" hotkey="" action="SHOW_HOTKEYS" help="Hotkeys"/>
238 <separator/>
239 <item name="Remove Items by ID..." action="MAP_REMOVE_ITEMS" help="Removes all items with the selected ID from the map."/>
240 <item name="Remove Duplicates..." action="MAP_REMOVE_DUPLICATES" help="Removes all duplicate items from the map."/>
241 <item name="Remove all Corpses..." action="MAP_REMOVE_CORPSES" help="Removes all corpses from the map."/>
242 <separator/>
243 <item name="Go to Position..." hotkey="" action="GOTO_POSITION" help="Go to a specific XYZ position."/>
244 <item name="Edit Towns" hotkey="" action="EDIT_TOWNS" help="Edit towns."/>
245 <item name="Export Minimap..." action="EXPORT_MINIMAP" help="Export minimap to an image file."/>
246 <item name="Find Item..." hotkey="" action="FIND_ITEM" help="Find all instances of an item type the map."/>
247 <item name="Find Creature..." hotkey="" action="FIND_CREATURE" help="Find all instances of a creature on the map."/>
248 <item name="Replace Items..." hotkey="" action="REPLACE_ITEMS" help="Replaces all occurrences of one item with another."/>
249 <item name="Refresh Items" action="REFRESH_ITEMS" help="Refresh items to fix flags"/>
250 <!-- clickable buttons that toggle some settings such as select right click RAw toggle button and toggle button to disable map display right click context menu then.-->
251 <separator/>
252 <item name="Generate Procedural Map..." action="GENERATE_PROCEDURAL_MAP" help="Generate a procedural map using OTMapGen"/>
253 <separator/>
254
255 </menu>
256</menubar>
257
Top