Scripts.included.gg hostage rescued levels

From GunGame5 Documentation

Revision as of 04:25, 22 March 2011 by Satoon101 (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

gg_hostage_rescued_levels is used to reward players for rescuing hostages by rewarding them levels.

  • The number of levels awarded, as well as the number of hostages needed to be rescued, can be set to the desired amount for your server.


Variables

gg_hostage_rescued_levels contains the following cvars that can be found in your server's ../cfg/gungame51/gg_objectives_settings.cfg file:
// ============================================================================
// >> HOSTAGE RESCUED LEVELS
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 2"
// Options:
//    0 = Disabled.
//    # = The number of levels to reward a player for rescuing hostages
// Default Value: 0

// Levels to reward a player for rescuing hostages.
   gg_hostage_rescued_levels 0

// ============================================================================
// >> HOSTAGE RESCUED REQUIRED RESCUES
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 2"
//    * Requires "gg_hostage_rescued_levels 1" or higher
// Options:
//    # = The number of hostages a player must rescue to level up.
// Default Value: 0

// Number of hostages rescued required to level up.
   gg_hostage_rescued_rescues 0

// ============================================================================
// >> HOSTAGE RESCUED LEVELING (KNIFE LEVEL)
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 2"
//    * Requires "gg_hostage_rescued_levels 1" or higher
// Options:
//    0 = Do not allow players to level up when they rescue hostages while on knife level.
//    1 = Allow players to level up when they rescue hostages while on knife level.
// Default Value: 0

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

// ============================================================================
// >> HOSTAGE RESCUED LEVELING (HEGRENADE LEVEL)
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 2"
//    * Requires "gg_hostage_rescued_levels 1" or higher
// Options:
//    0 = Do not allow players to level up when they rescue hostages while on HEGrenade level.
//    1 = Allow players to level up when they rescue hostages while on HEGrenade level.
// Default Value: 0

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

Notes

gg_hostage_rescued_levels requires that gg_map_obj be set to 0 or 2. If gg_map_obj is set to 1 or 3, the hostage objective will be completely disabled.

Personal tools