aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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-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-01-13Fortwar fixes from #564 with my requested changes (#571)v1.12.1-rc1v1.12.1v1.12.0-rc5v1.12.0Maya
* Initial commit * add playlistvar "fw_harvester_regen_time" * adding friendly highlights * Scale Damage before shield Health but let other damage callbacks run * Make Gamemode 8v8 again * Fix NotifyEnterEnemyArea Callback Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com>
2023-01-06[GAMEMODE] Add gamemode_fw (#545)v1.12.0-rc2DBmaoha
* Initial commit Co-Authored-By: Ghroth-follower <45908037+Ghroth-follower@users.noreply.github.com> Co-Authored-By: zxcPandora <81985226+zxcPandora@users.noreply.github.com> * add customized scripts Co-Authored-By: Ghroth-follower <45908037+Ghroth-follower@users.noreply.github.com> Co-Authored-By: zxcPandora <81985226+zxcPandora@users.noreply.github.com> * add royal as co-worker Co-Authored-By: Maya <11448698+RoyalBlue1@users.noreply.github.com> * reset harvester.gnut * Update _gamemode_fw.nut * no need to update alertLevel right after clear * hacked natural turret receives less health * change consts name * update HACK_ForceDestroyNPCs() * update battery port's usePrompts * batteryPort useHint update * should do a check for titans * disable cloak while applying battery * add debounce for turret notifications * fix escalate * fix complex crash * late spawn camp trackers * defensive fix after havester destroyed * nerf salvo core and titan's earn meter * edit rodeo_titan in Northstar.Custom * make settings controllable by playlistvars * use tabs for indenting use tabs for indenting * Move game mode specific behaviour to callback use post damage callback * Move FW specific code out of _battery_port.gnut Also Split Damage Callbacks to onDamage and onPostDamage * Fix globalizing same function twice * Adding vars back to HarvesterStruct * use tabs for indenting use tabs for indenting Co-authored-by: Ghroth-follower <45908037+Ghroth-follower@users.noreply.github.com> Co-authored-by: zxcPandora <81985226+zxcPandora@users.noreply.github.com> Co-authored-by: Maya <11448698+RoyalBlue1@users.noreply.github.com> Co-authored-by: zxcPandora <1158500986@qq.com>
2022-10-31Better Decloaking Check to Support Modding (#514)DBmaoha
* Better Decloaking Check to Support Modding Respawn hardcoded decloaking which messed up many things, this will make vanilla cloak to behave properly in any offhand slot and have a better support for modded cloak * commit fix
2022-10-21Added Music and Dialogue Event (#469)DBmaoha
* Added Music and Dialogue Event Added Music based on score event and time. Added Dialogue event based on score comparation and after killing a player's titan * Changed Filter Type to Only DM Gamemodes Only vanilla gamemodes those have unlimited respawns will automatically plays music * Added a ! omg * Removed Music Event Removed Music Event, Moved Dialogue Event to _gamestate_mp.nut * Changed mods.json * Changed RoundBased Gamemodes Check not hardcoded right now * Moved Killing Titan Dialogue to _score.nut dialogue is now together with scoreevent
2022-10-21Added Callsign Event for Core Earned And Titan Kill (#495)DBmaoha
* Added Callsign Event to Core Earned and Titan Kill Callsign event from vanilla * No Associate Entity for NPC Titan Kill * Added Check to Player Titans
2022-10-21allow server scripts to compile with -dev or developer 1 (#492)BobTheBob
2022-10-21Fixed SuddenDeath Based Modes Stuck (#496)DBmaoha
* Fixed SuddenDeath Based Modes Stuck Added checks so sudden death based gamemodes won't stuck if there ain't any players in server * Make scripts able to run
2022-10-08Fix crash when final killcam entity becomes invalid (#516)Dinorush
2022-08-27Add alive checks (#491)GeckoEidechse
hotfixes respawn crash exploit Co-authored-by: ScureX <multiaccshop@web.de>
2022-08-11adding win achievement (#481)cat_or_not
2022-08-07fix DelayedGamemodeAnnouncement (#471)cat_or_not
2022-08-02Added Killer Outline (#470)DBmaoha
* Added Killer Outline Added killer outline: highlight the killer after being killed * Changed to _base_gametype_mp.gnut Not using a single script right now * Removed IsNPC() Check Moved inside the if ( IsValid ( attacker ) ) check and removed the attacker.IsNPC()
2022-07-27Fix RespawnAsTitan not triggering FirstToFall (#427)GeckoEidechse
Co-authored-by: x3Karma <juliuslimck@gmail.com>
2022-07-14call InitPersistentData on client connect to mirror vanilla behaviour and ↵v1.9.1-rc4v1.9.1-rc3v1.9.1BobTheBob
clear unwanted stuff (#424)
2022-06-22somewhat better marvins on wargames and deck (#323)BobTheBob
2022-06-01Fixed Auto-Titan deaths not showing up in Obituary (#371)x3Karma
* fixed not showing Auto-Titans death in killfeed
2022-04-29Update _classic_mp_dropship_intro.gnut (#329)BobTheBob
2022-04-29Bring frontline spawns more in line with vanilla functionality (#318)BobTheBob
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-17allow modes to not use the match timer, and clear timer on match end (#310)BobTheBob
2022-04-15Add core meter gain exceptions (#284)Dinorush
2022-04-10don't run killreplay if epilogue is active (#296)BobTheBob
2022-04-06fix evac issues on colony (#288)BobTheBob
2022-03-29Fix servercrash because batteryContainer entity is null (#267)RomeoCantCode
...when respawning as titan
2022-03-11Additional scoring fixes (#261)x3Karma
* Fix Assists being granted to the victim * Show attacker callsign on MegaKill * adds battery titan meter gain and fix some AI meter gain
2022-03-04rotate spawnzones if players die within their spawnzoneBobTheBob
2022-03-03cleanup respawn and script prediction management codeBobTheBob
2022-03-03spectator refactor and private match spectator supportBobTheBob
2022-02-23Fixes Kodai + Angel battery spawns (#224)Dinorush
2022-02-17new spawnzone-based ctf spawn algoBobTheBob
2022-02-16actually update PGS_ASSISTSBobTheBob
2022-02-16Log player UIDs on connect (#220)Tom Barham