Scripts.included.gg hostage stopped levels

From GunGame5 Documentation

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

Description

gg_hostage_stopped_levels is used to reward players for killing other players who have hostages following by awarding them levels.

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


Variables

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

// Levels to reward a player for stopping other players from rescuing hostages.
   gg_hostage_stopped_levels 0

// ============================================================================
// >> HOSTAGE RESCUED REQUIRED STOPS
// ============================================================================
// Notes:
//    * Requires "gg_map_obj 0" or "gg_map_obj 2"
//    * Requires "gg_hostage_stopped_levels 1" or higher
// Options:
//    # = The number of hostages a player must stop from being rescued to level up.
// Default Value: 0

// Number of hostages stopped required to level up.
   gg_hostage_stopped_stops 0

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

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

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

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

Notes

gg_hostage_stopped_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