Switching tilesets while making the map

Howdy, been scrolling the forum in an attempt to find any reference to being able to change between tilesets whilst constructing the map itself. Everything i find is "How can i make this tile change to another tile when stepped on" and such, which isnt what i need.

Just want to be able to switch between tilesets while i make my map, which honestly feels like basic fuctionality.

Any help would be appreciated.

-J
you can't, each map can only use one tileset at any given time and removing a tileset will remove all tiles it contains from the map.
Tiles are stored by numbers, which means replacing a tileset will replace the tile a number refers to.

If you are indeed using RMXP then you can add to the tileset at the price of RAM - the larger a tileset gets, the more both the editor and the game will lag.

If you're using a later maker, the tilesets are fixed size (to prevent that lag issue) and you have to chose which tiles to use on which maps, although you can make different tilesets for different maps in later makers.
You actually can. But it is important that all abjects in 1 tileset, are located in the same position as they are in the other tileset.

Like if in sheet B of tileset X there is a stool in tile 2,3 (second from the left, third from the top) then there should be a stiol, or a chair, or something similar in tile 2,3 of sheet B of tileset Y too.

If this is the case, then you can simply find the map you want to change in the list on the left bottom corner of RPG maker, then right click it, choose properties and then change the tileset.

If you are indeed using RMXP then you can add to the tileset at the price of RAM - the larger a tileset gets, the more both the editor and the game will lag.

Wait... they wanted to change tulesets halfway mapping, right? Or halfway making the game?

Because if you want a new tileset halfway the game, you should just make 2 versions of the map. One before, and one after
Changing the Whole Tileset at Any Given Time​

@archangelx64 I guess that you could do the following. Keep the original tileset intact while making a copy that you can alter as much as needed. I mean, do it in both the DB and the actual Tilesets directory. Make sure that you don't have to change the passabilities and other stuff in the copy tileset in the DB. Then via some script call change the whole tileset if some special event takes place in your game world. You could make as many copy tilesets as deemed necessary. Then you would just need to create a tileset filename cache to make sure you can go back to a previous tileset if stuff devolves based on your plot. Otherwise, you could simply make a new variable in the Game_Map class keep track of the latest version of that map's tileset.

I don't think that script exists already so let me see if I get some time this weekend to work on something like that. Nonetheless, I won't do that if I don't get a explicit request from you telling me that you do need such a script to be made.

Anyway, it gotta be a little scriptlet if I'm correct about my assertions.

If you are indeed using RMXP then you can add to the tileset at the price of RAM - the larger a tileset gets, the more both the editor and the game will lag.

If you're using a later maker, the tilesets are fixed size (to prevent that lag issue) and you have to chose which tiles to use on which maps, although you can make different tilesets for different maps in later makers.

It's fine to tell other people that there are limitations or "features" as some people would love to call them for some weird reason, but I do find it curious how most of your comments simply try to discourage people from using old installments of the RM series. It's like you're not respecting their decisions, their choices, their preferences. Perhaps it would be better if you simply stop doing that just to demonstrate you don't trying to impose your worldview on new or veteran users.
The OP said "while constructing the map". I assume this means they want to pull tiles from multiple tilesets and use them on the same map.

Can't be done by switching from one tileset to another - all the tiles you've already drawn will be replaced with what is in the same positions in the new tileset.

You have to edit the tileset image (if it's an RTP tileset you'll need to go into the resource manager and export it into your project's graphics/tilesets folder first). Add as many rows to the bottom as you need - each row must be 32 pixels high. Then copy and paste the tiles you want from other tilesets into the new space you've created.

Keep in mind what Andar said - the larger you make your tileset, the slower your game will be when loading a new area.
Wait... they wanted to change tulesets halfway mapping, right?

able to switch between tilesets while i make my map
They want to switch tilesets while making a single map, keeping the tiles from the first tileset as they specifically said they don't want to change any given tile.

And that is simply impossible - and since the only reason why do this is to get the tiles from two different tilesets, I explained that they need to combine all tiles they want to use for a single map at a single time into a single tileset.

but I do find it curious how most of your comments simply try to discourage people from using old installments of the RM series. It's like you're not respecting their decisions, their choices, their preferences.
I never try to impose my worldview - but you on the other hand assume that everyone using a maker knows everything about it, and that is simply wrong - as proven many times before.

In this specific case it is obvious that the OP never heard of the ability of RMXP to have unlimited size tilesets, so I pointed that out to him - including the technical drawback why that ability was removed from all later makers, because otherwise he might make the tileset too big to be workable.
So they want to use both tilesets in the same map? Okay, then I completely misunderstood the situation. I thought they used tileset A and wanted to use tileset B instead.

I didn't know XP could have extended tilesets, though... That is awesome! Wish MV could do that too. 😛
To be able to use both tilesets simultaneously? It sounds a bit crazy, to be honest. Anyway, I can't even fathom how hard that could hit your RAM while playing your game so I won't get involved in that affair just in case. XD

Keep in mind the scriptlet below only lets you use a different tileset with similar stuff but with a few different tiles as well. (I know that's not exactly what you might have been asking us to help you with here...)

Ruby:
# * KSetTilesets XP * #
#   Scripter : Kyonides Arkanthes
#   2024-04-29

# * Warning! * #
# If you have implemented other scripts that have changed how the Game_Map
# class works, make sure you place this script above all of them.

# It should let you completely replace your current map's tileset with another
# one that shares similar passability and other settings, while retaining all
# of the changes you have made to its actual tiles.

# * Script Calls * #

# - Set a new Tileset for MapID n
#   $game_map.change_tileset(map_id, tileset_id)
# - Remove any new Tileset for MapID n
#   $game_map.default_tileset(map_id)

class Game_Map
  alias :kyon_tileset_sw_gm_map_init :initialize
  def initialize
    kyon_tileset_sw_gm_map_init
    @tilesets = {}
  end

  def setup(map_id)
    @map_id = map_id
    @map = load_data(sprintf("Data/Map%03d.rxdata", @map_id))
    setup_tileset
    setup_events
    setup_fog
    setup_scroll
  end

  def find_current_tileset
    @tilesets[@map_id] || @map.tileset_id
  end

  def setup_tileset
    tileset_id = find_current_tileset
    tileset = $data_tilesets[tileset_id]
    @tileset_name = tileset.tileset_name
    @autotile_names = tileset.autotile_names
    @panorama_name = tileset.panorama_name
    @panorama_hue = tileset.panorama_hue
    @fog_name = tileset.fog_name
    @fog_hue = tileset.fog_hue
    @fog_opacity = tileset.fog_opacity
    @fog_blend_type = tileset.fog_blend_type
    @fog_zoom = tileset.fog_zoom
    @fog_sx = tileset.fog_sx
    @fog_sy = tileset.fog_sy
    @battleback_name = tileset.battleback_name
    @passages = tileset.passages
    @priorities = tileset.priorities
    @terrain_tags = tileset.terrain_tags
  end

  def setup_events
    @need_refresh = false
    @events = {}
    for i in @map.events.keys
      @events[i] = Game_Event.new(@map_id, @map.events[i])
    end
    @common_events = {}
    for i in 1...$data_common_events.size
      @common_events[i] = Game_CommonEvent.new(i)
    end
  end

  def setup_fog
    @fog_ox = 0
    @fog_oy = 0
    @fog_tone = Tone.new(0, 0, 0, 0)
    @fog_tone_target = Tone.new(0, 0, 0, 0)
    @fog_tone_duration = 0
    @fog_opacity_duration = 0
    @fog_opacity_target = 0
  end

  def setup_scroll
    @display_x = 0
    @display_y = 0
    @scroll_direction = 2
    @scroll_rest = 0
    @scroll_speed = 4
  end

  def change_tileset(map_id, tileset_id)
    @tilesets[map_id] = tileset_id
  end

  def default_tileset(map_id)
    @tilesets[map_id] = nil
  end
  attr_reader :tilesets
end

Original thread: https://forums.rpgmakerweb.com/threads/switching-tilesets-while-making-the-map.157060/