.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 > WinSPWW2 > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old March 25th, 2016, 12:06 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,488
Thanks: 3,957
Thanked 5,691 Times in 2,811 Posts
DRG will become famous soon enough
Default Re: Height Maps

Don't give up, I think it's a great innovation, I just have my own issues to deal with ATM otherwise I'd be all over this

Don
Reply With Quote
  #2  
Old April 13th, 2016, 08: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

Aaaaand finally, here's at least some kind of user manual. Enjoy!

https://github.com/tvenhola/SPMBT-ma...ster/MANUAL.md
Reply With Quote
  #3  
Old April 15th, 2016, 08:38 PM

IronDuke99 IronDuke99 is offline
Second Lieutenant
 
Join Date: Jan 2015
Posts: 429
Thanks: 705
Thanked 99 Times in 79 Posts
IronDuke99 is on a distinguished road
Default Re: Height Maps

How does one "choose clear keeping the current contours"?
Reply With Quote
  #4  
Old April 16th, 2016, 12:49 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 IronDuke99 View Post
How does one "choose clear keeping the current contours"?
That's just my memory trying to think what that tooltip said.

Choose the "Add clear terrain to hex following the contours of the existing map [C]". So when you first fire up the map editor, you can press N, C, 6, type 255 (and press Enter) and finally press L

OR

Click the blue triangle, green square on top left, "fill range" button above the blue triangle, type 255 and press enter, click "fill" button next to the "fill range" button.

This should give you the nice hills and slopes of the terrain.
Reply With Quote
  #5  
Old May 27th, 2016, 09:25 AM

Grant1pa Grant1pa is offline
Corporal
 
Join Date: Jun 2012
Location: Pennsylvania, USA
Posts: 111
Thanks: 135
Thanked 124 Times in 41 Posts
Grant1pa is on a distinguished road
Default Re: Height Maps

I have a question and I appologize if this has been asked prior.

I've been using the maptool in this thread (http://www.venhola.com/maps/)
and have been very impressed with the ease of obtaining realistic map heights for real world locations.

However, it's driving me crazy trying to emplace streams and lakes which occur on heights above "0" elevation. Which I know is obvious to members of the forum, you can place streams on "10" elevations but they move to "0". In game design, this may not be an issue unless you try to put streams or lakes on higher than "10" levels. The drop is simply to drastic and you have to greatly modify the map heights generated by the tool.

My computer programing days have long past and I surely don't have the expertise to critique or advise on the problem. Is there anyway to allow streams or lakes in higher elevations. Streams progress downstream as well as lakes can be on any elevation. It would be great to be able to emplace these terrain features onto the elevations produced through the map tool.

In a wish list of improvements to the game mechanics, this would have to be my highest wish.

Anyone have any answers?

Tom Garlock
Reply With Quote
  #6  
Old June 13th, 2016, 03:43 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

Quote:
Originally Posted by Grant1pa View Post
However, it's driving me crazy trying to emplace streams and lakes which occur on heights above "0" elevation. Which I know is obvious to members of the forum, you can place streams on "10" elevations but they move to "0". In game design, this may not be an issue unless you try to put streams or lakes on higher than "10" levels. The drop is simply to drastic and you have to greatly modify the map heights generated by the tool.

My computer programing days have long past and I surely don't have the expertise to critique or advise on the problem. Is there anyway to allow streams or lakes in higher elevations. Streams progress downstream as well as lakes can be on any elevation. It would be great to be able to emplace these terrain features onto the elevations produced through the map tool.
I personally have just placed the lakes where they happen to be. In some cases, it's in higher terrain and the shores become steep, but I just took it as a limitation of the game engine. Thinking over this last weekend I have couple of proposed solutions for the changes I could make for the map producing code. I'd appreciate any input from the end users:
  1. Forcing the zero level: In the map tool there would be an option list for the download map section where you could arbitrarily set the ground level 0 to any metric height you wish. That means, if you have a lake that's 12 meters above sea level you could force "12 meters" to be the zero ground level and anything below that would be zero. Pros: You get your lakes to proper height. Cons: you lose terrain information below that level. Not good for mountains.
  2. Adding an option to tilt the terrain: You could set the ground tilt so that the lake (or rivers) would be near correct by setting three points on the map to be on certain height level. That would create a slanted height map so that most of the lake or river is on correct terrain height. Pros: You get most of your lakes to correct height. Cons: the terrain height is sloped and not absolute but rather relative to nearby environment and slopes appear where they would not. Tedious to implement.

The backend code already has the ground level setting code (which was the source of the bug mentioned in this thread earlier) but the frontend currently has not means to set it or to signal it to the backend.

Also, if anyone wants to participate in coding this web app you're welcome.
Reply With Quote
  #7  
Old May 27th, 2016, 09:52 AM
Imp's Avatar

Imp Imp is offline
General
 
Join Date: Jul 2008
Location: Uk
Posts: 3,308
Thanks: 98
Thanked 602 Times in 476 Posts
Imp is on a distinguished road
Default Re: Height Maps

All terrain associated with water including marshes always creates a hex at a height just below zero, I have discovered no way round it.

Pavement also seems to lower hills by half a level.
Placed on level 3 it normally becomes a level 2.5 hex as an example.
__________________
John
Reply With Quote
  #8  
Old May 27th, 2016, 11:34 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Height Maps

All water terrain is level -1 and deeper. That has always been the way, its a design feature of the basic terrain code.
Reply With Quote
  #9  
Old June 27th, 2016, 02:12 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

Here, attached are the loops you must jump thru:
1) set fill range to 255
2) go to correct tool page and select the clear that keeps the height info
3) click fill button (no picture of this)
4) result.

Included in attachments are pictures of 1, 2 and 4 - and a resulting map I got from your map attachment.
Attached Thumbnails
Click image for larger version

Name:	fill_range.jpg
Views:	175
Size:	72.5 KB
ID:	14837   Click image for larger version

Name:	clear.jpg
Views:	174
Size:	72.8 KB
ID:	14840   Click image for larger version

Name:	ready.jpg
Views:	175
Size:	73.6 KB
ID:	14842  
Attached Files
File Type: zip spmap999.zip (82.2 KB, 164 views)
Reply With Quote
  #10  
Old June 27th, 2016, 02:57 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,488
Thanks: 3,957
Thanked 5,691 Times in 2,811 Posts
DRG will become famous soon enough
Default Re: Height Maps

Quote:
Originally Posted by dmnt View Post
Here, attached are the loops you must jump thru:
2) go to correct tool page and select the clear that keeps the height info
That's page 2 of the editor ( page 2 is the page the fill range button is NOT on ).......the page one clear gives you ground level grass, Page 2 clear follows the contours and on maps like this you won't know where the contours are until you flood the map with page 2 clear ( grass )

..and "fill range" could be any large number..... I usually type in 500

Don
Reply With Quote
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 11:52 PM.


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