Scripts.included.gg hostage rescued levels
From GunGame5 Documentation
(Difference between revisions)
(Created page with '== 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 ...') |
|||
Line 1: | Line 1: | ||
- | + | {{Addons| | |
- | + | ||
- | |||
+ | name=gg_hostage_rescued_levels| | ||
- | = | + | |
- | + | description=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.| | ||
+ | |||
+ | |||
+ | cfg_file=gg_objectives_settings| | ||
+ | |||
+ | |||
+ | cfg_contents=<pre>// ============================================================================ | ||
// >> HOSTAGE RESCUED LEVELS | // >> HOSTAGE RESCUED LEVELS | ||
// ============================================================================ | // ============================================================================ | ||
Line 58: | Line 65: | ||
// Allow players to level up when they are on HEGrenade level. | // Allow players to level up when they are on HEGrenade level. | ||
- | gg_hostage_rescued_skip_nade 0</pre> | + | gg_hostage_rescued_skip_nade 0</pre>}} |
== Notes == | == Notes == | ||
'''gg_hostage_rescued_levels <span style="color:red">requires</span>''' that '''gg_map_obj''' be set to '''<span style="color:blue">0</span>''' or '''<span style="color:blue">2</span>'''. If '''gg_map_obj''' is set to '''<span style="color:red">1</span>''' or '''<span style="color:red">3</span>''', the hostage objective will be completely disabled. | '''gg_hostage_rescued_levels <span style="color:red">requires</span>''' that '''gg_map_obj''' be set to '''<span style="color:blue">0</span>''' or '''<span style="color:blue">2</span>'''. If '''gg_map_obj''' is set to '''<span style="color:red">1</span>''' or '''<span style="color:red">3</span>''', the hostage objective will be completely disabled. |
Current revision as of 22:42, 22 March 2011
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.