aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts/vscripts
AgeCommit message (Collapse)Author
2024-11-22Make MAD process cancellable (#865)Rémy Raes
Mod counterpart to the launcher PR that makes a mod download via MAD cancellable.
2024-11-22Refactor getting mod information (#899)Rémy Raes
Mod counterpart to the launcher PR. Adds a struct containing mod information instead of getting every field with its own dedicated function
2024-11-21Add cl_damage_indicator.gnut from englishclient_mp_commonRespawn
2024-11-18Fix client crash during final killcam (#900)v1.28.6-rc2v1.28.6Bobbyperson
By adding a sanity check to see if the passed string is empty or not.
2024-11-16Add cl_player.gnut from englishclient_mp_commonRespawn
2024-11-15Add cl_screenfade.gnut from englishclient_mp_commonRespawn
2024-10-14Update links to point to new wiki (#894)v1.28.4-rc2GeckoEidechse
Documentation was moved from GitBook to MkDocs so the links to the wiki should updated accordingly.
2024-10-04Remove Clutter Client Logging from Glitch (#889)v1.28.3-rc2v1.28.3-rc1v1.28.3William Miller
2024-09-16Add cl_mp_glitch.nut from englishclient_mp_glitchv1.28.2-rc3v1.28.2-rc2v1.28.2Respawn
2024-09-13Fix Discord presence crashing on Campaign (#881)v1.28.2-rc1William Miller
Add MP/SP check to prevent running logic that would script error on SP. Also gives more accurate playercount now.
2024-09-12Fix mode selection menu locking all modes (#880)v1.28.1-rc1v1.28.1William Miller
Invert previously incorrect logic in check to lock gamemode.
2024-09-10Rework mode select menu (#624)v1.28.0-rc5v1.28.0F1F7Y
Turns mode list from page based into a scrollable list that is categorised and supports filtering.
2024-09-07Expose more game state information to DiscordRPC (#869)v1.28.0-rc3William Miller
When playing Frontier Defense it will show when the player is in a Wave Break or which Wave they are currently through Whenever the server is NOT at the Playing gamestate, the plugin will report the respective states instead such as Selecting Titan screen, Prematch, Epilogue, Postmatch, etc...
2024-08-29Hide remote mods in mods display (#799)Rémy Raes
As they are supposed to be disabled unless joining a server that requires that mod.
2024-07-31Revert "Add a generic "JoinServer" function" (#828)v1.27.1-rc1v1.27.1GeckoEidechse
Revert "Add a generic "JoinServer" function (#693)" as it causes issues with MAD due to duplicated server join logic as discussed on Discord This reverts commit e4b3cc7d3ee17488053cae24c8a8c981dbe95eab.
2024-07-31Remove redundant parameter in DownloadMod (#827)wolf109909
This parameter is a leftover of a previous refactor, and isn't used anywhere in the function.
2024-07-30Add a generic "JoinServer" function (#693)Klemmbaustein
Adds a function that allows the client to join a server from a `ServerInfo` struct. This also changes the server browser to use this function.
2024-07-30Only fetch MAD manifesto on server join (#821)Rémy Raes
Previously, the verified mods manifesto was fetched on game start without checking if the verified mod feature is enabled Squirrel-side; with this, the manifesto is only fetched when the user wants to download a mod (meaning they enabled the feature beforehand).
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-06Plugins v3 (#652)v1.20.0-rc3v1.20.0cat_or_not
Script component of plugins v3. See launcher PR for more info. https://github.com/R2Northstar/NorthstarLauncher/pull/472
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
2023-02-25Fix chat messages when dead (#574)NoCatt
* Fix chat messages when dead * Spoons fix was better Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
2023-01-08Fix server chat messages being send twice when watching a replay (#555)NoCatt
* fixes chat messages being send twice * OCD is a real issue
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-12-01Remove unnecessary root table setting and make functions global (#534)Jack
* fix for CHudChat_ProcessMessageStartThread not working in native * remove unneeded NSSetupChathooksClient callback * fix for CServerGameDLL_ProcessMessageStartThread not working in native * remove unneeded NSSetupChathooksServer callback * remove root table setting for ServerToClientStringCommands_Init * remove unneeded ServerToClientStringCommands_Init callback * remove global function
2022-11-14Add missing `unreachable` to stop compile error (#528)Jack
2022-11-12Add eject quotes (#527)JMM889901
* 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>
2022-11-12Add cl_titan_cockpit.nut from englishclient_mp_commonRespawn
2022-11-12Add support for hiding the [SERVER] tag in server messages (#506)Erlite