KSetTilesets XP - Printable Version +- Save-Point (https://www.save-point.org) +-- Forum: Material Development (https://www.save-point.org/forum-8.html) +--- Forum: Scripts Database (https://www.save-point.org/forum-39.html) +---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html) +---- Thread: KSetTilesets XP (/thread-8723.html) |
KSetTilesets XP - kyonides - 04-29-2023 KSetTilesets XP
Version 1.0.0
by Kyonides Arkanthes
Introduction This scriptlet should let you set a new tileset as the default one for any given map via script call. The main idea behind it is to replace the default tileset with another one with some tiles changed for any specific reason, like different house facades or withered trees or an open well or all of them at the same time. It is pretty much like a method to stop making dozens of events to cover those areas. This might be especially useful if the changes are supposed to last for a long period of time or even for the rest of your game. It DOES refresh the current map and its spriteset! It also works for other maps, obviously. 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. The Script Code: # * KSetTilesets XP * # Terms & Conditions Free for use in your game projects. Include my nickname in your game credits. You could include an URL to the website where you found this scriptlet. RE: KSetTilesets XP - kyonides - 05-03-2023 Script Improved!
Since some people complained about my script not being able to reload the current map in real time, I just let it do that by telling it to retrieve the new tileset data at once. Well, it can also revert to the original tileset if needed. Happy Tile Switching!
|