Copy/Paste Map Data

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
Copy/Paste Map Data v1.0
By Vlue
Introduction
Ever wanted to make a house appear out of nowhere? Or anything even remotely like that? Yes? YES? No? Oh.. Well, I did and really... that's a lot of events. So here, have this little snippet that allows you to copy tile data from one map and paste it whereever you want on the current map. I'm sure some of you will think of more features I can do with this, so always feel free to comment.

Features
- Copy a rectangle's worth of tile data from one map and paste to another. That's it! How simple!
- Copy an event from any map to the current one!

- You can have autotiles autotile when pasted, by placing this snippet by KilloZapit below this script:
http://www.rpgmakervxace.net/blog/121/entry-454-autotile-update-script/

How to Use
Details in the script itself. It's header specifically. It's all there.

Script
Grab it here, I likes my pastebin: http://pastebin.com/T5wYHRVS

Credit and Thanks
- By Vlue
- Free to use in any project, commercial or non-commercial, go crazy.

Author's Notes
Doodleladoodladoodleldoo
 
Last edited by a moderator:

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
Incredible! I was actually just thinking about this myself! Wonderful script! Much appreciated. Thanks so much Vlue! :rock-left: BD :rock-right:

Edit:

Would it be possible in a future update to also copy the events? ;)
 
Last edited by a moderator:

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
Maybe sometime in the near future... so.. welcome to the future!


Updated the pastebin with a new version of the script with a new function: copy_event.. wait no.. event_copy, yah.


Which can be used to copy an event from any other map to the current map, woot woot. Instructions in the script!


I also want to add, that this script does increase the size of your save files as each edited map/events gets saved there for you know.. reasons. (It's never really that much, but hey)
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
954
Reaction score
520
First Language
Javascript
Primarily Uses
RMMZ
Maybe sometime in the near future... so.. welcome to the future!
Awesome! Lookin' forward to that. ;) *Hops in time machine (Epoch), sets parameters to "near future"*

Updated the pastebin with a new version of the script with a new function: copy_event.. wait no.. event_copy, yah.

Which can be used to copy an event from any other map to the current map, woot woot. Instructions in the script!
Thanks for such a quick update! :D Works like a charm. :rock-left: :) :rock-right:
 
Last edited by a moderator:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Can I just check my understanding of what this script does.

Using a script call within an event, it will cause a section of tiles to appear in game?  Or have I misunderstood?  Not feeling too sharp today, woolly brain.
 

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
Pretty much, you can copy a rectangular section of tiles from one map and paste it wherever you want in another. Within an event, within game. Even able to specify only certain layers. This includes passability, etc.. but autotiles won't autotile.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
Pretty much, you can copy a rectangular section of tiles from one map and paste it wherever you want in another. Within an event, within game. Even able to specify only certain layers. This includes passability, etc.. but autotiles won't autotile.
Thanks for the clarification
 

Nosleinad

Storyteller
Veteran
Joined
Dec 12, 2012
Messages
351
Reaction score
29
First Language
Portuguese
Primarily Uses
Very nice script, thanks again Vlue.

Actually i am having some issues to find a script to properly allow a copy/paste from different maps that mantains the different original tilesets and all its passabilities. 

A few days ago i even tryed to ask for a comission about this feature to another very good scripter, and in a different manner, as he had another script. But until now i got no answer as this seems to be tricky.

So i have to ask, is it possible to do?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Haha - I have a similar script that I was about to share. Nice! I really like that you've split it out to include/exclude individual layers.
 

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
Very nice script, thanks again Vlue.


Actually i am having some issues to find a script to properly allow a copy/paste from different maps that mantains the different original tilesets and all its passabilities. 


A few days ago i even tryed to ask for a comission about this feature to another very good scripter, and in a different manner, as he had another script. But until now i got no answer as this seems to be tricky.


So i have to ask, is it possible to do?
Everything's possible if you put your mind to it! Almost.


I actually did that once while trying to (successfully actually) make a map that had actual size houses that when you walked in the door the roof would change to the house insides. It was done with extra spritesets and broken passability though.


Uh, suppose I'm off on a tangent. Yes it's possible, but it's not all that easy.
 

Nosleinad

Storyteller
Veteran
Joined
Dec 12, 2012
Messages
351
Reaction score
29
First Language
Portuguese
Primarily Uses
  I would surely make you a donation if you feel happy about trying  ;)  to do it, not only because this but also because the other free scripts that you already provided. It would help me a lot to make my big world map with gorgeous towns and castles hehehe, and i am pretty sure other people will have uses for it too.

  I just hope it doesn't lag the game too much.
 
Last edited by a moderator:

Vlue

Talent Extraordinaire
Member
Joined
Mar 13, 2012
Messages
589
Reaction score
378
First Language
English
Primarily Uses
I would surely make you a donation if you feel happy about trying  ;)  to do it, not only because this but also because the other free scripts that you already provided. It would help me a lot to make my big world map with gorgeous towns and castles hehehe, and i am pretty sure other people will have uses for it too.


  I just hope it doesn't lag the game too much.
Made a script that lets you sandwich multiple maps together, even if they have different tilesets, and includes auto passability! It's not a pretty script (unless you have no idea how this stuff works, then it's ingenious) but it works for now until I get it cleaned up. Try it out! You can find it on this forum after it gets approved.
 

Nosleinad

Storyteller
Veteran
Joined
Dec 12, 2012
Messages
351
Reaction score
29
First Language
Portuguese
Primarily Uses
Made a script that lets you sandwich multiple maps together, even if they have different tilesets, and includes auto passability! It's not a pretty script (unless you have no idea how this stuff works, then it's ingenious) but it works for now until I get it cleaned up. Try it out! You can find it on this forum after it gets approved.
Very nice. I tryed to find it but couldn't lol, maybe it didn't get approved yet? Weird  :o  .
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
No, it's not approved yet. It will be when the script forum mods are able to take a look at it, assuming it meets all of the requirements for posting scripts. Be patient :)
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
I am not sure if I am necroposting here, I suppose not since it is a script, but sorry if I broke that rule anyway.

I see the script's Terms of Use but what about the snippet by KilloZapit? 

What are the terms for that? :)

It is a great addition to the original script and I have to at least respect the author, by asking first right? 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
No, script topics are excluded from necropost-rules as any user has to post here when he has problems with it.

And you are completely correct that you need KilloZapit's TOS - but there is no member KilloZapit here, so either he has a different name here or is only active on the other board, and you'll need to ask for the TOS on the linked board with the script.
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,078
Reaction score
2,654
First Language
Greek
Primarily Uses
RMMZ
The problem is I can not this person either, so I was wondering if someone could ask to let us know. Oh well :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,990
Members
137,562
Latest member
tamedeathman
Top