aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts
AgeCommit message (Collapse)Author
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
2022-11-21Add entity functions for reading userinfo cvars to CPlayer class (#521)BobTheBob
* add entity functions for reading userinfo cvars to CPlayer class * fix formatting * update to use new functions from launcher pr
2022-11-12Add support for hiding the [SERVER] tag in server messages (#506)Erlite
2022-11-12Fixed Burn Cards Animations (#511)DBmaoha
* Fixed Burn Cards Animations Burn cards no longer taken right after using * commit fix * adding EndSignal() * Update Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> * Update Northstar.CustomServers/mod/scripts/vscripts/item_inventory/sv_item_inventory.gnut Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com> Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.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-31add datatables (dumped from rpak) (#517)BobTheBob
* add datatables (dumped from rpak) * add datatables that accidentally weren't included
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-21Fixed Evac Visual and Sound (#466)DBmaoha
* Fixed Evac Visual and Sound Fix evac intro visual, flying sound and leaving visual * Removed Unnecessary comments Added better comments * Added IsValid() Check Added IsValid() check after a wait * Added EndSignal and Default Situation for ShipSetting
2022-10-21Fixed EarnMeter OverDrive not reset after player died (#486)v1.10.6-rc1v1.10.6DBmaoha
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-21add CUSTOMIZE_LOADOUT achievement (#489)cat_or_not
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