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

[TF2] Class Enforcer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Plugin ID:
832
Plugin Version:
0.2.1
Plugin Category:
All
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    9 
    Plugin Description:
    Force red or blue to one class.
    Old 03-15-2009 , 22:07   [TF2] Class Enforcer
    Reply With Quote #1

    Current version: 0.2.1

    Purpose: To force red or blue to one class or another. Useful to have for those fun gaming nights or for some achievement maps.

    Cvars with their default value:
    • sm_ce_enable "0" Enable/Disable 1/0
    • sm_ce_blue "" Forced class for the blue team.
    • sm_ce_red "" Forced class for the red team.
    • sm_ce_random "0" Enable/Disable random class rounds. (entire team keeps the same class) 1/0
    • sm_ce_admin "0" Override for admins with the slay (f) flag. 1/0
    Acceptable Classes: scout, soldier, pyro, demo/demoman, heavy, engineer/engy, medic, sniper, spy, and random works as well.

    Reminders:

    Leaving any class cvar blank simply ignores any forced class for that team. Putting in something wild defaults the class to scout. Admin override works for anyone that can run the slay command. (sm_slay)
    Attached Files
    File Type: sp Get Plugin or Get Source (class_enforcer.sp - 2517 views - 4.4 KB)

    Last edited by pheadxdll; 01-14-2013 at 19:41.
    pheadxdll is offline
    Balisong
    Junior Member
    Join Date: Jan 2009
    Location: Canada
    Old 03-22-2009 , 12:42   Re: [TF2] Class Enforcer
    Reply With Quote #2

    nice plugin

    Is it possible to enable this plugin for specific maps only ?
    I have ctf_pro_bball in mind
    sniper maps might be a good idea too

    thanks in advance
    __________________
    Balisong is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 03-22-2009 , 13:27   Re: [TF2] Class Enforcer
    Reply With Quote #3

    Put sm_ce_enable in map.cfgs/server.cfg
    __________________
    MikeJS is offline
    Balisong
    Junior Member
    Join Date: Jan 2009
    Location: Canada
    Old 03-25-2009 , 14:31   Re: [TF2] Class Enforcer
    Reply With Quote #4

    Thanks Mike, that helped !


    pheadxdll, your plugin works great
    very nice work, this solved some problems for me.
    Thanks
    __________________
    Balisong is offline
    MjrNuT
    SourceMod Donor
    Join Date: Feb 2008
    Location: Under the Beaming CA Sun
    Old 04-14-2009 , 14:25   Re: [TF2] Class Enforcer
    Reply With Quote #5

    Hey MikeJS,

    Thanks for making this. It accomplishes a portion of what I'm looking for. I'll something better than nothing.

    Here is link to my request (put in wrong place though) in case it peeks your interest. I'm not asking for you to do it, just that it is related in a small way.

    Thanks!
    __________________
    Flames and Ash Gaming
    Addon: SM v1.4.0-dev MM 1.8.5-dev
    Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
    MjrNuT is offline
    MikeJS
    Senior Member
    Join Date: Nov 2008
    Old 04-14-2009 , 14:31   Re: [TF2] Class Enforcer
    Reply With Quote #6

    This isn't my plugin
    __________________
    MikeJS is offline
    MjrNuT
    SourceMod Donor
    Join Date: Feb 2008
    Location: Under the Beaming CA Sun
    Old 04-14-2009 , 14:37   Re: [TF2] Class Enforcer
    Reply With Quote #7

    me a tard!!

    Sorry. Well, MikeJS, thanks for answering the other guy's post about map specific (although I knew that one).

    So, pheadxdll, thank YOU for this plugin.

    What is the hold up on approving, if it is known?
    __________________
    Flames and Ash Gaming
    Addon: SM v1.4.0-dev MM 1.8.5-dev
    Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
    MjrNuT is offline
    pheadxdll
    AlliedModders Donor
    Join Date: Jun 2008
    Old 04-14-2009 , 21:57   Re: [TF2] Class Enforcer
    Reply With Quote #8

    Thanks

    I think they are a little behind. No worries, I updated it last night to add the ability to enter a random class.
    __________________
    pheadxdll is offline
    Agent Wave
    Member
    Join Date: May 2009
    Old 08-11-2009 , 00:46   Re: [TF2] Class Enforcer
    Reply With Quote #9

    Is there a proper way to respawn people after a class has been set with this plugin? When I go Soldier, set myself with this plugin to Medic and suicide I end up with Soldier weapons and medic ammo until I go to the health cabinet. Slaying myself doesn't seem to do any better than suiciding.
    Agent Wave is offline
    pheadxdll
    AlliedModders Donor
    Join Date: Jun 2008
    Old 08-11-2009 , 01:28   Re: [TF2] Class Enforcer
    Reply With Quote #10

    Haven't updated this in awhile. I think the last TF2 broke this. I'll get it fixed soon.
    pheadxdll is offline
    Reply


    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 04:53.


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