Skip to content
Supremekirb edited this page Feb 10, 2025 · 12 revisions

This tab is where you will probably spend most of your time. Here you can place tiles, NPCs, triggers such as doors and ladders, enemies, collision, and do all sorts of other important things. The Map Editor works in "Modes". Each mode is a tab on the sidebar, and you can activate them by clicking or using Fn keys 1-10. Check each of the pages under this one on the sidebar (to your right, or underneath this page if on mobile) for what you can do in each mode.

There are some things that you can do regardless of the mode:

  • Pan with Shift + left-click or middle mouse button
  • Zoom with Ctrl + +/- or Ctrl + mouse wheel
  • Toggle the grid with Ctrl + G
  • Toggle hexadecimal with Ctrl + H
  • Find things with Ctrl + F
  • Go to coordinates with Ctrl + Shift + G

Tools

There are five tools in the Map Editor. You can access them under the Tools item in the menu bar up top.

Render image of map

This tool can be used to take perfect-quality screenshots of regions of the map. Input coordinates and then hit "Render". If you're happy with how it turned out, you can save it as an image file by hitting "Save". For now, if you want to adjust what is and isn't shown on the map, you need to do that in the editor before using this tool.

Import PNG with png2fts

This is a graphical interface for the amazing tool png2fts by Catador and Cooprocks. It converts PNG images to map data! Select an image and a tileset to replace, and then hit "Go". If it gives any errors, they will show up in the output box. If it was successful, you can press "Done" to finish the operation, or press "Place on map" to place the image as tiles on the map and update sectors (otherwise, just the tileset will be replaced, and the image won't be placed). When placing, you can hit Esc to cancel.

For now, it's not possible to undo png2fts changes (though you can undo placing it on the map). Use it with care, and make backups.

Clear map

You can use this tool to get rid of things on the map and create a clean slate to work with. You can clear tiles, sector properties, NPCs, triggers, and enemies by using the checkboxes.

Map music editor

This lets you edit the map music table. This isn't a music editor, but an editor for the rules that determine what songs play when. When you give a sector an entry ID, the game will run down the list of music in that entry, and as soon as one of the flag conditions are met, it will play that song. You can import an EBMusEd metadata file to give the songs different names if you have renamed them in that program.

Tile scratch space

This tool is available in both the Map Editor and the Tile Editor. You can place tiles here without having to worry about sectors and stuff. Then you can pick your placed tiles by Ctrl+clicking on them, and use them in the Map Editor or edit them in the Tile Editor. It's useful when there are common patterns of tiles that you want to reuse over and over, like trees and buildings. It persists even after you close the program, so don't be afraid to stock it up with all kinds of handy snippets. Also, you can leave its window open while you do other things in the editor.


map editor

Clone this wiki locally