View Single Post
Author Message
Flynn99
New Member
Join Date: Sep 2011
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 - 3612 views - 10.5 KB)

Last edited by Flynn99; 09-25-2011 at 04:43. Reason: Missing info
Flynn99 is offline