Scripts.included.gg hostage killed punish

From GunGame5 Documentation

(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
// 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 ==
 +
'''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.

Revision as of 04:44, 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.

Personal tools