Age | Commit message (Collapse) | Author |
|
Overhauls the spawning logic to primarily use native functions and with Squirrel only doing refining on the selected spawns.
|
|
Function is not necessary anymore, the reworked spawning logic at #829 uses playlistvars to control spawnzones creation on minimap.
|
|
|
|
Refactors CTF script that was dearly needed for a while
|
|
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.
|
|
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.
|
|
|
|
This needs to be threaded as there's a `waitthread` further below on that function, which will cause an error if not threaded.
|
|
to prevent potential script crash
Co-authored-by: Zanieon <william-millennium@hotmail.com>
|
|
Co-authored-by: Zanieon <william-millennium@hotmail.com>
|
|
as part of the refactoring effort in #830
|
|
as part of the refactoring effort in #830
|
|
as part of the refactoring effort in #830
|
|
as part of the refactoring effort in #830
|
|
in an effort to have all related functions close to each other
Part of the refactor in #830
|
|
in an effort to have all related functions close to each other
|
|
Co-authored-by: Zanieon <william-millennium@hotmail.com>
|
|
Adds an `IsAlive()` check to temporarily handle a rare crash
|
|
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.
|
|
Seemingly there are cases where mods can set an invalid Titan loadout index, which then causes the progression checks to attempt to set the player's Titan model to an invalid index.
This commit adds a check to ensure that it is within the bounds of the titan loadout array.
|
|
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
|
|
As they cannot be unlocked by levelling up and some players may still want to use them while having progression enabled, we simply keep them unlocked when progression is enabled.
|
|
index (#788)
The previous index passed to the method did not correspond properly with the persistent data index.
Instead pass their class reference and then use that to grab the correct index.
|
|
|
|
Adds missing spectator initialisation
Co-authored-by: Khalmee <87766895+Khalmee@users.noreply.github.com>
|
|
(#767)
|
|
|
|
Move compiler flag so that `RecalculateHighestTitanFDLevel` is MP only.
|
|
Fixes `spec_mode` bind not working by adding a small spectator replay delay
Co-authored-by: DBmaoha <56738369+DBmaoha@users.noreply.github.com>
|
|
Adds a console command to allow players to reset the Aegis Ranks of their Titans
|
|
This is an initial test to get formatting etc agreed upon to then
build on this further
|
|
Requesting for invalid loadout index using SwapSecondaryAndWeapon3PersistentLoadoutData will cause a crash. This change just adds a check to reset the loadout index.
|
|
* 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
|