1/6/2024 0 Comments Old school runescape map relktNow I had my sources tiles I had to stitch together. #Create a folder for each dungeon level (Basically runescape has map layers under the overall layers I do not promote botting or any other uses this map may have, but I will say the data it supplied openly was invaluable.įrom this map I was able to write the following hacky bash script, that would get all the tiles generated from Exply’s Map and store them locally for futher processing, I did this at the highest level zoom level possible. Here is where things get more dicey, I wanted to apply the same logic as above, but couldn’t find a reliable source for a map containing all dungeons, that was until I found Explv’s Map. These tiles are fed into leaflet and hey preseto you have a map of Runescape! The Basic Tiles (Dungeons) The result of this command is a series of broken up tiles stored in public/map/genderated/.png. This command is basically just taking the downloaded osrsmap in public/map/original, -z 0-9 just means do all renderings between zoom level 0-9, -p raster says to use the raster cutting profile, -w none is just saying generate no webview. This is a python script that will take an image, then based off a zoom level and an original image file would generate the leaflet tiles. Thankfully, someone much smarter than me is way ahead, with gdal2tiles-leaflet. My initial investigations were into coming up with a way to break down the world map image into tiles, which could then be displayed on leaflet. React.js (A js framework for displaying the result).Leaflet (A js library for rendering maps).This project is based of a few key base tools, to build the map and process the data. With the goal being to make a world map for the web browser that could be just as powerful as the in game one developed by Mod Ash The tools used What is RSMapįor those not hip enough to be playing a game from 2007, Old School Runescape is a re-relase of the popular MMORPG Runescape as it was in 2007, with constant updates and a growing community, I recommend it to anyone to this day. So don’t expect any react.js explanations hhere. Which should make it adaptable to anyone else’s work and also help show the amount of work that went into the creation of it. This one might get abit lengthy, but my goal is to avoid too many ‘cut and paste code snippets’ and just talk more about how this method could be applied in any project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |