Scripts.included.gg knife pro

From GunGame5 Documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '== Description == '''gg_knife_pro''' is used to allow players to ''steal'' levels from other players by knifing them. *The knifing player will gain 1 level. *The player being k...')
 
Line 1: Line 1:
-
== Description ==
+
{{Addons|
-
'''gg_knife_pro''' is used to allow players to ''steal'' levels from other players by knifing them.
+
 
 +
 
 +
name=gg_knife_pro|
 +
 
 +
 
 +
description=is used to allow players to ''steal'' levels from other players by knifing them.
*The knifing player will gain 1 level.
*The knifing player will gain 1 level.
-
*The player being knifed will lose 1 level.
+
*The player being knifed will lose 1 level.|
 +
 
 +
 
 +
cfg_file=included_addon_configs/gg_knife_pro|
-
== Variables ==
+
cfg_contents=<pre>// ============================================================================
-
'''gg_knife_pro''' contains the following cvars that can be found in your server's <span style="color:red">../cfg/gungame51/included_addon_configs/gg_knife_pro.cfg</span> file:<pre>// ============================================================================
+
// >> KNIFE PRO
// >> KNIFE PRO
// ============================================================================
// ============================================================================
Line 71: Line 78:
// Enables/Disables always skipping nade.
// Enables/Disables always skipping nade.
-
   gg_knife_pro_skip_nade 0</pre>
+
   gg_knife_pro_skip_nade 0</pre>}}

Current revision as of 22:45, 22 March 2011


Description

gg_knife_pro is used to allow players to steal levels from other players by knifing them.

  • The knifing player will gain 1 level.
  • The player being knifed will lose 1 level.


Variables

gg_knife_pro contains the following cvars that can be found in your server's ../cfg/gungame51/included_addon_configs/gg_knife_pro.cfg file:
// ============================================================================
// >> KNIFE PRO
// ============================================================================
// Description:
//     When you kill a player with a knife, you will level up, and the victim
//    will level down.
//     The attacker will not steal a level if they are on hegrenade or knife
//     level, or if the victim can't level down.
// Options:
//     0 = (Disabled) Do not load gg_knife_pro.
//     1 = (Enabled) Load gg_knife_pro.
// Default Value: 0

// Enables/Disables gg_knife_pro
   gg_knife_pro 0

// ============================================================================
// >> KNIFE PRO LIMIT
// ============================================================================
// Description:
//     Limits level stealing to players close to your own level.
// Example:
//     If this is set to 3, you will not gain a level if you knife someone
//     more than 3 levels below you.
// Options:
//     0 = (Disabled) Do not enable the knife pro limit.
//     # = (Enabled) Limit level stealing to this # of levels below the
//                  attacker.
// Default Value: 0

// Limit level stealing to this # of levels below the attacker.
   gg_knife_pro_limit 0

// ============================================================================
// >> KNIFE PRO ALWAYS LEVEL
// ============================================================================
// Description:
//     The attacker will always level up unless they are on hegrenade level.
//     The victim will always level down.
// Note:
//     gg_knife_pro_limit still prevents leveling if enabled.
// Options:
//     0 = (Disabled) Conform to logical gg_knife_pro ruling
//     1 = (Enabled) Always affect levels with exception to the situations in
//                    the description above.
// Default Value: 0

// Enables/Disables always stealing levels.
   gg_knife_pro_always_level 0

// ============================================================================
// >> KNIFE PRO ALLOW SKIP NADE
// ============================================================================
// Description:
//     The attacker may skip grenade level with a knife kill.
// Note:
//     gg_knife_pro_limit still prevents leveling if enabled.
// Options:
//     0 = (Disabled) Conform to logical gg_knife_pro ruling
//     1 = (Enabled) Allow players to knife past nade level.
// Default Value: 0

// Enables/Disables always skipping nade.
   gg_knife_pro_skip_nade 0
Personal tools