aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/gamemodes
AgeCommit message (Collapse)Author
2024-09-10Merge branch 'main' into gamemode_fdgamemode_fdWilliam Miller
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-rc2Bobbyperson
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-10-15Merge remote-tracking branch 'upsteam/main' into gamemode_fdRoyalBlue
2023-07-09[BH] Fix Bounty Titan Damage Checks (#654)DBmaoha
Update _gamemode_at.nut
2023-05-12Merge remote-tracking branch 'upsteam/main' into gamemode_fdRoyalBlue
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
2023-02-07[FD]New features and fix bug (#548)zxcPandora
* Allow player pick up turret Allow player pick up turret * Register Signal Register Signal * Update for match vanilla Update for match vanilla * Update _ai_turret.gnut * bug fix valid player check * player score event player score event * Valid player check Valid player check * Update _gamemode_fd.nut * Update _gamemode_fd.nut * valid check * sniper titan enemy check sniper titan enemy check * Do a crash protect when wait delay * change harvester check way to vanilla * remove temporary fix * clear invalid turret * check the player during the animation * protect dropship from enemy ai before all player dropped
2023-01-24[FD]New features and bug fix (#566)zxcPandora
* Correction of variable type Correction of variable type * weapon type check idk why Respawn use weapon.GetWeaponType(),it doesn't work for actually anti-titan weapon.(Because they didn't have this key value) * fix wrong reaper icon fix wrong reaper icon * Show store in the minimap during buy time Show store in the minimap during buy time * ping store test ping store test * Add missing event and correct error event Add missing event and correct error event * Add turret repair tip Add turret repair tip * Add wave restart event Add wave restart event * fix bug return when titan can get heal without battery. Example:Vanguard * Track entity deployed by player 1.Track entity deployed by player 2.Destroy player deployed entity this round after wave lost 3.Don't destroy those entities not deployed in this round * use untyped use untyped * update for #565 update for #565
2023-01-15Merge remote-tracking branch 'upsteam/main' into gamemode_fdRoyalBlue1
2023-01-08[FD] Allow players to change loadouts between waves (#461)Jack
* Added condition for FD next wave loadout changes * custom function setting for loadout change requests
2023-01-02[FD]Bug fix and new feature (#556)zxcPandora
* Correction of variable type Correction of variable type * weapon type check idk why Respawn use weapon.GetWeaponType(),it doesn't work for actually anti-titan weapon.(Because they didn't have this key value) * fix wrong reaper icon fix wrong reaper icon * Show store in the minimap during buy time Show store in the minimap during buy time * ping store test ping store test
2022-12-30[FD] Fix compile errors (#558)Jack
* mimic changes in CustomServers into Custom * fix compile errors due to int -> float stuff * remove unimplmented function causing compile error
2022-12-15[FD]Player Data Collect (#465)zxcPandora
* Player Data Collect Player Data Collect * Compare time Compare time * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Specification and support more callback Specification and support more callback * Add Battery Heal Callback Add Battery Heal Callback * Add Battery Heal Collect Add Battery Heal Collect * Add files via upload * Update _gamemode_fd.nut * Update mp_titanweapon_stun_laser.nut * Improve AddSmokeHealCallback Improve AddSmokeHealCallback * Add Smoke Heal Collect Add Smoke Heal Collect * Check the battery owner Check the battery owner * Update mp_titanability_smoke.nut * Delete mp_titanability_smoke.nut * Delete mp_titanweapon_stun_laser.nut * Adapt to new code 1.Adapt to new code:heals,timeNearHarvester,SetUsedCoreCallback 2.Add data collect:turretKills * Update _gamemode_fd.nut * Add score for heal teammate(test) Add score for heal teammate * Add Heal Score Add Heal Score * Update _gamemode_fd.nut * Update _rodeo_titan.gnut * Update _gamemode_fd.nut * Update _gamemode_fd.nut * Update _gamemode_fd.nut * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> * Update _gamemode_fd.nut Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
2022-12-13[FD]Set Persistent Var (#547)zxcPandora
Set FD Persistent Vars for Endgame Medals
2022-11-13Prevent crash when playing with more than 4 playersRoyalBlue1
end game will now only show 4 awards even if more players are in the game
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-23Set end game awards as epilogueRoyalBlue1
2022-10-22Rework game end awardsRoyalBlue1
2022-10-20Fix calling wrong function RoyalBlue1
2022-10-20Add game end awardsRoyalBlue1
2022-10-18Merge remote-tracking branch 'upsteam/main' into gamemode_fdRoyalBlue1
2022-10-18Fix respawn as titanRoyalBlue1
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-08-01Merge remote-tracking branch 'upsteam/gamemode_fd' into gamemode_fdRoyalBlue1
2022-08-01Dropship spawnRoyalBlue1
Broken on Homestead
2022-07-31[FD]Fix unlimited ammo setting (#459)zxcPandora
* Fix unlimited ammo setting
2022-07-30[FD] AI proficiency (#463)Jack
* Set AI proficiency properly maybe * This might be wrong but whatever