SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [Req] Kriegsmarine Grid (https://www.subsim.com/radioroom/showthread.php?t=170261)

Krauter 05-27-10 09:32 PM

[Req] Kriegsmarine Grid
 
Im surprised no one has asked for this yet but would one of you mods be willing to make us a kriegsmarine grid map instead of the longitude latitude map we have now?

kylania 05-27-10 09:35 PM

It's been asked for quite a few times actually. I think I've seen one somewhere, but it was just a screenshot. Think it was from a German mod maybe?

Krauter 05-27-10 09:53 PM

Aaah my bad I mustve missed it :(

SteelViking 05-28-10 12:14 AM

I just ran a search for "map" but cannot find any file with "map" in the name that is the actual navigation map. If I find it, or if someone could point me to it, I would try to add a grid to it.....key word being "try".

Edit: I may have found the files, but they are .raw format, and I don't have a converter.

TheDarkWraith 05-28-10 07:05 AM

Quote:

Originally Posted by SteelViking (Post 1405248)
I just ran a search for "map" but cannot find any file with "map" in the name that is the actual navigation map. If I find it, or if someone could point me to it, I would try to add a grid to it.....key word being "try".

Edit: I may have found the files, but they are .raw format, and I don't have a converter.

photoshop can open .raw files

SteelViking 05-28-10 10:57 AM

Quote:

Originally Posted by TheDarkWraith (Post 1405407)
photoshop can open .raw files

I don't have photo shop, I use GIMP to do image editing......yeah I am cheap:O:

TDW do you have photoshop? Could you, or anyone who does have photoshop, do me a favor and open up SilentHunter5/data/Terrain/Maps/Map1/4320_2160.raw

And tell me if it is the main navigation map.

TheDarkWraith 05-28-10 11:05 AM

Quote:

Originally Posted by SteelViking (Post 1405586)
I don't have photo shop, I use GIMP to do image editing......yeah I am cheap:O:

TDW do you have photoshop? Could you, or anyone who does have photoshop, do me a favor and open up SilentHunter5/data/Terrain/Maps/Map1/4320_2160.raw

And tell me if it is the main navigation map.

Here's what it looks like in CS4:
http://www.subsim.com/radioroom/pict...pictureid=2154

SteelViking 05-28-10 11:22 AM

Ok, thanks TDW. Hmmm, what that looks like, is the image the game would follow to render land in game and maybe the ocean bottom as well. I could easily be wrong though. I will check the page.ini files for the map and see if there are any references I can actually open.:doh:

Edit: No luck with page.ini for the map, I have already checked every file reference in it......now this is starting to bug me......

reaper7 05-28-10 03:19 PM

Its a waste of time Lads, tried it long ago editing the raw map1 and raw map2.

While you can place lines and stuff on the Map. In game its scalled up while zooming so by the time you get to sub level your 1 pixel line is almost a mile wide :nope:.
Also it suffers from the same problem as the TAI map where it is only displays at certain zoom levels. I have edited the display single item at zoom levels but it has no effect in game via the terrain.cfg file strange as editing the zoom levels in the same file works. :damn:

Tarrain.cfg

Code:

[TerrainMaps]
MapsNo=3
InitialZoom=40000
 
[Map1]
Format=raw
Resolution=4320,2160,10000; map width,height(in pixels) and density(meters per pixel)
ZoomLevels=40000,20000,10000,4000; meters per pixel
Tiles=1,1
File=data\Terrain\Maps\Map1\4320_2160.raw
[Map2]
Format=raw
;Format=rle
Resolution=21600,10800,2000; map width,height(in pixels) and density(meters per pixel)
ZoomLevels=2000,1000,500; meters per pixel
;Tiles=1,1
Tiles=9,18
File=data\Terrain\Maps\Map2\21600_10800.raw
;File=data\Terrain\Maps\Map2\Tile_%03d_%03d.rl
[Map3]
Format=data
Resolution=216000,108000,200; map width,height(in pixels) and density(meters per pixel)
;ZoomLevels=200,100,50,20,10,5,2,1; meters per pixel
ZoomLevels=200,100,50,20,10,4,2,1; meters per pixel
InitialZoom=10
SymbolZoom=20;units are drawn as symbols from this zoom up
Tiles=360,180


If you notice map3 is Data type not Raw :
[Map3]
Format=data
This is the zoom levels used in the Map and the TAI Map and is hardcoded so any changes to the cfg file are ignored regarding the dispaly of the symbol zoom (Sub icon at very close zoom levels). Taken from the Maps.cfg

Code:

[MAPS]
MapsNb=2
;materials
Mat0=0x09,0x0B;default
Mat1=0x09,0x0B,data/menu/gui/ContLine.tga
Mat2=0x09,0x0B,data/menu/gui/DashLine.tga
Mat3=0x09,0x0B,data/menu/gui/Degrees.tga
Mat4=0x3B,0x0B,data/menu/gui/Units/Torp.tga
Mat5=0x3B,0x0B,data/menu/gui/Units/Selection.tga
Mat6=0x3B,0x0B,data/menu/gui/Units/ShipDestroyed.tga
Mat7=0x3B,0x0B,data/menu/gui/Units/AirDestroyed.tga
Mat8=0x3B,0x0B,data/menu/gui/Units/City.tga
Mat9=0x3B,0x0B,data/menu/gui/Units/Important.tga
Mat10=0x09,0x0B,data/menu/gui/DashLine2.tga
;units military symbols
;MatSymbXY where X digit means the type of the unit/convoy and Y digit is the size of the convoy (0 for small, 1 for medium and 2 for large)
MatSymb00=0x3B,0x0B,data/menu/gui/Units/UnitWShip.tga
MatSymb01=0x3B,0x0B,data/menu/gui/Units/UnitWShip.tga
MatSymb02=0x3B,0x0B,data/menu/gui/Units/UnitWShipM.tga
MatSymb03=0x3B,0x0B,data/menu/gui/Units/UnitWShipL.tga
MatSymb10=0x3B,0x0B,data/menu/gui/Units/UnitMShip.tga
MatSymb11=0x3B,0x0B,data/menu/gui/Units/UnitMShip.tga
MatSymb12=0x3B,0x0B,data/menu/gui/Units/UnitMShipM.tga
MatSymb13=0x3B,0x0B,data/menu/gui/Units/UnitMShipL.tga
MatSymb20=0x3B,0x0B,data/menu/gui/Units/UnitSub.tga
MatSymb21=0x3B,0x0B,data/menu/gui/Units/UnitSub.tga
MatSymb22=0x3B,0x0B,data/menu/gui/Units/UnitSubM.tga
MatSymb23=0x3B,0x0B,data/menu/gui/Units/UnitSubL.tga
MatSymb30=0x3B,0x0B,data/menu/gui/Units/UnitAir.tga
MatSymb31=0x3B,0x0B,data/menu/gui/Units/UnitAir.tga
MatSymb32=0x3B,0x0B,data/menu/gui/Units/UnitAirM.tga
MatSymb33=0x3B,0x0B,data/menu/gui/Units/UnitAirL.tga
MatSymb40=0x3B,0x0B,data/menu/gui/Units/UnitLand.tga
MatSymb41=0x3B,0x0B,data/menu/gui/Units/UnitLand.tga
MatSymb42=0x3B,0x0B,data/menu/gui/Units/UnitLandM.tga
MatSymb43=0x3B,0x0B,data/menu/gui/Units/UnitLandL.tga
;A map is represented using a measure unit
;Position is relatively to left,top corner (in pixels)
;Resolution is the whole dimension of the map (in pixels)
;A map is divided in major squares and each major square is divided also in minor squares. A minor square has 1x1 units
;Effective map will have, on each axe, MajorSqr*MinorSqr*PixPerUnit; the rest is considered map border
;ZoomLevels are given in meters per unit
[Map0]
MapID=Navigation_map
Position=0,0
Resolution=1024,768
MajorSqrs=4,3
MinorSqrs=5,5
PixPerUnit=50
ZoomLevels=1,2,5,10,20,50,100,200,500,1000,2000,4000,10000,20000;,40000; meters per pixel;must match zoom levels in data\Terrain\TerMaps.cfg
InitialZoom=200
SymbolZoom=6;units are drawn as symbols from this zoom up
GroupsZoom=100;units are drawn in groups from this zoom up
CityZoomLow=1000;low priority city names are displayed from this zoom down
CityZoomMedium=4000;medium priority city names are displayed from this zoom down
KriegZoom=2000;krieg labels are separated displayed from this zoom up
HarborZoom=50;harbors will be displayed from this zoom up
PreloadTerrainShapes=True
[Map1]
MapID=Tactical_map
Position=0,0
Resolution=100,100
MajorSqrs=4,3
MinorSqrs=5,5
PixPerUnit=50
ZoomLevels=1,2,3,6,10,17,28,48; meters per pixel;must match zoom levels in data\Terrain\TerMaps.cfg
InitialZoom=500
SymbolZoom=6;units are drawn as symbols from this zoom up
GroupsZoom=200;units are drawn in groups from this zoom up
CityZoomLow=4000;low priority city names are displayed from this zoom down
CityZoomMedium=4000;medium priority city names are displayed from this zoom down
KriegZoom=2000;krieg labels are separated displayed from this zoom up
HarborZoom=500;harbors will be displayed from this zoom up
PreloadTerrainShapes=False 

I chanded the value from 4 to 6 with no effect, 4 was stock.

SteelViking 05-28-10 03:31 PM

Quote:

Originally Posted by reaper7 (Post 1405730)
Its a waste of time Lads, tried it long ago editing the raw map1 and raw map2.

While you can place lines and stuff on the Map. In game its scalled up while zooming so by the time you get to sub level your 1 pixel line is almost a mile wide :nope:.
Also it suffers from the same problem as the TAI map where it is only displaes at certain zoom levels. I have edited the display single item at zoom levels but it has no effect in game via the terrain.cfg file strange as editing the zoom levels in the same file works. :damn:

Ahh, so those are the correct files for the navmap......Man they look weird. Thanks for the heads-up reaper7. I won't waste anymore time on this. I really wish we could get a grid though.:wah:
:hmmm:
I have an idea though, reaper7, you did the colored shipping chart. Why not just make a "pull down" map like it, only have it be a grid map. Then you could at least look at it and figure out which grid you were in. That would be a godsend to our comrades who like to report their current patrol information. And I don't imagine that it would be that hard to pull off, maybe I could do the image work for you, add a compass rose, a distance scale, etc........just an idea

reaper7 05-28-10 03:40 PM

Quote:

Originally Posted by SteelViking (Post 1405735)
Ahh, so those are the correct files for the navmap......Man they look weird. Thanks for the heads-up reaper7. I won't waste anymore time on this. I really wish we could get a grid though.:wah:
:hmmm:
I have an idea though, reaper7, you did the colored shipping chart. Why not just make a "pull down" map like it, only have it be a grid map. Then you could at least look at it and figure out which grid you were in. That would be a godsend to our comrades who like to report their current patrol information. And I don't imagine that it would be that hard to pull off, maybe I could do the image work for you, add a compass rose, a distance scale, etc........just an idea

Re-Edited the above post as forgot to mention the maps.cfg.

If someone could supply a good grid map for reference I could knock one up. :03:

Fincuan 05-28-10 03:45 PM

FYI no need to have PS to open .raws, GIMP can do it just fine. I don't remember whether a plugin is needed or not, but it definitely works.

SteelViking 05-28-10 03:48 PM

Quote:

Originally Posted by Fincuan (Post 1405743)
FYI no need to have PS to open .raws, GIMP can do it just fine. I don't remember whether a plugin is needed or not, but it definitely works.

Nope, I can't open the files in question with GIMP. And, I tried all the plugins available that say they work for .raw, but they seem to be bogus. Perhaps I am loading them wrong, but I have loaded several plugins before and they work fine.

reaper7, I will look for a good grid map, oh and, I need an answer to my question on the HiRes thread. Thanks

Edit: Ok, so it does not look good, I realized as I was looking at grid maps, that the numbered boxes will be so small, that you would never be able to read them. Could at least look at what lettered grid you are in though.

reaper7 05-28-10 04:47 PM

Quote:

Originally Posted by SteelViking (Post 1405744)
Nope, I can't open the files in question with GIMP. And, I tried all the plugins available that say they work for .raw, but they seem to be bogus. Perhaps I am loading them wrong, but I have loaded several plugins before and they work fine.

reaper7, I will look for a good grid map, oh and, I need an answer to my question on the HiRes thread. Thanks

Edit: Ok, so it does not look good, I realized as I was looking at grid maps, that the numbered boxes will be so small, that you would never be able to read them. Could at least look at what lettered grid you are in though.

If anyone has a good quality grid map, send it my way and I'll see what I can do - there are other avenues to look into to get it into the game.

At worst case I could map a Grid Map book that the user could could use like a Atlas, fliping back and forth between the pages - this could be draggable like the Shipping chart.

SteelViking 05-28-10 05:20 PM

Quote:

Originally Posted by reaper7 (Post 1405792)
If anyone has a good quality grid map, send it my way and I'll see what I can do - there are other avenues to look into to get it into the game.

At worst case I could map a Grid Map book that the user could could use like a Atlas, fliping back and forth between the pages - this could be draggable like the Shipping chart.

I found a pretty good scan of an original chart. However, there are better out there I am sure. I am attempting to clean it up right now to make it look better. This is not good enough quality yet to make a flip book out of it. Maybe someone should make a request thread for a good one?

Edit: reaper7 if you want the one I have, I am making really good progress in cleaning it up even further, the only thing I don't like about it is that the grid lines are green. That just seems weird to me, but it is a scan of a historical map.


All times are GMT -5. The time now is 05:27 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.