aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
AgeCommit message (Collapse)Author
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-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
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-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-02-17new spawnzone-based ctf spawn algoBobTheBob
2022-02-05Fix CTF halftime flag swap on mp_forwardbase_kodai and mp_lf_meadowBarichello
2022-01-29Fix missing minimap icons for ctf flagsBarichello
2022-01-28Reset flag state on creationalt4
Again, preventing half-time issues
2022-01-28Check if flag is still valid before loopingalt4
2021-12-29fix ctf if a player leaves when holding the flagBobTheBob
2021-12-17wargames intro and many fixesBobTheBob
2021-12-15more playtest fixesBobTheBob
2021-12-11fixes from playtestsBobTheBob
2021-12-06some bugfixes from playtestBobTheBob
2021-11-23spawn changes and complex ringsBobTheBob
2021-08-31move to new mod formatBobTheBob