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

[TF2] Class Enforcer


Post New Thread Reply   
 
Thread Tools Display Modes
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 01-14-2013 , 20:47   Re: [TF2] Class Enforcer
Reply With Quote #31

Okay, never mind, I thought the plugin was a 'type in console' plugin to change everyone instantly. My bad
VintageEpicFail is offline
MyWarthog
Senior Member
Join Date: Feb 2013
Old 02-23-2013 , 12:07   Re: [TF2] Class Enforcer
Reply With Quote #32

Bots are not forced, even with the fix.
MyWarthog is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-01-2014 , 12:58   Re: [TF2] Class Enforcer
Reply With Quote #33

Since no one has pointed this out yet, this plugin is essentially the base of the recent Class Wars phenomenon.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 08-12-2014 , 12:04   Re: [TF2] Class Enforcer
Reply With Quote #34

Why no class for single player :/
kot4404 is offline
Marverlous
Senior Member
Join Date: May 2013
Old 05-10-2015 , 16:48   Re: [TF2] Class Enforcer
Reply With Quote #35

Could someone make it so that it announces (on round start) in center text too all player when both team is restricted to a classes?

For example: "Soldiers versus Pyros" or "Spies versus Spies"

Thank you, and this is such a good plugins. I'm awaiting when it will finally work with Bots
__________________

Last edited by Marverlous; 05-10-2015 at 23:26.
Marverlous is offline
Marverlous
Senior Member
Join Date: May 2013
Old 05-16-2015 , 23:46   Re: [TF2] Class Enforcer
Reply With Quote #36

Ya know, it would be quite a neat feature to log the win/lost-count of each class against different classes.


Players are reporting a lot of framerate drop for some reason :/ this usually happen on a full server
__________________

Last edited by Marverlous; 05-17-2015 at 16:46.
Marverlous is offline
MyWarthog
Senior Member
Join Date: Feb 2013
Old 10-26-2015 , 17:02   Re: [TF2] Class Enforcer
Reply With Quote #37

I worked on a few patches for this over the Summer and added a couple of ideas to it that were mentioned previously on the thread.

Changelog:
Code:
/* [TF2] Class Enforcer
 * Plugin originally written by: linux_lover
 *
 * Changelog:
 *
 * 0.3.0 10/25/2015 - mywarthog:
 * - The admin flag is no longer hardcoded.
 *   - Added override sm_ce_forceimmuned
 *   - Immunity defaults to the Slay Flag (f)
 * - Added announcements (sm_ce_announce -1/0/1/2)
 * - Added change forced class restarting (sm_ce_restart_type 0/1/2)
 * - The plugin now works on bots.
 * - Started a changelog
 * - The config file is now automatically generated.
 * - Announces the classes to the server at the start of a round, controlled by a new CVar: sm_ce_announce
 * - Added a way to select a Round Restart type: CVar sm_ce_restart_type
 * - Added FCVAR_DONTRECORD to the Plugin's Version CVar definition
 * - Added a default class for both the sm_ce_blue and the sm_ce_red ConVars.
 *
 */

I meant to release this back in August, but went through a bad experience with a **** that took me some time to recover from.

New CVars:
- sm_ce_announce (Default: 0) - Type of announcement to make on round start. -1 = Off, 0 = Chat, 1 = Center HUD, 2 = Hint Box.
- sm_ce_restart_type (Default: 0) - Restart round type. 0 = Disabled/Off, 1 = Restart the round, 2 = Respawn all Players.

New Overrides:
- sm_ce_forceimmuned *Defaults to the Slay (f) flag.*

New Config File Updates:
Delete the existing file before loading the newly updated plugin in order to replace it. Write down all settings.
- Added config file plugin.class_enforcer.cfg in the /tf/cfg/sourcemod folder.

Enjoy!
Attached Files
File Type: sp Get Plugin or Get Source (class_enforcer.sp - 500 views - 12.5 KB)

Last edited by MyWarthog; 10-26-2015 at 20:18.
MyWarthog is offline
Reply



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 02:46.


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