diff --git a/Northstar.Client/mod.json b/Northstar.Client/mod.json index 44937a2b0..0310b7230 100644 --- a/Northstar.Client/mod.json +++ b/Northstar.Client/mod.json @@ -46,6 +46,10 @@ "Name": "modlist_reverse", "DefaultValue": "0", "Flags": "ARCHIVE_PLAYERPROFILE" + }, + { + "Name": "menu_show_promos", + "DefaultValue": "1" } ], "Scripts": [ diff --git a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut index 2f1bcf025..e4b7db794 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut @@ -137,7 +137,8 @@ void function InitMainMenuPanel() //AddPanelFooterOption( file.panel, BUTTON_BACK, "", "", ClosePostGameMenu ) thread TrackInstallProgress() - UpdateCustomMainMenuPromos() + if ( GetConVarBool( "menu_show_promos" ) ) + UpdateCustomMainMenuPromos() } void function OnShowMainMenuPanel() diff --git a/Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut b/Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut index 5a7d80b76..0515360a1 100644 --- a/Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/ui/ns_custom_mod_settings.gnut @@ -5,4 +5,7 @@ void function NSCustomModSettings() ModSettings_AddModTitle( "Northstar Custom" , 2 ) ModSettings_AddModCategory( "Event Models" ) ModSettings_AddEnumSetting( "ns_show_event_models", "Show Event Models", [ "#SETTING_OFF", "#SETTING_ON" ], 2 ) + + ModSettings_AddModCategory( "Menu Promos" ) + ModSettings_AddEnumSetting( "menu_show_promos", "Show Main Menu Promos (requires mod reloading)", [ "#SETTING_OFF", "#SETTING_ON" ], 2 ) }