Skip to content

Commit d643a19

Browse files
committed
Specify map sizes for 1024x512
In case a map of the wrong dimensions is used,
1 parent f14d66b commit d643a19

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

GameData/MOARdV/MFD/MFD2_Orbit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ MAS_PAGE
324324
name = Kerbin Map
325325
texture = ASET/ASET_Props/Instruments/ASET_IMP/map_Kerbin_sat
326326
position = 0, 432
327+
size = 1024, 512
327328
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
328329
variable = fc.BodyIsHome(fc.CurrentBodyIndex()) * (1.0 - fc.GetPersistentAsNumber("%AUTOID%-OrbitDisplayMode"))
329330
}
@@ -332,6 +333,7 @@ MAS_PAGE
332333
name = Mun Map
333334
texture = MOARdV/MFD/map_Mun_sat
334335
position = 0, 432
336+
size = 1024, 512
335337
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
336338
variable = fc.Select(fc.CurrentBodyIndex() == fc.BodyIndex("Mun"), 1.0 - fc.GetPersistentAsNumber("%AUTOID%-OrbitDisplayMode"), 0)
337339
}
@@ -340,6 +342,7 @@ MAS_PAGE
340342
name = Minmus Map
341343
texture = MOARdV/MFD/map_Minmus_sat
342344
position = 0, 432
345+
size = 1024, 512
343346
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
344347
variable = fc.Select(fc.CurrentBodyIndex() == fc.BodyIndex("Minmus"), 1.0 - fc.GetPersistentAsNumber("%AUTOID%-OrbitDisplayMode"), 0)
345348
}

GameData/MOARdV/MFD/MFD2_PreLaunch.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ MAS_PAGE
4949
name = Kerbin Map
5050
texture = ASET/ASET_Props/Instruments/ASET_IMP/map_Kerbin_sat
5151
position = 0, 256
52+
size = 1024, 512
5253
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
5354
variable = fc.BodyIsHome(fc.CurrentBodyIndex())
5455
}
@@ -57,6 +58,7 @@ MAS_PAGE
5758
name = Mun Map
5859
texture = MOARdV/MFD/map_Mun_sat
5960
position = 0, 256
61+
size = 1024, 512
6062
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
6163
variable = fc.CurrentBodyIndex() == fc.BodyIndex("Mun")
6264
}
@@ -65,6 +67,7 @@ MAS_PAGE
6567
name = Minmus Map
6668
texture = MOARdV/MFD/map_Minmus_sat
6769
position = 0, 256
70+
size = 1024, 512
6871
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
6972
variable = fc.CurrentBodyIndex() == fc.BodyIndex("Minmus")
7073
}

GameData/MOARdV/MFD/SubPage_Common.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ MAS_SUB_PAGE
474474
name = Kerbin Map
475475
texture = ASET/ASET_Props/Instruments/ASET_IMP/map_Kerbin_sat
476476
position = 0, 0
477+
size = 1024, 512
477478
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
478479
variable = fc.BodyIsHome(fc.CurrentBodyIndex())
479480
}
@@ -482,6 +483,7 @@ MAS_SUB_PAGE
482483
name = Mun Map
483484
texture = MOARdV/MFD/map_Mun_sat
484485
position = 0, 0
486+
size = 1024, 512
485487
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
486488
variable = fc.CurrentBodyIndex() == fc.BodyIndex("Mun")
487489
}
@@ -490,6 +492,7 @@ MAS_SUB_PAGE
490492
name = Minmus Map
491493
texture = MOARdV/MFD/map_Minmus_sat
492494
position = 0, 0
495+
size = 1024, 512
493496
uvShift = fc.Remap(fc.Longitude(), -180, 180, -0.5, 0.5), 0
494497
variable = fc.CurrentBodyIndex() == fc.BodyIndex("Minmus")
495498
}

0 commit comments

Comments
 (0)