diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-22 16:46:49 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-22 16:46:49 +0000 |
commit | fb32cb1b780c1169a834c951bc0c928199a2b59e (patch) | |
tree | e2435cc869fed0fa3f7c3d187335d2350b8b1e14 /Northstar.CustomServers/mod/scripts/vscripts/mp/_playlist.gnut | |
parent | dade102a0d4d14ba5ee560022b8e2f1ddf960977 (diff) | |
download | NorthstarMods-fb32cb1b780c1169a834c951bc0c928199a2b59e.tar.gz NorthstarMods-fb32cb1b780c1169a834c951bc0c928199a2b59e.zip |
playtest fixes
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp/_playlist.gnut')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/mp/_playlist.gnut | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_playlist.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_playlist.gnut index 8db52b118..b27fdbaac 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_playlist.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_playlist.gnut @@ -7,6 +7,12 @@ void function Playlist_Init() AddCallback_OnPlayerRespawned( FeaturedModeSettingsSetupPilotLoadouts ) AddCallback_OnPilotBecomesTitan( FeaturedModeSettingsSetupTitanLoadouts ) + if ( IsFeaturedMode( "all_holopilot" ) || IsFeaturedMode( "all_grapple" ) || + IsFeaturedMode( "all_phase" ) || IsFeaturedMode( "all_ticks" ) || + IsFeaturedMode( "rocket_arena" ) || IsFeaturedMode( "shotguns_snipers" ) || + IsFeaturedMode( "tactikill" ) || IsFeaturedMode( "amped_tacticals" ) ) + SetLoadoutGracePeriodEnabled( false ) + // iron lts rules if ( HasIronRules() ) Riff_ForceTitanExitEnabled( eTitanExitEnabled.Never ) @@ -78,6 +84,8 @@ void function FeaturedModeSettingsSetupPilotLoadouts( entity player ) modifiedLoadout.secondaryMods = [ "rocket_arena" ] } + modifiedLoadout.meleeMods = [ "rocket_arena" ] + player.GiveExtraWeaponMod( "rocket_arena" ) } @@ -120,7 +128,12 @@ void function FeaturedModeSettingsSetupTitanLoadouts( entity player, entity tita if ( IsFeaturedMode( "turbo_titans" ) ) { array<string> settingsMods = player.GetPlayerSettingsMods() - settingsMods.append( "turbo_titan" ) - player.SetPlayerSettingsWithMods( player.GetPlayerSettings(), settingsMods ) + + // seems to crash if we set both of these at once? idk odd game + if ( !settingsMods.contains( "pas_mobility_dash_capacity" ) ) + { + settingsMods.append( "turbo_titan" ) + player.SetPlayerSettingsWithMods( player.GetPlayerSettings(), settingsMods ) + } } }
\ No newline at end of file |