Scripts.included.gg hostage killed punish

From GunGame5 Documentation

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


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