![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#9 |
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,280
Downloads: 258
Uploads: 30
|
![]()
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 ![]() 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. ![]() 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 Last edited by reaper7; 05-28-10 at 03:38 PM. |
![]() |
![]() |
|
|