From d37c5ae333b4e622ebd0d18cf02a87d66aac62f9 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Sun, 17 Oct 2021 22:30:11 +0100 Subject: unsure why these didn't get pushed in last commit --- .../northstar_client_localisation_english.txt | Bin 16714 -> 16794 bytes .../mod/scripts/vscripts/ui/menu_main.nut | 34 +++++++++++---------- .../mod/scripts/vscripts/ui/panel_mainmenu.nut | 5 --- 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a/Northstar.Client/mod/resource/northstar_client_localisation_english.txt b/Northstar.Client/mod/resource/northstar_client_localisation_english.txt index ede68b36..e405cbcd 100644 Binary files a/Northstar.Client/mod/resource/northstar_client_localisation_english.txt and b/Northstar.Client/mod/resource/northstar_client_localisation_english.txt differ diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut index 9a40f788..c6ef5f3a 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut @@ -599,22 +599,24 @@ void function DoGameNeedsToInstallDialog() void function UpdateTrialLabel() { - bool isTrialVersion - bool lastIsTrialVersion = Script_IsRunningTrialVersion() - - Hud_SetVisible( file.trialLabel, lastIsTrialVersion ) - - while ( GetTopNonDialogMenu() == file.menu ) - { - isTrialVersion = Script_IsRunningTrialVersion() - - if ( isTrialVersion != lastIsTrialVersion ) - Hud_SetVisible( file.trialLabel, isTrialVersion ) - - lastIsTrialVersion = isTrialVersion - - WaitFrame() - } + //bool isTrialVersion + //bool lastIsTrialVersion = Script_IsRunningTrialVersion() + + Hud_SetColor( file.trialLabel, 101, 109, 207, 255 ) + Hud_SetText( file.trialLabel, "+ NORTHSTAR" ) + Hud_SetVisible( file.trialLabel, true ) + + //while ( GetTopNonDialogMenu() == file.menu ) + //{ + // isTrialVersion = Script_IsRunningTrialVersion() + // + // if ( isTrialVersion != lastIsTrialVersion ) + // Hud_SetVisible( file.trialLabel, isTrialVersion ) + // + // lastIsTrialVersion = isTrialVersion + // + // WaitFrame() + //} } void function OpenSinglePlayerDevMenu( var button ) diff --git a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut index d42a2331..2eafa373 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut @@ -32,11 +32,6 @@ const DEBUG_PERMISSIONS = false void function InitMainMenuPanel() { - // disable communities because of the cool openinvite exploit (not required anymore but keeping here anyway - SetConVarBool( "communities_enabled", false ) - SetConVarString( "communities_hostname", "localhost" ) - - RegisterSignal( "EndShowMainMenuPanel" ) file.panel = GetPanel( "MainMenuPanel" ) -- cgit v1.2.3