Age | Commit message (Collapse) | Author |
|
|
|
Reorder functions to prepare for refactor and add big ASCII text comments for wayfinding using common IDE minimap
|
|
on player team switch.
Adds a check whether player is in a default team (IMC/Milita) before calling `GetOtherTeam()`
|
|
Overhauls the spawning logic to primarily use native functions and with Squirrel only doing refining on the selected spawns.
|
|
|
|
This is a quick fix that will redirect the attacker entity to a proper NPC owned by the player.
By default behavior of the game, attackers are always the final entity in the owning hiearchy, which is always a player if owned NPCs kills enemies.
This change properly redirects the code to the correct NPC whenever they have an owning player.
|
|
|
|
|
|
to fix script error
|
|
The game have an extra stat especifically to count the total amount of times a player has been MVP in all matches, while the other mvp stat which i previously thought to be absolutely is only registered per map, not globally.
|
|
Prevent suicides registering stats
|
|
Co-authored-by: Zanieon <william-millennium@hotmail.com>
|
|
Co-authored-by: Zanieon <william-millennium@hotmail.com>
|
|
Co-authored-by: Zanieon <william-millennium@hotmail.com>
|
|
taken from #809
|
|
This overhaul makes the Dropships behave consistently now like vanilla and players will only start overlapping each other when both Dropships are full, otherwise code will always attempt to populate them properly instead.
|
|
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.
|
|
for vanilla parity when it comes to the progression system.
See PR description for full details
|
|
Uses a call back that is triggered when the player switches team to update their own entities accordingly.
|
|
Move weapon drop callback globalization to `#if MP`
|
|
Adds a callback for when a weapon is dropped.
In the progress this also fixes weapons still dropping unintentionally in certain case.
|
|
Closes #682
|
|
Adds missing spectator initialisation
Co-authored-by: Khalmee <87766895+Khalmee@users.noreply.github.com>
|
|
(#767)
|
|
|
|
Update FD branch
|
|
Fixes `spec_mode` bind not working by adding a small spectator replay delay
Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com>
|
|
* 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
|
|
Adds a new callback: `SetCallback_TryUseProjectileReplay` so that servers can write logic to enable/disable this behaviour on a case by case basis
|
|
Fixes wrong attacker receiving stat updates
|
|
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>
|
|
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.
|
|
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
|
|
Currently dropships take damage from titans stepping on them, this prevents that
Co-authored-by: William Miller <william-millennium@hotmail.com>
|
|
|
|
Exposes the previously hidden string argument in the `UpdatePlayerStat` function, that is needed to track some things more easily when hooking stats.
|
|
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
|
|
This also can't hurt right?
---------
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
|
|
It indeed can't hurt
Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
|
|
Automatically respawns dead players after 5 seconds unless set otherwise
|
|
* 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
|
|
|
|
* 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
|
|
make map init function global
|
|
|
|
* 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>
|
|
* 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>
|
|
* 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
|
|
|
|
* 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
|