AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   TF2 Class limit (https://forums.alliedmods.net/showthread.php?t=62630)

Automicbomb 09-04-2013 18:09

Re: TF2 Class limit
 
I try to add map based class limit (only heavy) but still i get all the classes. Im trying to do melee only map with just heavys but only problem is the plugin

igotfits 03-30-2014 15:30

Re: TF2 Class limit
 
I have but 2 questions............................

1: Is there anyway to fix it to where to the player whom is being switched from one team to another not to take a slot of the team hes being switched to? for (ex: I have 4 snipers on red, a blue sniper dies and gets switched over to red, When he is switched over from blue to red he knocks a red sniper off sniper and he takes his spot.) i want the player whos being switched to lose his spot not the one who isnt being switched.

2: sometimes it is a bit buggy sometimes the limit doesnt work sometimes it does, has it been updated to correct that?

robotortoise 07-15-2014 23:53

Re: TF2 Class limit
 
Oh jeez. Yeah, this doesn't function anymore since Love and War. What happened?

eraserhead 06-20-2015 10:13

Re: TF2 Class limit
 
This plugin still works for me although it has been causing a slight problem lately. It tries to download files which are not on the server when you connect. Examples:

sound/vo/soldier_no01.wav
sound/vo/medic_no03.wav

Anyone have an idea why?

MyWarthog 08-07-2015 02:26

Re: TF2 Class limit
 
1 Attachment(s)
Quote:

Originally Posted by eraserhead (Post 2309847)
This plugin still works for me although it has been causing a slight problem lately. It tries to download files which are not on the server when you connect. Examples:

sound/vo/soldier_no01.wav
sound/vo/medic_no03.wav

Anyone have an idea why?

I fixed this. No more downloading. It was caused by the mod looking for the old .wav files as opposed to the new Valve method of using .mp3 files. The version is now 4.9. Enjoy.

Code:

*                4.9 : by mywarthog
 *                  Fixed the voice files downloading. Caused by using the outdated extensions of .wav - They should now be .mp3.


MyWarthog 08-07-2015 16:15

Re: TF2 Class limit
 
1 Attachment(s)
Released another update, 4.9a.

This fixed an issue where the version number change/update got overridden by the config files.... and thus caused an error on Player Join. The fix was to add the flag FCVAR_DONTRECORD to the sm_tf_maxclass CVar in order to prevent the auto-genned configuration file from having this written to it. If anyone else has this issue on a plugin with this sort of a thing, check for that. You will also need to remove that CVar from your config file, or delete it completely and regen it.



NOTE: BEFORE INSTALLING THIS PLUGIN, YOU WILL HAVE TO EITHER DELETE AND RECREATE YOUR cfg/sourcemod/maxclass.cfg FILE AND HAVE IT AUTO-REGENNED, OR JUST SIMPLY REMOVE THIS PART OF IT:

Code:

// TF2 max class
// -
// Default: "4.8"
sm_tf_maxclass "4.8"

YOU WILL ONLY HAVE TO DO THIS ONCE. FUTURE UPDATES FROM THIS VERSION (4.9a) WILL NO LONGER REQUIRE THIS.


Also... can this page (http://www.sourcemod.net/stats.php?m...0&addon_id=231) be fixred to track the right CVars now as well?

Sorry for the Double Post, hopefully this is OK in this case.

Code:

*                4.9a : by mywarthog
 *                  Fixed the error on player join that was occuring: 'ConVarRef sm_tf_maxclass doesn't point to an existing ConVar'
 *                  I added my list to the names of the authors since it appears to be a list of anyone that's fixed a bug. Hopefully this is ok.


DIA666 11-08-2016 03:00

Re: TF2 Class limit
 
Nice but can be better...

matthewboy2000 03-27-2017 12:14

Re: TF2 Class limit
 
the .txt config file isn't contained in the download.

DoctorSamsy 11-19-2017 04:26

Re: TF2 Class limit
 
Where is the MaxClass.txt?

SSJG Goku 02-04-2022 08:36

Re: TF2 Class limit
 
Works great to this day, I will post the links to the posts that has the files needed.

Latest version of the plugin that works.
https://forums.alliedmods.net/showpo...&postcount=456

The required MaxClass.txt file
https://forums.alliedmods.net/showpo...&postcount=393

Phrases found attached in the first post
https://forums.alliedmods.net/showpo...07&postcount=1

Installation;
  • Put MaxClass.smx into tf\addons\sourcemod\plugins
  • Put MaxClass.txt into tf\addons\sourcemod\configs
  • Put maxclass.phrases into tf\addons\sourcemod\translations
  • To edit the limits of each class, look into MaxClass.txt and it should be fairly easy to understand


All times are GMT -4. The time now is 09:29.

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