diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-17 22:30:11 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-17 22:30:11 +0100 |
commit | d37c5ae333b4e622ebd0d18cf02a87d66aac62f9 (patch) | |
tree | 447a4b149a21264a3bdcc5737c86621a482a2ce1 /Northstar.Client/mod | |
parent | 0f71d94b6c968ddb34ec611d898cceea02638f99 (diff) | |
download | NorthstarMods-d37c5ae333b4e622ebd0d18cf02a87d66aac62f9.tar.gz NorthstarMods-d37c5ae333b4e622ebd0d18cf02a87d66aac62f9.zip |
unsure why these didn't get pushed in last commit
Diffstat (limited to 'Northstar.Client/mod')
-rw-r--r-- | Northstar.Client/mod/resource/northstar_client_localisation_english.txt | bin | 16714 -> 16794 bytes | |||
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut | 34 | ||||
-rw-r--r-- | Northstar.Client/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 Binary files differindex ede68b36..e405cbcd 100644 --- a/Northstar.Client/mod/resource/northstar_client_localisation_english.txt +++ b/Northstar.Client/mod/resource/northstar_client_localisation_english.txt 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" ) |