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

[TF2] Class Warfare (v.2, 2011-9-25)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Flynn99
New Member
Join Date: Sep 2011
Plugin ID:
2580
Plugin Version:
.1
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    A Team Fortress 2 mod that restricts each team to a single random class.
    Old 09-23-2011 , 15:11   [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #1

    TF2 Class Warfare

    About
    A Team Fortress 2 mod that restricts each team to a single random class.
    I've had fun with silly mono-class rushes and thought and it would made a fun mode.

    ConVars
    sm_classwarfare_enabled (0/1, default 1)
    Enable/disable restricting classes in TF2.

    sm_classwarfare_flags (default "")
    Admin flags for restricted classes in TF2.

    sm_classwarfare_immunity (0/1, default 0)
    Enable/disable admins being immune for restricted classes in TF2.

    Admin Commands
    No Commands yet.

    Developers
    This code is based on the class restrictions mod by Tsunami: http://forums.alliedmods.net/showthread.php?t=73104
    My version is up here: https://github.com/JonathanFlynn/Class-Warfare

    Plans
    • Shuffle admin command and/or vote, to randomize teams again when matchups aren't fun.
    • Set to 2 or 3 classes per side as well as mono class.
    • Randomize classes according to an configurable interval instead.

    Test Server
    96.126.107.49:27015

    Changelog
    • 0.1
      • Initial Release
    • 0.2
      • Code cleanup, fixed bug where classes were sticking after the server switches the teams.
    Attached Files
    File Type: sp Get Plugin or Get Source (ClassWarfare.sp - 3581 views - 10.5 KB)

    Last edited by Flynn99; 09-25-2011 at 04:43. Reason: Missing info
    Flynn99 is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 09-23-2011 , 16:01   Re: [TF2] Class Warfare (v.1, 2011-9-23)
    Reply With Quote #2

    Fill out plugin description field.
    Fill out the public cvar field with the cvar in your code.
    Place DONTRECORD on your version cvar to always show the correct version number.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    Flynn99
    New Member
    Join Date: Sep 2011
    Old 09-23-2011 , 16:31   Re: [TF2] Class Warfare (v.1, 2011-9-23)
    Reply With Quote #3

    Got it. Hit the preview bug which wipes that data.
    Flynn99 is offline
    SmackDaddy
    Veteran Member
    Join Date: Oct 2009
    Old 10-24-2011 , 16:11   Re: [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #4

    Has anyone tried this? Any videos of this in action?

    Also, the admin flag cvars you have, does this mean admins can be a different class than those who are forced to be whatever is chosen? Sorry, I know there was a Class Party mod similar to this which allowed a round to begin with each side a random class (chosen by a random "leader" on the team).....wondering how this one is different then that one.

    Last edited by SmackDaddy; 10-24-2011 at 16:12.
    SmackDaddy is offline
    Aliento
    Junior Member
    Join Date: Nov 2011
    Old 11-04-2011 , 18:03   Re: [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #5

    I've been running this on my server occasionally, and everyone seems to enjoy it for the most part! I do hope you continue to work on this and add features.
    Aliento is offline
    frank.
    Junior Member
    Join Date: Apr 2011
    Old 03-17-2012 , 03:29   Re: [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #6

    I have this installed on a TF2 server.

    Unfortunately, since the game has no randomisaton after the initial start of the round within it, long maps get rather boring when you play as one class the entire time.

    As a result, I've changed it so that it is played on arena maps.

    Unfortunately, it appears that players do not automatically get assigned to classes correctly. Everybody spawns as a medic (the default option I assume), and only a select few get changed to what the round should be.

    Additionally, in arena mode, attempting to change class will automatically respawn you.

    If these issues could be fixed, I would be greatly appreciative, as this has become one of the favourite gamemodes of the server.

    Last edited by frank.; 03-17-2012 at 03:34.
    frank. is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 03-30-2012 , 14:07   Re: [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #7

    What does this offer that Class Enforcer doesn't?
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    Flynn99
    New Member
    Join Date: Sep 2011
    Old 10-30-2012 , 23:34   Re: [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #8

    Quote:
    Originally Posted by frank. View Post
    I have this installed on a TF2 server.

    Unfortunately, since the game has no randomisaton after the initial start of the round within it, long maps get rather boring when you play as one class the entire time.

    As a result, I've changed it so that it is played on arena maps.

    Unfortunately, it appears that players do not automatically get assigned to classes correctly. Everybody spawns as a medic (the default option I assume), and only a select few get changed to what the round should be.

    Additionally, in arena mode, attempting to change class will automatically respawn you.

    If these issues could be fixed, I would be greatly appreciative, as this has become one of the favourite gamemodes of the server.
    I recently started playing a bit of TF2 again and I may come back to this.

    I can't recall if this is the most recent version, but if you look at the most recent version on github rather than this post it handles two classes per side and teams can vote to change their classes. It's been so long I can't recall what state I left the mod in though and I certainly haven't tested it against new servers.

    Last edited by Flynn99; 10-30-2012 at 23:35.
    Flynn99 is offline
    SmackDaddy
    Veteran Member
    Join Date: Oct 2009
    Old 11-02-2012 , 12:51   Re: [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #9

    Quote:
    Originally Posted by Powerlord View Post
    What does this offer that Class Enforcer doesn't?
    Would like to know the same -- especially since Class Enforcer currently isn't working on our server, so if this is a legitimate replacement, then that'd be cool.
    SmackDaddy is offline
    braak0327
    AlliedModders Donor
    Join Date: Dec 2012
    Location: NORT....SOUTH KOREA
    Old 08-16-2014 , 01:39   Re: [TF2] Class Warfare (v.2, 2011-9-25)
    Reply With Quote #10

    is this plugin still working?
    __________________
    I'M KIMCHI
    braak0327 is offline
    Send a message via Skype™ to braak0327
    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 20:17.


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