aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes
AgeCommit message (Collapse)Author
2024-09-03Remove `SetShouldCreateMinimapSpawnZones()` from `_gamemode_ps.nut` (#861)William Miller
Function is not necessary anymore, the reworked spawning logic at #829 uses playlistvars to control spawnzones creation on minimap.
2024-09-03Complete overhaul for the CTF script (#830)v1.27.7-rc2William Miller
Refactors CTF script that was dearly needed for a while
2024-09-03Play effect on flag match over (#860)v1.27.7-rc1William Miller
Actually not even vanilla does this, but this is just a fancied effect for when the match is over, the flags simply vanish together with their bases. So this adds some effects on top of it to not look so bland.
2024-09-03Add `IsValidPlayer()` before flag return cleanup (#859)William Miller
Add validity check to player validity as the thread of that function might end on via OnDestroy signal by disconnection, and by that point, the player is no longer valid.
2024-09-03Avoid duplication of challenge award (#858)William Miller
2024-08-30Add is `IsValidPlayer()` check (#855)v1.27.6-rc2v1.27.6-rc1GeckoEidechse
to prevent potential script crash Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-08-30Add missing `IsValidPlayer()` check for CTF capture assists (#854)v1.27.5-rc2v1.27.5GeckoEidechse
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-08-30Move CTF spawn point related functionsZanieon
as part of the refactoring effort in #830
2024-08-30Move `OnPlayerKilled` functionZanieon
as part of the refactoring effort in #830
2024-08-30Move `CTFInitPlayer` functionZanieon
as part of the refactoring effort in #830
2024-08-30Move `CaptureFlag` functionZanieon
as part of the refactoring effort in #830
2024-08-30Move some drop flag related functions to end of fileZanieon
in an effort to have all related functions close to each other Part of the refactor in #830
2024-08-30Move `SetFlagStateForTeam` to end of fileZanieon
in an effort to have all related functions close to each other
2024-08-30Add missing valid check for militia flag spawn (#853)GeckoEidechse
Co-authored-by: Zanieon <william-millennium@hotmail.com>
2024-08-19Fix Attrition SquadHandler crash (#839)v1.27.3-rc3v1.27.3-rc21.27.XBobbyperson
Adds an `IsAlive()` check to temporarily handle a rare crash
2024-07-06Unfuck the Spawns (#808)v1.26.1-rc4v1.26.1-rc3v1.26.1-rc2William Miller
1. Get rid of the odd logic of limiting the algorithm to 3 spawn points 2. Changes the specific CTF algorithm to calculate the spawn points from the flag bases themselves rather than the initial spawn points which was causing severe inconsistencies. 3. Remove some checks in regards to map side swapping when matches reaches half-times due to odd behaviour in native code 4. Mitigate usage of `GetOtherTeam` for certain checks since that function might return Unreachable when it's a gamemode with more than 2 Teams and intentionally script crash the server.
2024-06-28Implement Match Goals menu and XP tracking (#756)v1.26.0-rc4v1.26.0William Miller
for vanilla parity when it comes to the progression system. See PR description for full details
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
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-03-10Hardpoint UI Fixes (#416)x3Karma
* fixed not showing Auto-Titans death in killfeed * bug fix * Hardpoint Fixes
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
2022-10-31Fixed ctf Sound Events and Flag Icon (#515)DBmaoha
* Fixed ctf Sound Events and Flag Icon Norshtar before using a wrong sound name that causes enemy picking up/ capture flag have no sounds, also there's not a icon in minimap for flags * commit fix
2022-10-08Added ReaperFall Marks and Reapers' Outlines (#468)DBmaoha
* Added ReaperFall Marks and Reapers' Outlines Added red mark for reaperfall points and outline after landing * Fixed RoundEndCleanUp Crash * Better Outline Function
2022-07-21Prevent crashing when an NPC titan kills a player or tries to earn score in ↵v1.9.2-rc1x3Karma
Attrition (#425) * Small Fix towards Attrition * Update again after having more thoughts
2022-06-22Use wait instead of waitthread (#393)v1.8.2-rc3v1.8.2-rc2v1.8.2-rc11.8.XF1F7Y
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-03-31Various CTF fixes (#282)ASpoonPlaysGames
Fixing the following: - Various crashes - Being able to capture flags during epilogue and halftime - Weird flag spawning stuff
2022-03-29Fix Game Crash when player not in capperArray (#279)v1.6.1-rc1v1.6.1v1.6.0-rc5v1.6.0Maya
2022-03-03spectator refactor and private match spectator supportBobTheBob
2022-02-20Update hardpoint pilot cap strengthBarichello
2022-02-19Implement hardpoint amp/unamp animationsBarichello
2022-02-19Refactor hardpoint chevron logicBarichello
2022-02-19Refactor capper data structures in hardpoint thinkBarichello
2022-02-19Update OnHardpointLeft player removalBarichello
2022-02-19Remove dev function exportBarichello
2022-02-18Fix Hardpoint stuck on amped status (#199)Maya
2022-02-17new spawnzone-based ctf spawn algoBobTheBob
2022-02-17remove unnecessary assist code from _gamemode_tdmBobTheBob
2022-02-16Fix Amped Hardpoint on Homestead (#174)Maya
* Adds Missing Entity Data to Homestead * Fix Homestead in Script * Encapsulated getting Hardpointgroup in function * fixing respawning on amped hardpoint
2022-02-15Fix non-player and invalid ent assist crashes + self-assistsDinorush
2022-02-14Update floor is lava riff on maps crashsite, drydock, and complex (#181)RealWorldExample
Stopped rooftop spawns oob on crashsite, drydock, and complex. Stopped spawns out of map on live fire maps. Still some out of play spawns on wargames and glitch. Brought up fog on maps where the spawns were revised. Co-authored-by: Barichello <artur@barichello.me>
2022-02-05Fix CTF halftime flag swap on mp_forwardbase_kodai and mp_lf_meadowBarichello
2022-01-30Add missing minimap icons for amped hardpointBarichello
2022-01-30Remove whitespace from _gamemode_cp.nutBarichello
2022-01-30Track enemies marked for death on minimapBarichello