Scripts.included.gg multi level

From GunGame5 Documentation

Jump to: navigation, search


Description

gg_multi_level is used to reward players for gaining multiple levels in a row without dying.

  • The player will receive the following effect:
    • Increased speed
    • Altered gravity
    • Spark trail
    • They also emit a sound (or song)


Variables

gg_multi_level contains the following cvars that can be found in your server's ../cfg/gungame51/included_addon_configs/gg_multi_level.cfg file:
// ============================================================================
// >> MULTI-LEVEL
// ============================================================================
// Description:
//    The number of times a player has to level up without dying prior to
//    recieving the multi-level bonus:
//       * The attacker will be given a speed boost.
//       * The attacker will have sparks fly from their feet.
//       * The attacker will have music emitted from their location.
// Note:
//    * Formally knows as Triple Level Bonus.
// Options:
//    0 = (Disabled) Do not load gg_multi_level.
//    # = (Enabled) The number of levels a player must get before achieving the
//                  multi-level bonus.
// Default Value: 0

// The # of levels it takes to get the multi-level bonus.
   gg_multi_level 0

// ============================================================================
// >> MULTI-LEVEL SPEED
// ============================================================================
// Description:
//    The percentage of speed that players receieving the multi-level bonus
//    will have.
// Options:
//    100 = (Disabled) Keep the player's speed unchanged.
//    # = (Enabled) The percentage of normal speed the player will have.
// Default Value: 150

// The percentage of gravity included with the multi-level bonus.
   gg_multi_level_speed 150

// ============================================================================
// >> MULTI-LEVEL GRAVITY
// ============================================================================
// Description:
//    The percentage of gravity that players receieving the multi-level bonus
//    will have.
// Options:
//    100 = (Disabled) Keep the player's gravity unchanged.
//    # = (Enabled) The percentage of normal gravity the player will have.
// Default Value: 100

// The percentage of gravity included with the multi-level bonus.
   gg_multi_level_gravity 100

// ============================================================================
// >> MULTI-LEVEL TK VICTIM RESET
// ============================================================================
// Description:
//    Victims of team killings will not have their level-up count reset.
// Options:
//    0 = (Disabled) All players will have their level-up count reset
//                   when they die.
//    1 = (Enabled) Team kill victims not have their level-up count reset
// when they die.
// Default Value: 0

// Continue multi level count for TK victims.
   gg_multi_level_tk_reset 0
Personal tools