The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: z3n17h on August 06, 2010, 03:57:25 PM

Title: Tile Swapping Script?
Post by: z3n17h on August 06, 2010, 03:57:25 PM
Would it be difficult to create a tile-swapping script for RMXP?

As an example: say the interior of a house had a blue tile being used as the floor, could you make a call script to change swap the blue tiles for orange floor tiles - if they are in the same Tileset (since I would assume that would make it easier).

This IS a request, reading it over it didn't really sound like that though. If someone is interested but would like more specific information on what I am actually trying to accomplish, please PM me.

Any help would be greatly appreciated! I can offer spriting as a labour trade, considering I have a shattered collar bone and I am confined to my computer for the next six weeks! Thank you RMRK community.

ZV
Title: Re: Tile Swapping Script?
Post by: Terra-chan on August 06, 2010, 07:00:27 PM
I don't know much about XP besides it having like 7 tile layers to VX's like... 3. I was expecting to look at this and have it be a tile swap from one sheet to another for a Seasonal change, but it sounds to me like you're asking for the convenience of just swapping one tile for another in the editor (which I actually think would require more effort than a script that changes the tileset image in-game)
Title: Re: Tile Swapping Script?
Post by: XBlak300 on August 25, 2010, 10:35:06 PM
Simply make events. put the events with the tilesets (walk through if floor or somewhere to go) and make a new page. there you'll put "if (variable or switch, switch if 2 or variable if 3 or More) = 1-2-3-etc./ON) and in the same page put the new tile. Now when you wish just put ON/OFF or 1-2-3-etc. and Viola! Works for me, if not for you... well... can't help >.< Probably to much events if it's that Dx so try NOT to abuse. If you don't understand tell and I'll explain better  :o