Quote:
Originally Posted by de vliegende hollander
i have installed NewUIs_TDC_1_0_0_By The DarkWraith
but i get always this message
who can help me solve this problem ?
grt henk
|
ok, found the problem. Boy it was a good one

In short, there's a possibility that a variable of mine can be set to 'None'. This variable is used to set the FeedBackMode of the mini-map. The FeedBackMode uses an enumeration for it's possible states (0, 1, and 2). Obviously 'None' is not one of those states

I set it to None to denote that the mini-map doesn't need to be restored (it was minimized when you entered into another station already). I've fixed the bug for the next release but if you want to fix it with the current versions you already have then you need to edit the \data\Scripts\Menu\Page Default Hud.py file. Edit this section of code adding the Red text (note: the code shown is a part of the function, it's not the complete function. The second red text line just needs to be indented as it's already in the function):
Code:
def Menu_PageDeactivated( page ):
from Pagecaptainlog import Pagecaptainlog
PageDefaultHud_MenuGroup_QuickAccess_CaptainPanel.SetCheck( Pagecaptainlog.Visible, False )
#
from Pagenavigationmap import Pagenavigationmap
if page == Pagenavigationmap:
# Modified by TheDarkWraith
#SetFeedBackMode( FeedBackModes.TAI, Instant.No )
global MapModeWhenForcedMinimized
if MapModeWhenForcedMinimized != None:
SetFeedBackMode( MapModeWhenForcedMinimized, Instant.No )
SetVisibleHudComponentsForGameState()
PageDefaultHud_MenuGroup_QuickAccess_NavigationMap.SetCheck( False, False )
bug will be history
here is a link to an updated v1.1.0 Page Default Hud.py file if you don't want to edit yours:
http://www.filefront.com/15972167/Page-Default-Hud.py/