aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts
AgeCommit message (Collapse)Author
2024-03-26Fix weapon drop callback breaking SP (#797)v1.25.0-rc1Cyn
Move weapon drop callback globalization to `#if MP`
2024-02-29Add weapon dropped callbackv1.24.3-rc2v1.24.3-rc1NoCatt
Adds a callback for when a weapon is dropped. In the progress this also fixes weapons still dropping unintentionally in certain case.
2024-01-29Scale pilot kill core gain properly for mixed modes (#702)Jack
Closes #682
2024-01-26Unlock remaining DLC items while progression is enabled (#786)v1.22.2-rc2v1.22.2William Miller
As they cannot be unlocked by levelling up and some players may still want to use them while having progression enabled, we simply keep them unlocked when progression is enabled.
2024-01-26Change Aegis Reset Functionality to use titan chassis ref instead of raw ↵William Miller
index (#788) The previous index passed to the method did not correspond properly with the persistent data index. Instead pass their class reference and then use that to grab the correct index.
2024-01-21Prevent client side crash in MFD when marked target dies out of bounds. (#705)v1.22.2-rc1v1.22.1-rc4v1.22.1Jack
2024-01-02Fix spectating for LTS (#774)v1.21.3-rc1v1.21.3Aibek
Adds missing spectator initialisation Co-authored-by: Khalmee <87766895+Khalmee@users.noreply.github.com>
2024-01-02Add validity check to `HandleDistanceAndTimeStats_Threaded` to prevent crash ↵Casper Talvio
(#767)
2024-01-02Add validity check to `SaveStatsPeriodically_Threaded` (#769)Casper Talvio
2023-12-18Fix restricting Aegis Rank reset functionality to MP (#771)v1.21.1-rc1v1.21.1William Miller
Move compiler flag so that `RecalculateHighestTitanFDLevel` is MP only.
2023-12-17Fix `spec_mode` bind not working (#706)Jack
Fixes `spec_mode` bind not working by adding a small spectator replay delay Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com>
2023-12-14Add Aegis Rank reset functionality command for Progression (#727)v1.21.0-rc1William Miller
Adds a console command to allow players to reset the Aegis Ranks of their Titans
2023-12-04Add a doc comment to `StringReplace` (#748)GeckoEidechse
This is an initial test to get formatting etc agreed upon to then build on this further
2023-12-01Fix crash when calling for invalid loadout index (#764)v1.20.3v1.20.2-rc1v1.20.2x3Karma
Requesting for invalid loadout index using SwapSecondaryAndWeapon3PersistentLoadoutData will cause a crash. This change just adds a check to reset the loadout index.
2023-11-21Implement missing Score Events (#700)v1.20.1-rc5v1.20.1Jack
* use consts for killingspree and rampage score events * add Revenge and Quick Revenge score events * ensure no revenge/quick revenge against non-players * this is OnPlayerKilled i dont need this check * implement mayhem and onslaught
2023-11-05Re-implement projectile kill replays (#723)v1.20.0-rc2v1.20.0-rc1Jack
Adds a new callback: `SetCallback_TryUseProjectileReplay` so that servers can write logic to enable/disable this behaviour on a case by case basis
2023-11-03Fix wrong attacker receiving progression stat updates (#755)v1.19.11-rc7v1.19.11William Miller
Fixes wrong attacker receiving stat updates
2023-11-03Fix wrong Item Type for Titan Camos (#728)William Miller
Small fix which the wrong item type was being addressed to check for Titan Camos, allowing players to use any camo without fallback to default if they didn't own that item previously when enabling progression.
2023-11-03Don't mark items as new if progression is disabled (#752)Jack
Also doesn't show the challenge completion notifications in game as a nice side effect
2023-10-18Stop logging invalid map/mode exception in progression (#750)v1.19.9-rc3v1.19.9Jack
Some game modes like Gun Game or Infection are not considered valid yet, causing the warning message to be spammed in the logs. Necessary work should be done to add the modes to the list of valid modes. Until we will just comment out the print statement in order to prevent log spam. Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
2023-10-18Fix Titan Assist not tracking properly (#744)William Miller
Titan Assist medals aren't given to players who assisted damage when someone kills a titan, that is due the fact that Titans stores damage history in their Soul component, not the NPC itself.
2023-10-17Award titan assist stats based on titan soul damage history (#746)Jack
Titans stores damage history in their Soul component, not the NPC itself, probably due to how game handles pilot/auto-titan interaction with the Titan entities. This means that we weren't awarding assist stats properly for titan assists
2023-10-16Make dropships immune to Titan step damage (#737)v1.19.9-rc1Jack
Currently dropships take damage from titans stepping on them, this prevents that Co-authored-by: William Miller <william-millennium@hotmail.com>
2023-10-12Expose extra optional arg in `UpdatePlayerStat` function (#742)William Miller
Exposes the previously hidden string argument in the `UpdatePlayerStat` function, that is needed to track some things more easily when hooking stats.
2023-10-11Unlock paid items with progression enabled (#726)William Miller
When turning on progression now, items that should be purchased from the store will remain unlocked. These items contain among others the prime versions of the various Titans. Some mods make explicit use of prime Titans to switch to alternate loadouts (Brute, Archon, ...) Some players would like to opt into progression but decide against it due to losing access to prime Titans As such we should keep them unlocked, even when progression is enabled as they cannot be obtained through progression alone anyway.
2023-10-11Fix `StringReplace` looping forever when replacing character when replacing ↵Jack
same character as match (#736) Find the next replacement starting from the end of the last one, instead of from the start of the string
2023-10-10Remove unnecessary convars (#530)v1.19.6-rc2v1.19.6BobTheBob
Removes some convars we don't need at all
2023-10-10Implement `_grunt_chatter_mp.gnut` (#687)v1.19.6-rc1William Miller
Code is adapted from `_grunt_chatter.gnut` which is used in the campaign. File implementation is a vanilla behavior restoration of Grunts being able to chatter about when other grunts nearby are killed, or when an enemy Titan is killed.
2023-10-04Prevent loadout validation crash due to invalid warpaints (#734)v1.19.4-rc2v1.19.4Jack
2023-09-18Fix script compile error for progression in SP (#714)v1.19.1-rc1v1.19.1Jack
2023-09-18Use `WinnerDetermined` instead of `Epilogue` to grant stats (#713)v1.19.0Jack
Use `WinnerDetermined` instead of `Epilogue` to grant stats as some modes (like LTS) don't go into `eGameState.Epilogue` apparently. `eGameState.WinnerDetermined` should be better
2023-09-17Fix a crash with IsPetTitan (#701)Jack
2023-09-02Change Harvester to use Titan Health, support for mod damage balancing, and ↵Dinorush
bug fixes (#579) Frontier War balancing, generally makes harvester code not suck
2023-09-02Progression system (#655)Jack
This also can't hurt right? --------- Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
2023-09-02Prefer not to spawn within 20 meters of enemy (#512)v1.18.3-rc1v1.18.3v1.18.2-rc1v1.18.2fvnkhead
It indeed can't hurt Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
2023-09-02Force player respawn to match vanilla (#554)Jack
Automatically respawns dead players after 5 seconds unless set otherwise
2023-07-10Prematch now cleans up boosts (#568)DBmaoha
* Initial Commit * update format * update to use https://github.com/R2Northstar/NorthstarMods/pull/565's function * remove random whitespace * github suggestions nuked the line and i dont know why --------- Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
2023-07-10Fix dropship related crash (#662)EnderBoy9217
* Fix infinite loading screen * Update Northstar.Client/mod/scripts/vscripts/ui/_menus.nut * Update _menus.nut * Update _menus.nut * Update _menus.nut * Add files via upload * Update _menus.nut * Update _menus.nut * Update cplayer.nut * Update cplayer.nut * Add files via upload * Update _classic_mp_dropship_intro.gnut
2023-07-09Fix grunt death callbacks (#632)Jack
fix weird bug with grunt deaths
2023-07-09[BH] Fix Bounty Titan Damage Checks (#654)DBmaoha
Update _gamemode_at.nut
2023-05-11Fix attrition freezing and killing servers sometimes (#642)v1.14.2-rc1v1.14.2Jack
Would occur when NPCs would try to find somewhere to attack after all enemy NPCs nearby were dead
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-28Improve AI spawn functions (#626)DBmaoha
* initial commit * remove modded contents * Update _ai_gamemodes.gnut * restore HandleScoreEvent() checks * fix squad minimap icon * fix compile error * Update _gamemode_aitdm.nut * update formatting as requested changes * add missing reaper highlight * Formatting * Newline test * Did this work? --------- Co-authored-by: F1F7Y <64418963+F1F7Y@users.noreply.github.com>
2023-04-22Revert "Revert 'Hardpoint UI Fixes (#416)' (#618)" (#619)v1.13.1-rc1v1.13.1v1.13.0-rc2v1.13.0-rc1v1.13.0x3Karma
* fixed not showing Auto-Titans death in killfeed * revert indents * revert indents again * bug fix * Hardpoint Fixes * "fixed" spacing for like one line the rest of the file is kinda oof tho but not related to my pr * 69 spacing * SetPlayerNetInt is placed inside a player entity check
2023-04-20Revert "Hardpoint UI Fixes (#416)" (#618)GeckoEidechse
This reverts commit 28d444c26a1da5496d1cf3f7610a261cd739ef73. As it causes crash as explained in https://github.com/R2Northstar/NorthstarMods/pull/416#pullrequestreview-1392973121
2023-04-14lolololol server crasher hehe hooo (#614)ScureX
* why dont we have this fucking file * the actual fix * why is it fukcing formatted liek taht
2023-03-10Hardpoint UI Fixes (#416)x3Karma
* fixed not showing Auto-Titans death in killfeed * bug fix * Hardpoint Fixes
2023-03-09Add support for entity final damage callbacks (#578)Dinorush
* Add support for entity final damage callbacks * Add final damage callback for non-Players/NPCs * Remove accidental duplicate code * Remove other unnecessary (duplicated) code * Implement uniboi suggestion
2023-03-02Fix GameTime_TimeLeftSeconds() not tracking time correctly (#447)v1.12.6-rc1v1.12.6v1.12.5-rc1x3Karma
Co-authored-by: EladNLG <44613424+EladNLG@users.noreply.github.com>
2023-03-02Clean Team Score After Player Disconnecting in FFA (#589)DBmaoha
* Update _gamemode_ffa.nut * delete the player struct after disconnecting * force struct start from 0 * fix compile error * remove useless structs * Update _gamemode_ffa.nut * Update _gamemode_ffa.nut