aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts
AgeCommit message (Collapse)Author
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
2023-01-24Add a function to take away all inventory item (#565)zxcPandora
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>
2023-01-05Add sh_powerup.gnut from englishclient_mp_commonRespawn
2023-01-03Fixed Multiple Amped Weapons Timers (#500)GalacticMoblin
* Add files via upload * Delete _burnmeter.gnut * Add files via upload Fixed multiple Amped Weapon uses not resetting the timer * 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> * Add files via upload * Delete _burnmeter.gnut * Rename _burnmeter.gnut.txt to _burnmeter.gnut * Update _burnmeter.gnut * Update _burnmeter.gnut * Update _burnmeter.gnut * Update _burnmeter.gnut Co-authored-by: JMM889901 <41163714+JMM889901@users.noreply.github.com> Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
2023-01-02Add Harvester File (#546)Maya
Moved out of the fd branch because it was needed for fw
2022-12-05Fix calling `TitanEject` without arguments crashing server (#538)v1.11.0-rc1ScureX
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