Save-Point
Change Map Tileset - 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: Change Map Tileset (/thread-2754.html)



Change Map Tileset - Ryethe - 03-03-2008

Change Map Tileset
version 1.1

by Ryethe
(05-05-2005)

Quote:This script restores yet another missing feature in RPG Maker XP relative to RPG Maker 2000 and 2003. This script allows you to change the tileset used by the current map. This is especially useful on maps that use multiple elevations, since you can change the tileset priorities as the player changes elevation. Adding this feature merely requires you to insert this script above main.

To use this script, you call it like so:

Script: $game_map.replace_tileset(3)

Where the "3" indicates that the tileset will be changed to the third tileset in your database.
aka... 003: Forest if you use the RTP.


Script
Change Map Tileset


NOTE: The only thing I did was adding Aliases into the script for ease of use.