I just got RPGMV and I've realised that
Tile_Swap()doesn't work anymore?
Where is the alternative for this, I may just be an idiot but i looked thorough all 3 event pages?!
Tileswap never was possible by default in the Makers, it always required a plugin
What script were you using in Ace that allowed to you to do this? Maybe the creator would consider porting it to MV.
$game_map.data[11,5,0] = 2816This is the Script command used in Eventcommand Script for VX-Ace. Found in this Forum under Scriptequivalents i believe.
Works without aditional Scripts. But the changes are undone after teleporting between Maps.
Maybe this helps to answer the others questions to help OP better.
No, the OP is specifically talking about a script that allowed you to use a Tile_Swap command, not by changing the map data directly.
I want to know what that script was.
The OP wrote nothing about a Script, that was Andar
This is more complex than it sounds.
I mean, retaining the swaps after teleport will be a really complicate override update on the core scripts and it will make the program require more resources to function.
Not sure if it is worthy, especially when you can do stuff using event swapping (or graphic changes). Just a suggestion. I am not sure if it will help you since I don't know what you wanna do.
Guys, I just realised I used Kread-EX, with the script:
$game_system.add_swap_tile(x, y, z, v)But it auto-changes it to what I put above for ease of use.
That's one way of doing it, and I think Hime's script actually did save the data away. When the map was loaded, it looked to see if any tiles had been changed. My way of doing it just required a parallel process event set up to change the tiles as needed, so the data didn't need to be included in the save file.
It would be a small thing to do the same in MV. The biggest issue is that MV has additional map layers and the data is not saved in the same format (Ace used a table, which is a multi-dimensional array; MV doesn't).
I'm not convinced of that - what makes you think multi-dimensional arrays are harder to process?
Without it, I have to do a calculation to determine which element in the single-dimension array is the equivalent of a 3-dimensional array in Ace, or a 5-dimensional array in MV. This requires several multiplication and addition operations.