View Single Post
Plugin Info:     Modification:          Category:          Approver:   Brad (55)
VEN
Veteran Member
Join Date: Jan 2005
Old 02-20-2006 , 10:43   AFK Bomb Transfer v0.4
Reply With Quote #1

        • AFK Bomb Transfer
Description
  • Plugin allow transfer bomb from AFK terrorist to closest non-AFK teammate.
    Plugin will have no effect:
    • - at the freezetime
      - if bomb is planting
      - on non-bomb maps (comment #define BOMB_MAP_CHECK to suppress)
Modules
  • fakemeta
CVARs
  • afk_bombtransfer_spawn (N: seconds, default: 7) - max. allowed bomb carrier AFK time
    • affects on spawned AFK bomb carrier which never moved after spawn
    afk_bombtransfer_time (N: seconds, default: 15) - max. allowed bomb carrier AFK time
    • affects on any AFK bomb carrier except one which obey previous CVAR
HUD Messages
  • Terrorist team (green color)
    • Bomb transferred to "NEW_CARRIER_NAME"
      since "AFK_CARRIER_NAME" is AFK
    New bomb carrier (yellow color)
    • You got the bomb!
    Note: by defult message display time is 7 seconds (define MSG_TIME)
Versions
  • 0.4
    • backpack transfer method greatly improved
      added pcvar natives support (backward compatibility saved)
      few code optimization
    0.3
    • now fakemeta instead of engine required (efficiency++ if engine is disabled)
      "non-bomb map" check can be disabled (//#define BOMB_MAP_CHECK)
      backpack finding method improved
      few code optimization
      added comments to the plugin source code
    0.2
    • fixed format issue
      code optimized
      description improved
    0.1
    • first release
Attached Files
File Type: sma Get Plugin or Get Source (afkbombtransfer.sma - 40814 views - 7.4 KB)
VEN is offline