Scripts.included.gg hostage killed punish
From GunGame5 Documentation
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | {{Addons| | |
- | + | ||
- | |||
+ | name=gg_hostage_killed_punish| | ||
- | = | + | |
- | + | description=is used to punish players for killing hostages by leveling them down. | |
+ | |||
+ | *The number of levels punished, as well as the number of hostages needed to be killed, can be set to the desired amount for your server.| | ||
+ | |||
+ | |||
+ | cfg_file=gg_punishment_settings| | ||
+ | |||
+ | |||
+ | cfg_contents=<pre>// ============================================================================ | ||
// >> HOSTAGE KILLED PUNISHMENT | // >> HOSTAGE KILLED PUNISHMENT | ||
// ============================================================================ | // ============================================================================ | ||
Line 25: | Line 32: | ||
// The number of levels a player will lose if they kill hostages. | // The number of levels a player will lose if they kill hostages. | ||
- | gg_hostage_killed_kills 0</pre> | + | gg_hostage_killed_kills 0</pre>}} |
== Notes == | == Notes == | ||
'''gg_hostage_killed_punish <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_killed_punish <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:41, 22 March 2011
Description
gg_hostage_killed_punish is used to punish players for killing hostages by leveling them down.
- The number of levels punished, as well as the number of hostages needed to be killed, can be set to the desired amount for your server.
Variables
gg_hostage_killed_punish contains the following cvars that can be found in your server's ../cfg/gungame51/gg_punishment_settings.cfg file:// ============================================================================ // >> HOSTAGE KILLED PUNISHMENT // ============================================================================ // Options: // 0 = No punishment. // # = The number of levels a player will lose if they kill hostages // Default Value: 0 // The number of levels a player will lose if they kill hostages. gg_hostage_killed_punish 0 // ============================================================================ // >> HOSTAGE KILLED REQUIRED KILLS // ============================================================================ // Options: // # = The number of hostages killed required to level the player down // Default Value: 0 // The number of levels a player will lose if they kill hostages. gg_hostage_killed_kills 0
Notes
gg_hostage_killed_punish 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.