View Single Post
Old 10-16-24, 12:49 PM   #8
Raistlen007
Bilge Rat
 
Join Date: Oct 2024
Posts: 1
Downloads: 5
Uploads: 0
Default

Quote:
Originally Posted by Sone7 View Post
In 2020 I'm still looking for an answer to the original question. Does anyone know where to change the mini-map's position?

When using the left panel's 'auto-hide' option on 1440p, the mini-map icon goes up screen, to the position mentioned above. I'd like to declutter my screen and this stands in the way Ideally, I would just want to move it higher, beyond 1440 pixels.

I know it's been years, and you probably aren't interested anymore, but, in case anyone else is wondering, I found how to hide the minimap icon when it's supposed to be hidden on a 1440p screen.


You need to modify Silent Hunter 5\data\Scripts\Menu\Page Default Hud.py


You modify this:


Code:
# Modified by TheDarkWraith
def CheckTAILocation( show ):
    PageDefaultHud_MapGroup.SnapFromAnchor.RestoreValues()
    if GetTAIEnabledInGame() and show:
        if GetEssentialControlsScroll() and FeedBackMode == FeedBackModes.Minimized:
            if PageDefaultHud_Feedback_BottomBar.Visible:
                PageDefaultHud_MapGroup.SnapFromAnchor.AnchorRelativeY = -1
            else:
                PageDefaultHud_MapGroup.SnapFromAnchor.AnchorRelativeY = 25#-200
        else:
            PageDefaultHud_MapGroup.SnapFromAnchor.AnchorRelativeY = -1
    else:
        PageDefaultHud_MapGroup.SnapFromAnchor.AnchorRelativeY = 25#-200
    PageDefaultHud_MapGroup.SnapFromAnchor.SetDependentPosition()
    PageDefaultHud_MapGroup.SnapChildZones()
Change the 25 to something higher. I changed mine to 50, and when you hide the TAI icon, it's no longer visible.


Hope this helps you or anyone else!
Raistlen007 is offline   Reply With Quote