Help - Search - Members - Calendar
Full Version: [XP]Changing a map's tileset
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
jayje
i'm trying to change a map's tiles for a game event through the call script command. I'm thinking of using '$game_map[index].tilesets = n' would that work?
Night_Runner
Not really.... $game_map only has loaded the current map, you can't treat it like an array to look at the map of your choice...

Were you hoping to permanently change the tileset for a particular map? or just until you leave the map? And I'm assuming you want to replace the autotiles as well?
jayje
QUOTE (Night_Runner @ Mar 3 2010, 06:39 PM) *
Not really.... $game_map only has loaded the current map, you can't treat it like an array to look at the map of your choice...

Were you hoping to permanently change the tileset for a particular map? or just until you leave the map? And I'm assuming you want to replace the autotiles as well?

yeah say from a snowy forest to a sunny forest with an event
Unka Josh
You're probably better off making two maps and doing a Transfer between them.

Also, you might be surprised at all the weird things that happen if you just swap tilesets. Try it. It's not pretty, is it?
jayje
QUOTE (Unka Josh @ Mar 4 2010, 11:16 AM) *
You're probably better off making two maps and doing a Transfer between them.

Also, you might be surprised at all the weird things that happen if you just swap tilesets. Try it. It's not pretty, is it?


i already took that into consideration. that wouldn't be a problem i'm just looking to switch tilesets
Knot
If you just want to switch tilesets you can "copy and paste" the map you want to double and then just switch tilesets. Not exactly what your looking for but it's easy enough.
Unka Josh
Yeah, that's what I was suggesting. You'd want to change other things (like Battlebacks, if you use them) anyway, so why not?
Darkreaper
well not exactly ideal, cause then all the events would reset

But what if you just wanted to change a specific autotile to a dif autotile?
Unka Josh
Less likely to cause serious issues, but you'd probably need a fairly complex script.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.