Raised This Month: $32 Target: $400
 8% 

[TF2] Set Class


Post New Thread Reply   
 
Thread Tools Display Modes
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-19-2013 , 14:50   Re: [TF2] Set Class
Reply With Quote #31

No
__________________
DarthNinja is offline
avi9526
Senior Member
Join Date: Apr 2013
Location: Ukraine
Old 07-23-2013 , 18:32   Re: [TF2] Set Class
Reply With Quote #32

In MvM mode You need sometime change Your class.

So, I made some modification to this plugin (https://bitbucket.org/avi9526/set-class/src)
Added command "sm_class" that allows player change only their class.

I made it dirty and don't test much so, please, test it if You can…
avi9526 is offline
avi9526
Senior Member
Join Date: Apr 2013
Location: Ukraine
Old 08-01-2013 , 01:51   Re: [TF2] Set Class
Reply With Quote #33

Ok, this seems to be working… but there is one issue:
when You change class - new character has MvM upgrades from prevision character, this is good, but drawback is that when You change back your class You can lose this upgrades… under some circumstances (seems when You change weapon)

Does anyone has an idea how to fix it in plugin code?
__________________
avi9526 is offline
7106
Senior Member
Join Date: Jun 2013
Old 04-20-2014 , 08:05   Re: [TF2] Set Class
Reply With Quote #34

can u modify plugin
ramdomly set one class for all on round start
7106 is offline
Thunderscunt Krazy
Junior Member
Join Date: Aug 2014
Location: Thunderscunts HQ, NY
Old 02-20-2015 , 00:22   Re: [TF2] Set Class
Reply With Quote #35

Is it possible for you to shorten or add an alternative to change classes? It gets kinda bothersome to constantly type /setclass <name> <class>. I'm sure putting it as !<class> (ex.!spy) would be much quicker.
__________________
Thunderscunt Krazy is offline
Michael Westen
Junior Member
Join Date: May 2015
Old 06-30-2015 , 19:45   Re: [TF2] Set Class
Reply With Quote #36

I put it a quick menu so all you have to do is type !class and choose one of the nine. It's only for sm_class though and not sm_setclass. Also now it prints only to the person changing their class if they did it to themselves using sm_class, admin changes will still show up with sm_setclass_chat enabled.
Attached Files
File Type: sp Get Plugin or Get Source (setclass.sp - 362 views - 9.5 KB)
Michael Westen is offline
Yashakins
Junior Member
Join Date: Nov 2014
Old 07-11-2015 , 01:45   Re: [TF2] Set Class
Reply With Quote #37

Having an issue with this plugin since the most recent update, When you are an engineer and build buildings, then change your class to something else with the plugin, The buildings remain, sentries continue getting kills on your behalf ect. Would be really nice if this could be fixed.
Yashakins is offline
Danger Mode
Junior Member
Join Date: Apr 2014
Location: outback australia
Old 11-23-2015 , 04:30   Re: [TF2] Set Class
Reply With Quote #38

Quote:
Originally Posted by Yashakins View Post
Having an issue with this plugin since the most recent update, When you are an engineer and build buildings, then change your class to something else with the plugin, The buildings remain, sentries continue getting kills on your behalf ect. Would be really nice if this could be fixed.
if you make him fix that on the main plugin, ill hate you forever.

you can just use a remove buildings plugin and rig it to alias whenever a setclass command gets used.

Last edited by Danger Mode; 11-25-2015 at 02:12.
Danger Mode is offline
Send a message via Skype™ to Danger Mode
AlphaBlaster
Member
Join Date: Nov 2014
Location: California
Old 02-21-2016 , 00:03   Re: [TF2] Set Class
Reply With Quote #39

Does anyone have a version of this for the sourcemod "Team Fortress 2 Classic" that can also set class to Civilian and Mercenary?
AlphaBlaster is offline
gry
Junior Member
Join Date: Apr 2014
Location: Russia, Moscow
Old 06-07-2017 , 10:28   Re: [TF2] Set Class
Reply With Quote #40

It stop working after last update. When i change class i have no weapons
__________________
gry 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 21:25.


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