Change another map's tileset

nujood

Warper
Member
Joined
Jul 28, 2019
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
I want to change the tileset based on map id
The way I used to do it is to check before transferring the player then changing the tileset accordingly
However, it gets messy after a while. I thought I must ask for help on tackling this issue since there must be a faster way to do it!
 

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
529
Reaction score
275
First Language
thai
Primarily Uses
RMMV
Better link the plugin you use
I'm not sure which one
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
@pasunna I think he doesn't use a plugin at all, but the event command...

@nujood there is the technical problem that other maps do not exist while playing on one map, they are only loaded from file into the gamemap on the player going there. Which means you cannot change that unless you change the stored files, and that would get even more messy.

What is theoretically possible is to use a plugin that stores the tileset information for all maps on its own, and then uses that data to change the tileset on mapload.
But such a plugin would have to be requested to be written as I don't think something like that exists yet.

That said, please explain why you're changing tilesets - most cases I know of where such a mechanic is used can easily be done by a parallel process on mapload on the map that is to be changed, without getting messy at all. If we know what you're doing we might be able to point you to a better solution.
 

nujood

Warper
Member
Joined
Jul 28, 2019
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
Yes, I use no plugin just the old change tileset command!
Thanks @Andar I should have known since the function was on the game object class!
I do pretty much what you described but was rather hoping for a one simple command.
Thanks folks! I am off learning JS to make this plugin :D
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
why do you need a plugin? Just put the Change Tileset command into a parallel event (that erases itself) on the same map you want to change. Because it's a parallel event, the change should happen before the fadein.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,867
Messages
1,017,062
Members
137,575
Latest member
akekaphol101
Top