1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-09 21:38:09 -05:00

Encounter: choose random game mode from dvar

This commit is contained in:
Jbleezy
2022-02-01 12:05:20 -08:00
parent 37fb14a3e1
commit 4ef15c0f7c
2 changed files with 6 additions and 5 deletions

View File

@ -465,13 +465,13 @@
#### Grief
* Gain score by making enemy players bleed out
* First team to make 25 enemy players bleed out wins the game
* Make 25 enemy players bleed out to win the game
* Players respawn after being down for 10 seconds
* Players retain perks
#### Search & Rezurrect
* Win rounds by getting all enemy players down
* First team to win 3 rounds wins the game
* Win 3 rounds to win the game
* Tie round if both teams die within 5 seconds of eachother
* Sudden death after 5 minute round (all players lose 100 health)
* Players start each round with at least 10000 points
@ -486,7 +486,7 @@
#### Containment
* Gain score by being the team with the most players alive in the containment zone
* First team to gain 250 score wins the game
* Gain 250 score to win the game
* Contested if both teams have the same amount of players alive in the containment zone
* Both teams gain score at half-rate when contested
* Zombies only go after players in the containment zone

View File

@ -313,10 +313,11 @@ set_grief_vars()
{
if(getDvar("ui_gametype_obj") == "")
{
setDvar("ui_gametype_obj", "zsnr");
setDvar("ui_gametype_obj", "zgrief zsnr zrace zmeat zcontainment");
}
level.scr_zm_ui_gametype_obj = getDvar("ui_gametype_obj");
gamemodes = strTok(getDvar("ui_gametype_obj"), " ");
level.scr_zm_ui_gametype_obj = random(gamemodes);
level.noroundnumber = 1;
level.zombie_powerups["meat_stink"].solo = 1;