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

This Month's Specials

BCT Commander- Save $7.00
World Supremacy- Save $10.00

   







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


Reply
 
Thread Tools Display Modes
  #311  
Old Today, 02:20 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,732
Thanks: 4,184
Thanked 5,988 Times in 2,934 Posts
DRG will become famous soon enough
Exclamation Re: Height Maps

Thanks. We'll see how that works, I just noticed that DL's a map was a "Go make coffee and a snack, this will be awhile" procedure for me but my internet connection might have been "fast" by standards a quarter century ago but not now.. OK for 95% of what I do though

Also why I was thinking the ability to make the map smaller would speed up the DL as not everyone want's to put a battle on the Gigantor maps


Don
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #312  
Old Today, 02:49 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is online now
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,453
Thanks: 106
Thanked 685 Times in 458 Posts
MarkSheppard is on a distinguished road
Default Re: Height Maps

If it wasn't for you, I would never have noticed this huge vulnerability that I created on my website. That's fixed now; and I'll be inspecting it closely for the next week.
Reply With Quote
The Following User Says Thank You to MarkSheppard For This Useful Post:
  #313  
Old Today, 03:17 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,732
Thanks: 4,184
Thanked 5,988 Times in 2,934 Posts
DRG will become famous soon enough
Exclamation Re: Height Maps

Quote:
Don't thank me, thank two events:

A.) You found Tuomas' github repo at [https://github.com/tvenhola/SPMBT-maps]. I was able to download the complete source and use that later on.

“Funny” story about that sequence of events.............

The post I made with that link to Github (I just reread that post #287 and it sound perfectly normal.) was made two days before I told my wife that “something’s not right” and we went to the closest hospital emergency just before 11am on Feb 18 / 2025.

We were told where to wait, We sat down and I remember someone walking to the nursing station then walking back to where they were sitting

That is the last memory I have until the morning of March 6 / 2025

16 days GONE.

My wife tells me she visited me and we had normal conversations for at least the first 4 days but I have NO memory of that at all

This was caused by a fall I had Jan 13 which I didn’t think twice about when it happen, I fell down and got up…… the lost part of that is how long I laid there before I got up. I *think* I got up right away but maybe not……IDK

“Bilateral Subdural hematoma”……… I can say with experience anyone reading this should avoid having it happen.

I *think* I am mosty, almost back to normal but I know I am not quite what I was before I slipped

The “funny” part of this story is if I had not gone to hospital EXACTLY when I did I would have gone on autopilot at 11am that morning no matter what and I would have had NO memory of anything that happened after 11am Feb 18 2025
Sometimes life is just sh*t luck.

But this and Andys ongoing eye issue is why the final MBT update **MIGHT** happen this year.......or not
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
The Following User Says Thank You to DRG For This Useful Post:
  #314  
Old Today, 03:48 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is online now
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,453
Thanks: 106
Thanked 685 Times in 458 Posts
MarkSheppard is on a distinguished road
Disk Re: Height Maps

Here's a map of the Volga approximately 130 km NW of Nizny Novogorod @ 57.37426538651651, 42.86519119375884 generated by my current Webhola code and saved in the Extended Map.

It's currently bare, no trees; goes into the 999 slot.
Attached Files
File Type: zip VolgaNiznyNovogorod.zip (38.4 KB, 1 views)
Reply With Quote
The Following User Says Thank You to MarkSheppard For This Useful Post:
  #315  
Old Today, 03:48 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,732
Thanks: 4,184
Thanked 5,988 Times in 2,934 Posts
DRG will become famous soon enough
Default Re: Height Maps

Just gererated another map. Should have timed it but it took awhile. The next try I will time it

BUT the result was an excellent contour map as good as the original Venhola program

__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #316  
Old Today, 04:27 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is online now
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,453
Thanks: 106
Thanked 685 Times in 458 Posts
MarkSheppard is on a distinguished road
Disk Re: Height Maps

I have a working method now that doesn't require a server that's vulnerable to attacks/whatever happened with my website (generalstaff).

Problem: You need to do a few more clicks to get a map.

Bonus: You can save DEM tiles offline and collect them; so you don't need to waste time downloading over and over; especially if you're making a series of maps -- each downloaded tile covers about 5000 km2.

https://generalstaff.org/Games/Webho...hola_v2-4.html
(new URL)

Same workflow as before; mouse around/find/lookup an interesting area.

NEW FEATURE: You can now paste a Google Maps right click lat/long coordinate (57.37426538651651, 42.86519119375884) into the search box and jump there directly.

To get a map:

1.) Select target dataset (default 30m Copernicus), options are:

30m Copernicus — primary, best quality, can be stored offline, big tiles (30~ MB)

90m Copernicus — secondary, good quality, can be stored offline, small tiles (3~ MB)

90m SRTM via open-elevation — emergency fallback only, coverage limited to 56°S–60°N. You need an internet connection to D/L these.

2.) Click the new 🗺 Tiles button.

It'll bring up a popup window telling you how many tiles you need to download (and their estimated filesizes); plus a download link button to download them.

Download them (they end up in your \Downloads directory)

Once they're finished downloading, click on the "LOAD .TIF FILES" button.

Simply select all the TIF files in that directory; I've got a filename search that rejects all files that aren't needed; the status window will go something like:

Scanned 10 files — skipped 0 non-tile, 8 not needed for current map area.

Loading tile N57_00_E042_00 (1/1)…

✓ Tile N57_00_E042_00 ready (30.2 MB)


BIG NOTE: Keep your downloaded 90m Copernicus / 30m Copernicus elevation tiles in separate directories, mixups between tiles and the format selected can cause elevation data corruption; simply F5 and reload the webpage if this happens.

There's a button labeled ANALYZE TILES that will extract the elevation data from them; plus a new checkbox:

Dual-thread Decode (Faster on multi-core)

As an option to speed up computation during ANALYZE TILES.

NEW FEATURE -- Sea Level Offset.

I discovered the need for this feature while trying to make a map at 57.37426538651651, 42.86519119375884

This area is the Volga River about 130 km NW of Nizny Novogorod.

The Sea Level Offset feature hides in the ⚙ button above the elevation preview.

Mousing over the Volga river reveals that it's height is 84~ metres. We enter that into the Sea Level Offset input box; and turn on the Coastline 🌊 mode.

A bit too high; adjust to 85m sea level offset; and we now have a nice clean "super river".

As before, once you're done; hit "⬇ D/L Map" which will download:

JSON with all settings + elevation data (.json)
SPCAMO Map File (.dat)
SPCAMO Map Description File (.txt)

EDIT: If you're doing deep inland stuff, you'll have to adjust the elevation to get an accurate map.

For example, to get a good map at 56.862112, 27.815323 (Russian/Latvian Border); I had to make a note that the elevation range was 80m – 133m in the upper right status window; and then make the elevation offset 80m. It's a little bit more work to do.
Attached Thumbnails
Click image for larger version

Name:	SuperRiver.jpg
Views:	4
Size:	59.1 KB
ID:	17273  
Reply With Quote
  #317  
Old Today, 06:09 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,732
Thanks: 4,184
Thanked 5,988 Times in 2,934 Posts
DRG will become famous soon enough
Default Re: Height Maps

Followed the directions and created a map though it might take a few goes at it to cement this in my memory
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #318  
Old Today, 07:07 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is online now
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,453
Thanks: 106
Thanked 685 Times in 458 Posts
MarkSheppard is on a distinguished road
Default Re: Height Maps

I've made a potential EXPERIMENTAL map label editor -- it's still in early test, but you'll now be able to copy your label annotations from the contour map creator's output TXT file:

Quote:
(92,44) B5
(96,37) B4
(96,49) B6
(98,56) B7
(98,65) B8
(101,90) B11
(102,19) B3
(105,72) B9
(105,78) B10
(108,14) B2
(110,95) B12
(111,1) B1
(124,96) B13
(127,102) B14
(131,110) B15
(134,119) B16
(136,129) B17
(148,131) B18
(159,134) B19
And it writes it into the map file at those locations.

I've also tested it's ability to inject new labels into existing maps via specifying a hexlocation and string.

It appears to work.

This would considerably simplify laying out such things as railroad lines, roads, rivers, etc.
Reply With Quote
  #319  
Old Today, 07:27 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is online now
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,453
Thanks: 106
Thanked 685 Times in 458 Posts
MarkSheppard is on a distinguished road
Default Re: Height Maps

One more thing I just realized I could do is add the ability to upload an image file and then drag it around and rescale it until it fits the terrain.

For example, Army Map Service produced a lot of WW2 era maps:

https://maps.lib.utexas.edu/maps/ams/index.html

Italy Map Series

https://maps.lib.utexas.edu/maps/ams/italy_25k/

in particular:

(37.06644, 14.25024)
Gela Sheet 272-II SW, 1:25,000 (5.1 MB)
https://maps.lib.utexas.edu/maps/ams...-272-ii-sw.jpg

This way, you could combine modern DEM maps with WWII era maps to get a relatively accurate rendition of Gela, circa May 1943; via placing labels on the map; which you then use in the SPCAMO map editor as references.


Last edited by MarkSheppard; Today at 07:39 PM..
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 08:00 PM.


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