AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Class Enforcer (https://forums.alliedmods.net/showthread.php?t=87748)

pheadxdll 03-15-2009 22:07

[TF2] Class Enforcer
 
1 Attachment(s)
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)

Balisong 03-22-2009 12:42

Re: [TF2] Class Enforcer
 
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 :mrgreen:

MikeJS 03-22-2009 13:27

Re: [TF2] Class Enforcer
 
Put sm_ce_enable in map.cfgs/server.cfg

Balisong 03-25-2009 14:31

Re: [TF2] Class Enforcer
 
Thanks Mike, that helped !


pheadxdll, your plugin works great
very nice work, this solved some problems for me.
Thanks :up:

MjrNuT 04-14-2009 14:25

Re: [TF2] Class Enforcer
 
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!

MikeJS 04-14-2009 14:31

Re: [TF2] Class Enforcer
 
This isn't my plugin :wink:

MjrNuT 04-14-2009 14:37

Re: [TF2] Class Enforcer
 
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?

pheadxdll 04-14-2009 21:57

Re: [TF2] Class Enforcer
 
Thanks :D

I think they are a little behind. No worries, I updated it last night to add the ability to enter a random class.

Agent Wave 08-11-2009 00:46

Re: [TF2] Class Enforcer
 
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.

pheadxdll 08-11-2009 01:28

Re: [TF2] Class Enforcer
 
Haven't updated this in awhile. I think the last TF2 broke this. I'll get it fixed soon.


All times are GMT -4. The time now is 06:52.

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