Raised This Month: $12 Target: $400
 3% 

[TF2] Intelligence Protector


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
heffebaycay
Junior Member
Join Date: Nov 2010
Plugin ID:
2145
Plugin Version:
1.1.2
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Prevents players from taking the intelligence on CTF maps.
    Old 12-26-2010 , 18:16   [TF2] Intelligence Protector
    Reply With Quote #1

    [TF2] Intelligence Protector




    Description:

    When enabled, this plugin will disable the intelligence and force any player carrying it to drop it.

    If a player is carrying the intel when the plugin is activated, he will be forced to drop it, and the intel will disappear. Upon reactivation, the intelligence will re-appear at its last known location, with its timer being reset.

    Known issue : after being teleported back, the circular intelligence timer won't be visible. Even though it is not visible, it is still working and the intel will eventually get back to its base.

    Each use of the command !intelp is logged.

    Screenshot : http://img825.**************/img825/5...protector2.png

    Command:
    • !intelp - Toggle intelligence protection

    ConVars:
    • sm_intelp_enabled <1/0> - Reports the status of this plugin (1=enabled, 0=disabled)
    • sm_intelp_version - Plugin version.


    Note:

    If a player was carrying the intelligence when an admin enabled this plugin, the briefcase will disappear but the "intelligence timer" will stay visible until intelligence protection is disabled by another admin.


    Credits:
    - Matthias Vance, for his plugin "[TF2] Intelligence Timer" that gave me some ideas on how to work with intelligence timers.

    Version history:

    1.1.2 (12/28/2010) :
    - Once intel protection is disabled, the intel will be teleported back to its last known position.
    - Removed cvar sm_intelp_delay, not needed anymore.

    1.1.1 (12/28/2010) :
    - Now using "ForceDrop" entity input to force players to drop the intelligence, instead of the client command "dropitem".
    - Removed consts "Red_Team" and "Blu_Team".

    1.1 (12/27/2010) :
    - Now disabling the intel instead of forcing players to drop it.
    - Removed kick and warning features since they aren't needed anymore.
    - If a player is carrying the intel when the plugin is activated, intel position won't be lost.
    1.0 (12/26/2010) :
    - Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (intel_protector.sp - 2468 views - 4.7 KB)

    Last edited by heffebaycay; 12-28-2010 at 09:12. Reason: plugin update (v1.1.2)
    heffebaycay is offline
     


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 22:31.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode