aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut
diff options
context:
space:
mode:
authorWilliam Miller <william-millennium@hotmail.com>2024-11-22 11:23:21 -0300
committerGitHub <noreply@github.com>2024-11-22 15:23:21 +0100
commit13211e9037d3c2d6bf5e0c1c2ff00fb9a7b3c36b (patch)
tree5ddf9d64e60d67d1b59e0cc591ecdaff52c3392f /Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut
parentaba62bfaf4556c3b6285066b43a6063976a8d4f9 (diff)
downloadNorthstarMods-13211e9037d3c2d6bf5e0c1c2ff00fb9a7b3c36b.tar.gz
NorthstarMods-13211e9037d3c2d6bf5e0c1c2ff00fb9a7b3c36b.zip
Add button to allow players to change teams (#872)
Adds button and logic to allow players to switch teams. This is a feature used in FSU and popular on many servers. Team switch is disabled via script for some gamemodes where switching teams does not make sense.
Diffstat (limited to 'Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut')
-rw-r--r--Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut
index 6729ff97..c3bdd484 100644
--- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut
+++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_hidden.nut
@@ -11,6 +11,7 @@ void function GamemodeHidden_Init()
SetLoadoutGracePeriodEnabled( false ) // prevent modifying loadouts with grace period
SetWeaponDropsEnabled( false )
SetRespawnsEnabled( false )
+ SetGamemodeAllowsTeamSwitch( false )
Riff_ForceTitanAvailability( eTitanAvailability.Never )
Riff_ForceBoostAvailability( eBoostAvailability.Disabled )
Riff_ForceSetEliminationMode( eEliminationMode.Pilots )