.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #31  
Old December 21st, 2015, 04:13 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,492
Thanks: 3,963
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Height Maps

Sweet!
Reply With Quote
  #32  
Old December 21st, 2015, 04:28 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,492
Thanks: 3,963
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Height Maps

This really is breathtaking to anyone making maps but anyone trying this needs to be aware that when it generates the map for the game when you display it in the editor you will see nothing but flat green......BUT you WILL see what's "hiding" when you look at the mini map and the work I did to add colour to every contour height is paying off. What you need to do is select the "page2:" grass......that's the one that follows contours in terrain. Set FILL RANGE to something like 400 and then press fill and it will automagically reveal all the contours. All a map maker need to do next is add trees buildings and whatever else you want to dress the map up but this program does all the heavy lifting .

REALLY NICE WORK !


Here's a snippet


http://forum.shrapnelgames.com/attac...1&d=1450729971

you can see a section of the map that the program works from and a section of the map.......the river bed is clearly visible
Attached Thumbnails
Click image for larger version

Name:	Image4.jpg
Views:	851
Size:	72.0 KB
ID:	14035  
Reply With Quote
The Following 2 Users Say Thank You to DRG For This Useful Post:
  #33  
Old December 21st, 2015, 05:05 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,492
Thanks: 3,963
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Height Maps

This ones for Ulf as an example of the usefulness of this program

The Hochwald gap contour

Map 322 for SPWW2

I CANNOT tell you enough how this has brightened my day

MERRY CHRISTMAS !!!
Attached Files
File Type: zip Hockwald Gap contours map 322.zip (67.1 KB, 291 views)
Reply With Quote
  #34  
Old December 23rd, 2015, 05:01 AM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Height Maps

Merry Christmas, everyone!
Reply With Quote
The Following 2 Users Say Thank You to dmnt For This Useful Post:
  #35  
Old December 25th, 2015, 12:00 PM
wulfir's Avatar

wulfir wulfir is offline
Major
 
Join Date: Jun 2005
Posts: 1,009
Thanks: 142
Thanked 366 Times in 194 Posts
wulfir is on a distinguished road
Default Re: Height Maps

Quote:
Originally Posted by dmnt View Post
It's now reworked so that it will use Google API for terrain data but Google limits the amount of requests so please don't use it too much.
What is 'too much'?
Reply With Quote
  #36  
Old December 25th, 2015, 03:20 PM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Height Maps

Quote:
Originally Posted by wulfir View Post
Quote:
Originally Posted by dmnt View Post
It's now reworked so that it will use Google API for terrain data but Google limits the amount of requests so please don't use it too much.
What is 'too much'?
Google has the following limit enforced: https://developers.google.com/maps/d...n/usage-limits

2500 elevation API requests per day, 512 locations per request (we're using 480 per request) and 10 requests per second.

Every map has 31284 hexes to fill and it needs 66 requests per map. Therefore, my site can give you 37 map downloads per day, no more, unless I start paying google for the service. If you need more (like you created 40 maps a day... ) you can always download the code yourself from https://github.com/tvenhola/SPMBT-maps - it's free as in beer - and try it out. You need to apply your own Google developer API key, free of charge.

The new version that uses Google API isn't yet documented in the README (so it's not mentioned on the github page) but it's a completely new approach: no downloading of satellite data files, no need to install image magick and no west-east constraint, but you need the Google api key. And still Linux or some way to make it work under Windows.

Requires: Perl, some Perl libraries such as libcurl-perl.

Map output will do some automagic stuff which should be mentioned in the user manual:
  • The lowest point on map will be made "level 0"
  • If anything is over 150 meters high from the lowest point, it's clipped
  • Resolution may be poor, Google API gives lowest resolutions of "152 meters" for my neighborhood: that means that the distance between points of interpolation may be up to 3 hexes away and the result is lacking detail.
  • At some points it may be overspecific, giving resolution between 2-8 meters. Then the point selected on map may affect too much the hex by picking some random rooftop or excavation and not the general terrain. If this happens, I'll give your money back.
Reply With Quote
The Following User Says Thank You to dmnt For This Useful Post:
  #37  
Old January 3rd, 2016, 04:46 PM

lukerduker123 lukerduker123 is offline
Corporal
 
Join Date: Jul 2013
Posts: 113
Thanks: 29
Thanked 34 Times in 27 Posts
lukerduker123 is on a distinguished road
Default Re: Height Maps

Oh, wow, this is really nice! Just one question! Do I have to add the water manually myself?
Reply With Quote
  #38  
Old January 3rd, 2016, 07:40 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,492
Thanks: 3,963
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Height Maps

Yes
Reply With Quote
  #39  
Old January 5th, 2016, 03:53 PM

dmnt dmnt is offline
Sergeant
 
Join Date: Jan 2010
Location: Espoo, Finland
Posts: 359
Thanks: 56
Thanked 136 Times in 104 Posts
dmnt is on a distinguished road
Default Re: Height Maps

Quote:
Originally Posted by lukerduker123 View Post
Oh, wow, this is really nice! Just one question! Do I have to add the water manually myself?
For the time being. It's on the road map to add automatic water hex generation as well as the proper hill levels and hex tiles. When that will be ready I really can't give any estimate.
Reply With Quote
The Following User Says Thank You to dmnt For This Useful Post:
  #40  
Old January 6th, 2016, 06:30 PM

lukerduker123 lukerduker123 is offline
Corporal
 
Join Date: Jul 2013
Posts: 113
Thanks: 29
Thanked 34 Times in 27 Posts
lukerduker123 is on a distinguished road
Default Re: Height Maps

Don't worry about rushing man. The sheer amount of effort this must've taken, along with how easy this makes it to make real life maps now is simply mind-blowing. Thanks for this! Seriously, thanks!
Reply With Quote
The Following User Says Thank You to lukerduker123 For This Useful Post:
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:52 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.