Scripts.included.gg warmup round

From GunGame5 Documentation

Jump to: navigation, search


Description

gg_warmup_round is used to allow players to warmup prior to the match starting.

  • This also allows more players to be ready for the match, especially when changing maps.


Variables

gg_warmup_round contains the following cvars that can be found in your server's ../cfg/gungame51/included_addon_configs/gg_warmup_round.cfg file:
// ****************************************************************************
// *                  gg_warmup_round.cfg -- Gg warmup round                  *
// *                                                                          *
// *            This file defines GunGame Included Addon settings.            *
// *                                                                          *
// *               Note: Any alteration of this file requires a               *
// *                  server restart or a reload of GunGame.                  *
// ****************************************************************************

// ============================================================================
// >> WARMUP ROUND
// ============================================================================
// Notes:
//    * Players cannot level up during the warmup round.
//    * Warmup round is triggered at the start of each map change.
// Options:
//    0 = Disabled.
//    1 = Enabled.
// Default Value: 0

// Enables or disables warmupround.
   gg_warmup_round 0

// ============================================================================
// >> WARMUP ROUND TIMER
// ============================================================================
// Options:
//    The amount of time (in seconds) that the warmup round will last.
// Default Value: 30

// The amount of time (in seconds) that the the warmup round will last.
   gg_warmup_timer 30

// ============================================================================
// >> WARMUP ROUND WEAPON
// ============================================================================
// Notes:
//    * Only supports "weapon_*" entities.
//    * Warmup round is triggered at the start of each map change.
// Options:
//     awp   	scout	aug   	mac10	tmp   	mp5navy	ump45	p90
//     galil	famas	ak47	sg552	sg550	g3sg1	m249	m3
//     xm1014	m4a1	glock	usp   	p228	deagle	elite	fiveseven
//     hegrenade	knife
   
//     0 = The first level weapon
//     weapon1,weapon2,weapon3 = For each warmup, one of these weapons is
//          chosen
//     #random = For each warmup, a random weapon is chosen.
// Default Value: "hegrenade"

// The weapon that players will use during the warmup round.
   gg_warmup_weapon "hegrenade"


// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// |                    WARMUP START AND END CFG SETTINGS                     |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


// ============================================================================
// >> WARMUP ROUND START CFG FILE
// ============================================================================
// Description:
//    Set to the .cfg file to be executed when Warmup Round starts.
// Notes:
//    * The cfg file should contain the GunGame values you wish to use for the
//       current map.
//    * Make sure to turn off addons that should not be used during Warmup
//       Round "prior" to turning on any addons that should be used during
//       Warmup Round.
//    * The path to the file "must" be relative to the "../cfg/gungame51/"
//       folder
// Default Value: "included_addon_configs/warmup_round_start_default"

// CFG file to be executed when Warmup Round starts.
   gg_warmup_start_file "included_addon_configs/warmup_round_start_default"

// ============================================================================
// >> WARMUP ROUND END CFG FILE
// ============================================================================
// Description:
//    Set to the .cfg file to be executed when Warmup Round ends.
// Notes:
//    * The cfg file should contain the GunGame values you wish to use for the
//       current map.
//    * Make sure to turn off any addons that were used during Warmup Round and
//       are not needed for the current match, "prior" to turning on any addons
//       that are needed for the current match.
//    * The path to the file "must" be relative to the "../cfg/gungame51/"
//       folder
// Default Value: "included_addon_configs/warmup_round_end_default"

// CFG file to be executed when Warmup Round ends.
   gg_warmup_end_file "included_addon_configs/warmup_round_end_default"


// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// |                     WARMUP ROUND EXTENSION SETTINGS                      |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


// ============================================================================
// >> MINUMUM HUMAN PLAYERS
// ============================================================================
// Description:
//    Set to the minimum number of players needed for Warmup Round to end.
// Default Value: 0

// Number of human players needed for Warmup Round to end.
   gg_warmup_round_min_players 0

// ============================================================================
// >> MAX EXTENSIONS
// ============================================================================
// Description:
//    Number of extensions allowed before Warmup Round automatically ends.
// Default Value: 1

// Maximum number of extensions allowed before Warmup Round ends.
   gg_warmup_round_max_extensions 1

// ============================================================================
// >> MIN HUMAN PLAYERS REACHED
// ============================================================================
// Description:
//    Determines whether or not to end Warmup Round when the minimum number of
//       players has been reached.
// Options:
//    0 = Never end Warmup as soon as min players is reached.
//    1 = Only end Warmup if in "extended" time when min players is reached.
//    2 = End Warmup Round as soon as min players is reached.
// Default Value: 0

// Allows Warmup Round to end when min players is reached.
   gg_warmup_round_players_reached 0
Personal tools