Skip to content

Adding Map Palettes

vince94 edited this page Sep 18, 2019 · 1 revision

Usually the answer for "can I add more of (something) to the game" is "no," but in this case, it's actually "yes!"

The map palette information is stored in .fts files, located in \Tilesets. For example, the file you'd open for Threed's tileset is 03.fts. Each palette entry looks like, again using Threed as an example, "30000…" or "31000…", which means "tileset 3, palette 0" or "tileset 3, palette 1". There's a whole bunch of information after this that you don't have to worry about changing, since the map editor generates it when you change the colors around. (Three letters per color, if you're curious.)

  1. Open up the .fts file in your text editor of choice, and scroll about halfway down to the palette information
  2. Copy an entire line and paste it below, and then change the first two numbers to "32", resulting in "tileset 3, palette 2"! (or whatever number happens to be next)
  3. Add a reference to this new palette in map_palette_settings.yml. This file also lets you set which event flag you can use to toggle palette changes, like Magicant!
  4. Go into the project editor and edit the colors to your heart's content!

You don't need to remove any palettes from other tilesets to make room, either! So, for example, you can have two palettes in Summers and Scaraba and leave eight in the Lost Underworld. In fact, you could have eight palettes for every tileset if you wanted!

One last thing: h.s says "I think the tileset palettes also use a hierarchy system like map music-related event flags, in that a higher-tier palette with its flag set would take precedence. I'm not sure, though, since I haven't used more than one palette change in a single tileset yet."

TODO: Actually try all of this out and rephrase the explanation if necessary

Clone this wiki locally