Scripts.included.gg bomb defused levels

From GunGame5 Documentation

Revision as of 04:23, 22 March 2011 by Satoon101 (Talk | contribs)
Jump to: navigation, search

Description

gg_bomb_defused_levels is used to reward players for defusing bombs by awarding them levels.

  • The number of levels a player is awarded for defusing a bomb can be set to the desired amount for your server.


Variables

gg_bomb_defused_levels contains the following cvars that can be found in your server's ../cfg/gungame51/gg_objectives_settings.cfg file:
// ============================================================================
// >> BOMB DEFUSED LEVELS
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 3"
// Options:
//    0 = Disabled.
//    # = The number of levels to reward a player for bomb defusal
// Default Value: 0

// Levels to reward a player for bomb defusal.
   gg_bomb_defused_levels 0

// ============================================================================
// >> BOMB DEFUSED LEVELING (KNIFE LEVEL)
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 3"
//    * Requires "gg_bomb_defused_levels 1" or higher
// Options:
//    0 = Do not allow players to level up if they defuse the bomb while on knife level.
//    1 = Allow players to level up if they defuse the bomb while on knife level.
// Default Value: 0

// Allow players to level up when they are on knife level.
   gg_bomb_defused_skip_knife 0

// ============================================================================
// >> BOMB DEFUSED LEVELING (HEGRENADE LEVEL)
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 3"
//    * Requires "gg_bomb_defused_levels 1" or higher
// Options:
//    0 = Do not allow players to level up if they defuse the bomb while on HEGrenade level.
//    1 = Allow players to level up if they defuse the bomb while on HEGrenade level.
// Default Value: 0

// Allow players to level up when they are on HEGrenade level.
   gg_bomb_defused_skip_nade 0

Notes

gg_bomb_defused_levels requires that gg_map_obj be set to 0 or 3. If gg_map_obj is set to 1 or 2, bombing will be completely disabled.

Personal tools