aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts/ui
AgeCommit message (Collapse)Author
2024-01-09Fix mod reloading for MAD (#780)Maya
Use the proper function instead of NSReloadMods on join
2023-12-20Add missing server browser localisation for `WRONG_MOD_VERSION` (#710)v1.21.2-rc3v1.21.2Jack
2023-12-14Mod download UI integration (#761)v1.21.0-rc2v1.21.0Rémy Raes
UI integration for the mod downloading feature. Feature activation locked behind a convar.
2023-11-05Remove "Launch Multiplayer" button (#719)Jack
As currently Northstar does not support launching into vanilla.
2023-10-12Fix INVALID_REF errors caused by mods (#657)v1.19.8-rc1v1.19.8v1.19.7-rc1v1.19.7Jack
`INVALID_REF` errors were being caused by trying to get the item image for weapon skins. If a mod (e.g. moreskins) added new skins, the client equipped one, and then the mod is disabled, the client now has bad persistence. This is mostly handled fine by the game, except for weapon skins. This PR prevents the crash, and resets the bad persistence to default.
2023-10-12Add menu_pilot_loadouts_shared.nut from englishclient_frontendRespawn
2023-10-12Add menu_edit_pilot_loadouts.nut from englishclient_frontendRespawn
2023-10-10Remove unnecessary convars (#530)v1.19.6-rc2v1.19.6BobTheBob
Removes some convars we don't need at all
2023-10-07Display origin auth failure in a dialog (#648)v1.19.5-rc1v1.19.5Jack
Currently, we don't do anything with origin auth failure, meaning the next request just fails, and we get not particularly relevant error messages (player not found, invalid masterserver token)
2023-10-04Remove annoying recurring print from `chatroom.nut` (#676)v1.19.4-rc1JMM889901
Commented out instead of fully removing
2023-10-04Add chatroom.nut from englishclient_frontendRespawn
2023-10-04Fix integer functionality for modsettings (#718)EnderBoy9217
Add missing break statement
2023-09-02Changed TriggerConnectToServerCallbacks to take in an optional server for ↵Klemmbaustein
which the callback was triggered (#688) What's the point of this
2023-09-02Progression system (#655)Jack
This also can't hurt right? --------- Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
2023-06-27disable RequiredOnClient mods properly (#658)Jack
* disable RequiredOnClient mods properly * better disabling logic
2023-05-24Add Mod Settings (#518)EladNLG
* Add Mod Settings * Make rounding optional * Add recursive search * too much shit Add custom buttons, expand menu further, sanitize display names, cleanup, add more descriptive errors and throw them early, rework slightly func params * Remove Test Stuff * Clean-Up * Revert mod version change * Replace GetIndex with PureModulo better, more understandable version of the function. * Fix Slider bug * Fix Localization * Add eject quotes (#527) * Upload cl_titan_cockpit.nut * Add eject string in script * Moved to client * index issue + removed else so always returns * Apply suggestions from code review Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Rest of the suggestions because github makes me want to cry * Commit suggestions from review GitHub really hates batching suggestions Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update localization * Update Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut From ASpoonPlaysGames Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.Client/mod.json From ASpoonPlaysames Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.Client/mod/scripts/vscripts/ui/menu_mod_settings.nut From ASpoonPlaysGames Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Delete cl_titan_cockpit.nut * Apply suggestions from Spoon's code review Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Formatting for ModSettings + Remove Base Northstar Settings (#1) * fix formatting * add newline * formatting part 1 * formatting part 2 * formatting again Co-authored-by: EladNLG <e1lad8955@gmail.com> * reset vmt (#2) * reset vmt * formatting * more formatting * Fixes, color modification * Fix Image behind button & make image clickable using a hack because imagepanels don't get click events and i hate them * Formatting Fixes The First * Apply suggestions from Spoon's review Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Formatting Fixes The Second * Fix reset popup appearing when not clicking on button * Fix only being able to type 1 char at a time * Fix more bugs - never being able to get out of modsettings dialogs - setting duplication glitch * Fix alignment * add no results/mods (need localization) * he forgor :( make addmodsettingsbutton global Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> * Clean up (thanks @uniboi) Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> * forgot to add this too Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> * Mod settings submenus (#4) * allow for submenu closing * hide reset vgui on buttons * My code got GECKO'd gecko suggestions Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> * uniboi fixing his own mistakes moment + more prints removed (thanks @uniboi) Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> * aaaaaaaa Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> * rename ms_slider * add a newline * add temporary aliases * fix aliases and localization * update button width for categories * fix resets accessing out of bounds index * allow unicode search * use correct index variable * update function names --------- Co-authored-by: JMM889901 <41163714+JMM889901@users.noreply.github.com> Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Co-authored-by: uniboi <plurals@autism.exposed> Co-authored-by: uniboi <kami.0.katze@gmail.com>
2023-05-04Fix serverbrowser filtering by gamemode (#639)v1.14.1-rc1v1.14.1Jack
2023-05-01Add Bounty Hunt (#634)v1.14.0-rc1v1.14.0F1F7Y
* Unlock bountyhunt in mode select menu * Initial push * Go through bank functions * Bug spotting * dissolve droppods faster * better camp hack solution * Revert wave start to 1st wave * Small formatting cleanup * Limit score to max playlist allows * Try to make ai camps work * Potentially fix winner not being set * metal pipe falling sound effect * Acteally document change * Better fix for match not properly ending * Add MVP dialogue (#631) * MVP dialogue and small audio fix * maybe better AI movement * revert accidental change * Remove comment about a already fixed issue * Revert froce assault point waitsignal * Don't reward player for ejecting * Don't reward for killing player npc titan * Don't allow titans to run banking thread * Bored npcs cleanup logic * Remove lefover whitespace changes * Metal pipe falling sound 2x * One day my brain will start properly functioning * Include reapers in bored check * Add bored check to other droppod func * Revert testing change * Fix typo * Remove debug prints * Debug log stuck AI for future navmesh debugging Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Fix formatting * [BH] Lock scores after game end (#635) * stop awarding score after game is ended --------- Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com> Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
2023-04-27Use structs in the server browser (#623)uniboi
* move to native structs * add connect callbacks * update native functions register * trigger callbacks on double click * use suggestions
2023-04-21Improve server connection error messages (#598)pg9182
* Also show masterserver error for server connections It's already used for self auth and is available for both, but we currently only show it for the former. * Don't localize server connection errors It never fully worked, and it's more useful to have non-localized detailed error messages. * Don't prepend NS_SERVERBROWSER_CONNECTIONFAILED to server conn err msg The message always contains something like it, and it's always right after a connectiom anyways. * NSGetAuthFailReason always returns a string, so don't make it untyped
2023-04-11New presence code for plugins v2 (#532)Emma Miler
* test * Update cl_presence.nut * Update Northstar.Client/mod/scripts/vscripts/presence/ui_presence.nut * Apply suggestions from code review * New scripts * fix playlist and add native funcs to build * remove snake cases from GameStateStruct * I forgor --------- Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2023-04-05Add menu_ingame.nut from englishclient_frontendRespawn
2023-03-08Add _menus.nut from englishclient_frontendRespawn
2022-12-04Display server region in serverbrowser (#479)GeckoEidechse
* Replace latency column with region in serverbrowser * Add English and German localisation * Mark remaining localisations as TODOs * Enable filtering by region using search field * Update tchinese translation for display server region in serverbrowser (#484) * Add French translation * Add Japanese translation * Add Portuguese translation * Add Russian translation * Add Spanish translation * Add Italian translation * Add Mexican Spanish translation
2022-11-10Improve mouse capture handling in menus (#520)Jack
* rework mouse capture handling * small improvement to comment * move to new script file * refactor to use only the capturePanel * refactor part 2 * github please commit everything * remove non-implemented global function * cleanup * rename variable * formatting and a comment * run callbacks for menus * update comment accordingly * small formatting change * slight refactor to avoid duplicate code * improve comment * pass correct parameters * newline at end of file :)
2022-10-08Modlist Hotfixes (#510)v1.9.8-rc3v1.9.8-rc2v1.9.8-rc1uniboi
* fix mod list overflow * better offset validation
2022-09-21Change modlist interface (#401)uniboi
* Change modlist interface * add the settings file * new current mod enabled indicator * Only show requiredOnClient warning when required * filter by required on client status * fix ONLY_REQUIRED instead of ONLY_NOT_REQUIRED * update list slider position when reopening * colorblind colors * convar for reversed list and allow unicode search * better colors for the blind * Update filtered modlist after changing mod status * fix some things * mod enabled color blind icon * move enabled icon
2022-06-16Include server description in search (#388)v1.8.1-rc5v1.8.1-rc4v1.8.1-rc3F1F7Y
2022-06-16Localize masterserver errors (#333)Emma Miler
* Dependent commit * Add english localization * Update northstar_client_localisation_mspanish.txt * Add more localizations * Update northstar_client_localisation_spanish.txt * Adhere to code style
2022-06-13Unlock SP when Coop is selected (#383)F1F7Y
2022-06-01Display Northstar version on title screen (#346)v1.8.0-rc2BotchedRPR
* Create main.menu for showing NS version on title screen * Display Northstar version on main menu. Pulling data from Northstar.Custom, now the version of Northstar is displayed on the main menu, above the Respawn logo. * Get version data from Northstar.Client instead of Northstar.Custom * formatted main.menu
2022-04-29Add default sort method for server browser (#303)Emma Miler
* Add default sort method * Do gecko's change * Fixed it * Set default sort mode when opening browser * Update Northstar.Client/mod/scripts/vscripts/ui/menu_ns_serverbrowser.nut Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> * remove trailing space <3 gecko Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
2022-04-29Add Attrition (#321)F1F7Y
* Skyshow * Attrition score stuff * DropShip and DropPod spawn funcs * Attrition intro * Reaper spawn func * Attrition assault point logic * Cleanup * Match logic + basic spawn algo * Fix crash * Improve ai ? * Add AI weapon setter funcs * Bounty hunt score basics * code cleanup * add cleanup for bored ai * fix issue with failedChecks not being reset properly in cleanup * more cleanup * stop ai spawns on epilogue * don't run aitdm spawning code if we don't have ains/nms * Fix missing nodes crash * initial bounty hunt stuff * oops forgot to push this * me when i'm a competent developer * formatting and such * cap score + proper mp_rise spawns fix * Better squad handler * comment reaper out; needs to be checked out * Fix crash site crash * reapers * minor visual change is what Id call this * bh basic damage scoring * going to push this so there's a base to work with, still doesn't work * fix funny suicide bug :) * I hate crash site + score funnies * comlpex skill issue * final score fix, lets hope so * Hacked spectre fix * 1p npc executions fix * stalkers * Archer Grunts :) * minor fixing * Skyshow * Attrition score stuff * DropShip and DropPod spawn funcs * Attrition intro * Reaper spawn func * Attrition assault point logic * Cleanup * Match logic + basic spawn algo * Fix crash * Improve ai ? * Add AI weapon setter funcs * Bounty hunt score basics * code cleanup * add cleanup for bored ai * fix issue with failedChecks not being reset properly in cleanup * more cleanup * stop ai spawns on epilogue * don't run aitdm spawning code if we don't have ains/nms * Fix missing nodes crash * initial bounty hunt stuff * oops forgot to push this * me when i'm a competent developer * formatting and such * cap score + proper mp_rise spawns fix * Better squad handler * comment reaper out; needs to be checked out * Fix crash site crash * reapers * minor visual change is what Id call this * bh basic damage scoring * going to push this so there's a base to work with, still doesn't work * fix funny suicide bug :) * I hate crash site + score funnies * comlpex skill issue * final score fix, lets hope so * Hacked spectre fix * 1p npc executions fix * stalkers * Archer Grunts :) * minor fixing * Unlock attrition in mode select menu * move archer grunts settings Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2022-04-26Make mod button in main menu accessible when running with -dev (#320)Kami Kaze
2022-04-19Fix a freeze in stats menu (#307)Emma Miler
2022-04-19Server browser fix + formatting (#315)F1F7Y
* Fixes #314 * Updates formatting to project style
2022-04-13Open wiki link in external browser (#297)GeckoEidechse
2022-04-11Server Browser: QOL and hide server info if no server focused (#295)Kami Kaze
* Serverbrowser QOL + Minor Fixes * Fix server info hidden on mouse hover * Retain focus on connect + cancel
2022-03-31Fix maps menu mode lock and slider (#283)F1F7Y
2022-03-27Add mod code for updating state for discord RPC (#274)v1.6.0-rc3Emma Miler
2022-03-06Add ability to have custom private match settings menus (#226)Neoministein
2022-02-28Add arrow nav to maps menu + fix server browser nav (#248)F1F7Y
2022-02-23Set `communities_hostname` on main menu (#243)Emma Miler
2022-02-16Update private match map select menu (#194)F1F7Y
2022-02-10Update panel_mainmenu.nutEmmaM
2022-02-10Fix resetting communities_hostname to stryderGeckoEidechse
Seems like loading screen counts as a "main menu", hence resetting communities_hostname
2022-02-10forcibly disable communities on northstar due to security issuesBobTheBob
2022-02-03Fix mod menu slider (#178)F1F7Y
* lookey nicer * fix slider
2022-01-28Optimized localization for server browser (#168)Emma Miler
Condensed and optimized the localisation of the player and server-count labels in the server browser. Hopefully the localization got encoded correctly.
2022-01-24Add dialogs and status messagesWill Castro