@joseanjim did you get it to work after redownloading?
Tile Changer (Copy Tiles and Change Tiles)
JS Plugin Releases (RMMV)@Shaz yes! thank you!
It seems like I am doing something completely wrong here.
I have 2 maps, Worldmap and Worldmap2.
I want to copy tiles from Woldmap2 to Worldmap.
I set NO note on Worldmap2. On Worldmap I set the following note:
<load:[{"name":"Worldmap2","map":003}]>
The ID for Worldmap2 is correct.
I have set a plugin command, but is triggered through an action button, so not automatically.
When I load Worldmap I get the follow error:
rpg_managers.js:1919 Uncaught SyntaxError: Unexpected number in JSON at position 28
SceneManager.onError @ rpg_managers.js:1919
rpg_managers.js:1920 chrome-extension://odlameecjipmbmbejkplpemijjgpljce/index.html 1
SceneManager.onError @ rpg_managers.js:1920
index.html:1 Uncaught SyntaxError: Unexpected number in JSON at position 28
at JSON.parse (<anonymous>)
at Function.DataManager.onLoad (Shaz_TileChanger.js:122)
at XMLHttpRequest.xhr.onload (rpg_managers.js:86)
MVCommons.js:953 No parameters could be found for 'ShaderTilemap' !!
$.parameters @ MVCommons.js:953
... I am doing something wrong here? :x
I have 2 maps, Worldmap and Worldmap2.
I want to copy tiles from Woldmap2 to Worldmap.
I set NO note on Worldmap2. On Worldmap I set the following note:
<load:[{"name":"Worldmap2","map":003}]>
The ID for Worldmap2 is correct.
I have set a plugin command, but is triggered through an action button, so not automatically.
When I load Worldmap I get the follow error:
rpg_managers.js:1919 Uncaught SyntaxError: Unexpected number in JSON at position 28
SceneManager.onError @ rpg_managers.js:1919
rpg_managers.js:1920 chrome-extension://odlameecjipmbmbejkplpemijjgpljce/index.html 1
SceneManager.onError @ rpg_managers.js:1920
index.html:1 Uncaught SyntaxError: Unexpected number in JSON at position 28
at JSON.parse (<anonymous>)
at Function.DataManager.onLoad (Shaz_TileChanger.js:122)
at XMLHttpRequest.xhr.onload (rpg_managers.js:86)
MVCommons.js:953 No parameters could be found for 'ShaderTilemap' !!
$.parameters @ MVCommons.js:953
... I am doing something wrong here? :x
Try 3 instead of 003 on the map note.
If that doesn't help, can you post a screenshot of the event with the plugin call?
If that doesn't help, can you post a screenshot of the event with the plugin call?
@Shaz Do you allow edit of this plugin (for my own use) ?
I like this plugin but I'm not a big fan of using notetags, so if you don't mind I'd like to modify it to use plugins parameters instead.
I like this plugin but I'm not a big fan of using notetags, so if you don't mind I'd like to modify it to use plugins parameters instead.
@TWings yes, go for it, as long as you still credit me and don't remove my name from the header section.
Just note that using map notes allows the additional maps to be loaded as part of the map loading process, while putting them in a plugin parameter might result in a delay where you can see the "old" version of the map while the "new" version is loading. But good luck with it 🙂
Looking back, I'm not entirely sure why I made the map notes so convoluted. I could have just made it an array of map numbers. If I rewrite it (which I'll surely do for MZ), I think I'll do that to make it more simple.
Just note that using map notes allows the additional maps to be loaded as part of the map loading process, while putting them in a plugin parameter might result in a delay where you can see the "old" version of the map while the "new" version is loading. But good luck with it 🙂
Looking back, I'm not entirely sure why I made the map notes so convoluted. I could have just made it an array of map numbers. If I rewrite it (which I'll surely do for MZ), I think I'll do that to make it more simple.
Nice, I'm gonna give it a try.
Of course I'm crediting you for it (I mean, I just change the way I'm using it, you're the one who actually did all the hard work).
I'm currently trying to optimise my project, and make things a bit easier for me.
Note tags tend to make it harder to keep tracks within the editor (and the maps Note area doesn't help either) compared to have everything in the same place.
Thanks for the advice. I'll see if I can figure something out.
If it doesn't go smoothly enough, I'll just give up, I guess.
EDIT :
Alright, still gonna need to run a few more tests to make sure, but it looks like I got it working without too much trouble (although I simplified it to only manage one extra map per map). I did manage to keep it within the loading process, so there shouldn't be any delay problem.
I also kept the name parameter, it does help to keep tracks better than only map ids.
Of course I'm crediting you for it (I mean, I just change the way I'm using it, you're the one who actually did all the hard work).
I'm currently trying to optimise my project, and make things a bit easier for me.
Note tags tend to make it harder to keep tracks within the editor (and the maps Note area doesn't help either) compared to have everything in the same place.
Thanks for the advice. I'll see if I can figure something out.
If it doesn't go smoothly enough, I'll just give up, I guess.
EDIT :
Alright, still gonna need to run a few more tests to make sure, but it looks like I got it working without too much trouble (although I simplified it to only manage one extra map per map). I did manage to keep it within the loading process, so there shouldn't be any delay problem.
I also kept the name parameter, it does help to keep tracks better than only map ids.
I absolutely love TileChanger. I got rid of a slew of events with this plugin. I'd love to port my game to MZ, so I'm definitely looking forward to the MZ version. Thank you so much for all you do.
I'm also looking forward to a port to MZ.
I think this plugin can make all kinds of interesting story-telling changes in a game.
I, for one, just wanna change wallpapers 😀
Thank you for this plugin!
I think this plugin can make all kinds of interesting story-telling changes in a game.
I, for one, just wanna change wallpapers 😀
Thank you for this plugin!
Please, we need a MZ port of this wonderful plugin! 🙂
This is what I'm looking for. Where's the download?
That would be in the first post, which you quoted, where it says Download from Pastebin.
Hi Shaz,big thanks for this plugin! I have just a little issue, it's possible to put a variable on locations X and Y? exemple:
Maybe the type of the variable send is false ? I don't know :/
Code:
ChangeTile \V[4] 10 2 5
Maybe the type of the variable send is false ? I don't know :/
Oh all work! Big thanks Shaz!
Why Unexpected number???
It is a plugin command, not a script call.
You have also given it the wrong name:
Got MZ and I'm looking forward to getting this ported to it 🙂
Got it working with FossilMZ project found on the forums, works well so far.
Original thread: https://forums.rpgmakerweb.com/threads/tile-changer-copy-tiles-and-change-tiles.90437/