Raised This Month: $ Target: $400
 0% 

[TF2] Class Unlock 1.0.102


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
500
Plugin Version:
1.0.102
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    As server numbers grow, certain classes are unlocked, depending on values set by server ops.
    Old 08-09-2008 , 23:29   [TF2] Class Unlock 1.0.102
    Reply With Quote #1

    Many players complain that when server player numbers are low, certain classes should not be available, such as the sniper or the heavy.
    This plugin simply locks those classes until player numbers reach a certain quantity.

    Installation
    • Copy sm_class_unlock.smx to addons/sourcemod/plugins
    Configuration
    sm_class_unlock <0 | 1> - enables or disables the plugin

    sm_class_unlock_immunity <0 | 1> - when enabled, admins can access any of the locked classes - Admin level is set to ADMFLAG_GENERIC.

    sm_class_unlock_scout <#>

    sm_class_unlock_sniper <#>
    sm_class_unlock_soldier <#>
    sm_class_unlock_demo <#>
    sm_class_unlock_medic <#>
    sm_class_unlock_heavy <#>
    sm_class_unlock_pyro <#>
    sm_class_unlock_spy <#>
    sm_class_unlock_engineer <#>
    Set any of the above cvars to a number.
    Zero means that the class is always unlocked.

    For example:
    sm_class_unlock_heavy 10
    will unlock the Heavy class when there are ten or more players on the server. Remember the script counts ALL players, not just the number of players on any one team.

    sm_class_unlock_scout 0
    will make the Scout always available


    Changelog
    Version 1.0.100
    SourceMod release.

    Version 1.0.101
    Fixed a bug where players choosing an locked class would get the speed and hp of a scout.

    Version 1.0.102
    Fixed some minor bugs

    Notes
    At least one of the cvars MUST be set to zero or the plugin will not function properly. I'd suggest that Scouts, Medics, Soldiers and Demos can all be left at zero.

    The plugin does not limit class numbers. There are several other plugins that will do this.
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_class_unlock.sp - 2502 views - 4.4 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org

    Last edited by strontiumdog; 10-11-2009 at 22:49.
    strontiumdog is offline
     



    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 05:17.


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