AnonPrime Posted December 21, 2014 Share Posted December 21, 2014 (edited) I was playing around with ways of making a terrain map from Google Maps. I found a way of rendering the Google Maps data using colours needed by the WorldEd. I whipped this up today and is by no means any where near usable as of yet and have no clue what I am doing. UPDATE: After looking into the terms of service information on the Google maps website I am unable to have any way of copying, saving, or downloading of any of the map data. This map is only to be used as a reference. I will not be providing a guide on how to convert for use with the Zomboid map editor unfortunately because of this. Download Link: https://db.tt/x45rnIOK Version 1.2 Implemented Features:Button to set zoom level to optimal zoomMap colours use Zomboid Terrain PaletteButton to switch the base colour between different typesPlanned Features:Ability to adjust road widthAbility to "pan" the image a set number of pixels, North, East, West, and SouthKnown Issues:Anti aliasing will affect the edges of everything.The Roads will be too thick at higher zoom levels, needs to be a specific zoom levelHistory v1.2- Added buttons for changing base colour between dark grass, dirt, and sand- Adjusted CSS for custom buttons to make them more shiny- Made the zoom slider less obtrusive. v1.1- Changed default lat long to 0,0- Changed default zoom level to show world map- Added button for "optimal zoom"- Adjusted download to make it a zip download, instead of HTML hosted on dropbox- Fixed issue where labels were shown for bodies of water v1.0 - Initial Release Sources:- I used the following site to create a "style" for a map http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html- I used the code sample from Googles API documentation as the base page https://developers.google.com/maps/documentation/javascript/examples/places-searchbox Credit where it's dueThis mod can be added to and extended by anyone in the community, but credit must be given to the original author within the files of the mod - and posted alongside the mod wherever it roams. Edited December 22, 2014 by AnonPrime TheGmork, Atoxwarrior, LeoIvanov and 3 others 6 Link to comment Share on other sites More sharing options...
TheGmork Posted December 21, 2014 Share Posted December 21, 2014 Going to have a look at this. Been doing this by hand and eye so far WoW! This is great!! Link to comment Share on other sites More sharing options...
AnonPrime Posted December 21, 2014 Author Share Posted December 21, 2014 I spend an hour or two mucking about with taking screenshots and pasting into an image editor and have a png file that is loading and generating tmx files with no errors. Here is an example map made using the above map: http://db.tt/vbdnjSmxThe map I generated still would need a lot of work to make it useable, but waaaay less time than doing it by hand. I now have a good method for fixing the anti aliasing using GIMP and converting it to an indexed image with a fixed palette. If I have the time I will whip up a quick guide on how to set up everything and post it here in the main post. Suomiboi 1 Link to comment Share on other sites More sharing options...
TheGmork Posted December 21, 2014 Share Posted December 21, 2014 Is there any way to rotate the map or can that only be done in the image editor? Link to comment Share on other sites More sharing options...
Suomiboi Posted December 21, 2014 Share Posted December 21, 2014 Holy wow! I wish I'd had this when making the Radcliff map. It took me a few days to copy the map by hand with a pic editor. The only problem would seem to be that pz roads aren't diagonal or curved but still this is awesome! Great work!! Link to comment Share on other sites More sharing options...
AnonPrime Posted December 21, 2014 Author Share Posted December 21, 2014 I was unable to fine a way to rotate the road map within Google Maps, there is a way though it is only for the 45degree angle satellite imagery. I am looking into other work arounds as it would be best to rotate right through the map.With the example map I used the tools within GIMP to rotate the image, though the roads are not straight and would need a lot of touch ups. I am going to be playing around with a few ways of capturing the image, putting it into an editing program, and being able to modify it to prep for use as a terrain map. The roads in my above example are not straight, likely not the right width, though having a proper layout and somewhat proper proportion is a nice base to work off of. Oh, and there are diagonal roads already in the vanilla game I expect that other colours of diagonal road are possible it really comes down to having the right tileset. http://pzmap.crash-override.net/#0.9083523030596864,0.17931520470649825,30.814043149172726http://pzmap.crash-override.net/#0.43462356740529684,0.24684505518295738,17.832200896512017 Link to comment Share on other sites More sharing options...
TheGmork Posted December 22, 2014 Share Posted December 22, 2014 The diagonal roads might just work. I'm using Photoshop to edit. I have a brush set up for each road size type so if I need I can edit the roads manually. Other then that this tool will be invaluable! When I have the base map I'm working on done I'll post it here too. Link to comment Share on other sites More sharing options...
Suomiboi Posted December 22, 2014 Share Posted December 22, 2014 Oh yeah of course. The diagonal roads work with grass, sand and dirt tiles because of the blend tiles, but they won't work with other street tiles. I really hope that they'll make blend tiles for those too. I've used some of my own tiles for my own maps but I haven't gotten those to work with the blends system yet... Link to comment Share on other sites More sharing options...
A-mak Posted August 29, 2018 Share Posted August 29, 2018 All links have 404, damn. Link to comment Share on other sites More sharing options...
AnonPrime Posted October 13, 2018 Author Share Posted October 13, 2018 I think I may take another crack at this, using something other than google maps. I still have my old code kicking around somewhere... I make no guarantees though Jason132, MysteryMan, junglistjim and 1 other 4 Link to comment Share on other sites More sharing options...
GarryTale Posted September 8, 2022 Share Posted September 8, 2022 will you remake this someday or make it available again? MysteryMan 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now