From 27bd240871b7c0f2f49fef137718b2e3c208e3b4 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:46:52 +0100 Subject: ctf switchsides spawn fix (untested) --- Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut | 1 + Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'Northstar.Custom/scripts/vscripts') diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut index bd9b695a1..b9ee40f1f 100644 --- a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut +++ b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut @@ -4,6 +4,7 @@ void function GamemodeGG_Init() { SetSpawnpointGamemodeOverride( FFA ) + SetShouldUseRoundWinningKillReplay( true ) Evac_SetEnabled( false ) SetLoadoutGracePeriodEnabled( false ) // prevent modifying loadouts with grace period SetWeaponDropsEnabled( false ) diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut index 2f045a476..8706d53b1 100644 --- a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut +++ b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut @@ -103,7 +103,7 @@ void function RespawnInfected( entity player ) player.kv.airAcceleration = 2500 // scale health with num of infected, with 50 as base health - player.SetMaxHealth( GetPlayerArrayOfTeam( INFECTION_TEAM_SURVIVOR ).len() * 10 ) + player.SetMaxHealth( ( GetPlayerArrayOfTeam( INFECTION_TEAM_SURVIVOR ).len() + 1 ) * 10 ) // set loadout foreach ( entity weapon in player.GetMainWeapons() ) -- cgit v1.2.3