Thread: 718 - Copying Map Data?

Results 1 to 6 of 6
  1. #1 718 - Copying Map Data? 
    Registered Member Rowley2's Avatar
    Join Date
    Jan 2015
    Posts
    29
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    I would like to take an 8x8 tile from place and put it in another, how would I go about doing so?
    Attached image
    Reply With Quote  
     

  2. #2  
    BattleScape
    U Got 0wned's Avatar
    Join Date
    Oct 2011
    Posts
    621
    Thanks given
    184
    Thanks received
    173
    Rep Power
    239
    Not that I know how to code but, usually the Map is divided into block regions. Don't think you can take a piece of one block out of a region besides creating your own custom map or editing the place values. You might be able to grab it from the map data, and override the objects that are currently in that coord.





    Reply With Quote  
     

  3. #3  
    Registered Member Rowley2's Avatar
    Join Date
    Jan 2015
    Posts
    29
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    There is nothing in the coords where I want to move it, its all skybox. So i just need to copy to map data to that area.
    Attached image
    Reply With Quote  
     

  4. #4  
    Super Donator
    Kova+'s Avatar
    Join Date
    Jan 2012
    Posts
    937
    Thanks given
    124
    Thanks received
    249
    Rep Power
    13
    Look into RegionBuilding within your source. Dungeoneering and Construction are both examples of this.

    RegionBuilder has a copy chunk method which takes the chunks of a region and places them within a new region.

    RegionBuilder.java has all your answers, just look into it.
    "Real programmers don't comment their code. If it was hard to write, it should be hard to understand." - Unkown
    “ Any fool can write code that a computer can understand. Good programmers write code that humans can understand. ” - Martin Fowler
    Reply With Quote  
     

  5. #5  
    Registered Member Rowley2's Avatar
    Join Date
    Jan 2015
    Posts
    29
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Kova+ View Post
    Look into RegionBuilding within your source. Dungeoneering and Construction are both examples of this.

    RegionBuilder has a copy chunk method which takes the chunks of a region and places them within a new region.

    RegionBuilder.java has all your answers, just look into it.
    Awesome, thank you.
    Attached image
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2014
    Posts
    67
    Thanks given
    8
    Thanks received
    30
    Rep Power
    17
    Quote Originally Posted by Rowley View Post
    There is nothing in the coords where I want to move it, its all skybox. So i just need to copy to map data to that area.
    Skyboxes are in the mapdata on a chunk-by-chunk basis. If you copy mapdata from one area that either has no skybox or has a different skybox than the new area it will overwrite the skybox that you are attempting to use.

    TLDR; Copying mapdata into a 'skyboxed' area does not work, you will lose the skybox.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [718] Need help with map data.
    By k0ed123 in forum Help
    Replies: 5
    Last Post: 09-07-2014, 04:04 AM
  2. 718 copy a map to another?
    By Rondo in forum Help
    Replies: 5
    Last Post: 08-06-2013, 09:46 PM
  3. Map Data 718 +
    By the gaurd in forum Requests
    Replies: 0
    Last Post: 03-18-2013, 11:20 AM
  4. map data [untested]
    By joecool390 in forum Tutorials
    Replies: 22
    Last Post: 07-16-2008, 01:14 AM
  5. What method loads the map Data
    By Clienthax in forum RS2 Client
    Replies: 2
    Last Post: 01-01-2008, 11:10 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •