diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 23:46:52 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-17 23:46:52 +0100 |
commit | 27bd240871b7c0f2f49fef137718b2e3c208e3b4 (patch) | |
tree | a46f401fa389edbb42a32fe8674cbde3a28e7632 /Northstar.Custom/scripts/vscripts | |
parent | 1c1d36fad84687a93a629525145c557f78cbf673 (diff) | |
download | NorthstarMods-27bd240871b7c0f2f49fef137718b2e3c208e3b4.tar.gz NorthstarMods-27bd240871b7c0f2f49fef137718b2e3c208e3b4.zip |
ctf switchsides spawn fix (untested)
Diffstat (limited to 'Northstar.Custom/scripts/vscripts')
-rw-r--r-- | Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut | 1 | ||||
-rw-r--r-- | Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_inf.gnut | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut b/Northstar.Custom/scripts/vscripts/gamemodes/_gamemode_gg.gnut index bd9b695a..b9ee40f1 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 2f045a47..8706d53b 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() ) |