Raised This Month: $51 Target: $400
 12% 

[CS:S/GO+DoD:S] Auto Team Scrambler 2 (Updated 27-12-2012 @ DODS/CSGO)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Plugin ID:
2897
Plugin Version:
2.2.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Scramble teams when certain conditions are met.
Old 04-10-2012 , 01:01   [CS:S/GO+DoD:S] Auto Team Scrambler 2 (Updated 27-12-2012 @ DODS/CSGO)
Reply With Quote #1

Auto Team Scrambler

v. 2.2.0

Foreword : this is a second release of this, which now uses this so it can now has manual team scrambling. I decided to make a new thread since the installation is different, I want to keep supporting 1.5.0 if needed (due to its standaloneness) and the CVars aren't the same.

Introduction/Features :

Tired of unbalanced teams during the whole map? You want people to be able to play with different teamates on the same map (also works with jailbreak-like)? That is how this plugin become useful. It is all about team scrambling (NOT balancing). This means fun situation can happen, but it can also be used to break "imba" teams.

This plugin scramble teams at round end when certain situation are met.

Currently the three following "rules" are possible :
  • Round scrambling - Scramble teams every X rounds.
  • Bestof scrambling - Scramble teams when a team reaches X win.
  • Winstreak scrambling - Scramble teams when a team keeps winning without losing (I believe this option is preferable over the two others if you want to keep your server rather normal, but preventing teams to always win).
  • Inequity scrambling - Scramble teams when a team has a X wins lead over his opponent. (new since 2.2.0)

Do note that the three above "rules" can work together. It does also generate a lot of verbose, so you might want to change verbose CVars and take less "rules" possible.

Teams' scores are by default reset to 0 everytime there is a team scramble, however that can be avoided (CVar ats_real_score; I believe you'll want to remove that option if you're using roundlimits).

Finally, you might want to use this plugin with a team controller plugin (to avoid people switching teams themselves). i.e. : http://forums.alliedmods.net/showthread.php?p=521116.

I highly suggest you to set mp_autoteambalance 0, mp_limitteams 0 and mp_teams_unbalance_limit 0 to prevent any conflict with my plugins.

Known bugs :
  • None at the moment.

CVars :
  • autoteamscrambleversion: Gives version -_-'
  • ----------
  • ats : Is the plugin enabled? 0 = disabled, 1 = enabled (fair team), 2 = enabled (possible unfair, i.e. 12v5), 3 = for custom maps (i.e. jailbreak 2vALL), 4 = swap teams. Def. 1.
  • ats_minplayers : Number of players needed in the playable teams (i.e. T/CT in CS) to scramble. New in 2.2.0.
  • ----------
  • ats_rule_round : Scramble every X rounds. 0 = disabled, 1+ = enabled. Def. 0.
  • ats_rule_bestof : Scramble when a team win a best-of-X (odd number recommended; even will go with an additionnal round; i.e. 4 -> 5). 0 = disabled, 1+ = enabled. Def. 0.
  • ats_rule_winstreak : Scramble when a team win X times in a row. 0 = disabled, 1+ = enabled. Def. 4.
  • ats_rule_inequity : Scramble when a team has a X wins lead over his opponent. 0 = disabled, 1+ = enabled. Def. 0. New in 2.2.0.
  • ----------
  • ats_verbose_score : Tell players the score after every rounds. 0 = disabled, 1 = enabled (Default).
  • ats_verbose_rule : Tell players every X rounds how team can get scrambled. 0 = disabled, 1+ = enabled. Def. 1.
  • ats_verbose_scramble : Tell players when team are scrambled. 0 = disabled, 1 = enabled (Default).
  • ----------
  • ats_sound : Ask TMI to play a sound when teams are scrambled? 1=Yes, 0=No. Def. 1.
  • ----------
  • ats_real_score : Reset team scores when scrambling teams (recommended for timelimits only). 0 = disabled, 1 = enabled (Default).
  • ----------
  • ats_required_value : If CVar 'ats' value is '3', then a team will have X players. Min 1.
  • ats_required_team : If CVar 'ats' value is '3', then specified team will have an exact number of players. 0 = terro, 1 = CTs.
  • ----------
  • ats_fade : Fade-in players screens when teams are scrambled. 0 = no, 1 = yes (default).

--------------

Any suggestions/comments on the code or the plugin are welcomed and appreciated.

Changelog :
  • Pre - 2.0.0 : see here
  • 2.0.0 Recoded how team scrambling is done. (10-04-2012)
  • 2.0.0b Removed SDKHooks dependency . (10-04-2012)
  • 2.1.0 (27-12-2012)
    • Added DoD:S support.
    • Due to the interface update, this now handles CS:GO.
    • Added team swaps support (see ConVar ats 4).
    • I didn't change phrases, as I see swapping teams as some kind of scrambling (is it ok ?).
  • 2.2.0 (28-12-2012)
    • Added inequity rule. See ConVar [b]ats_rule_inequity/b]. Suggested by musosoft.
    • Added a minimum player count ConVar; see ats_minplayers.
    • Fixed bug : mp_restartgame should now reset everything properly.
    • Fixed bug when using 1+ other rule with ats_rule_round.
    • Changed phrases. Redownload them if you update.
    • Removed FCVAR_REPLICATED from version ConVar.
    • Removed FCVAR_NOTIFY from non-version ConVars.
  • Added Slovak and Czech translation. Thanks to musosoft. (2013-09-26).
  • Re-uploaded translation. Thanks micazoid <.<.

How to install :
  • Install Teams Management Interface
  • Put autoteamscramble.phrases.txt in your translations folder.
  • Put the plugin in your plugins folder.

Todo list :
  • ats_rule_lessplayers
  • change a minimum number of players
Attached Files
File Type: sp Get Plugin or Get Source (autoteamscramble.sp - 724 views - 15.9 KB)
File Type: smx autoteamscramble.smx (8.4 KB, 1041 views)
File Type: txt autoteamscramble.phrases.txt (4.5 KB, 948 views)
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 11-17-2013 at 17:19. Reason: sk+cze; 101sp+108x+234trl
RedSword is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 04-10-2012 , 05:39   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #2

I am searching something like this for DODS. Advanced Commands is a bit too heavy for only 2 commands.

I am also searching for a !balance Command (like sm_scramble_fair in your other plugin) and a scramble (just mixing the teams to get them of the same strength)

The autoscrambler after X Wins is also nice.

Can you make this for DODS also? Please
__________________
micazoid is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 04-10-2012 , 09:27   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #3

Note about the fact that the plugin failed to compile; this needs the .inc of Teams Management Interface to compile. I'm not at home currently so you'll need to compile locally. Sorry for the inconvenience.


Quote:
Originally Posted by micazoid View Post
I am searching something like this for DODS. Advanced Commands is a bit too heavy for only 2 commands.

I am also searching for a !balance Command (like sm_scramble_fair in your other plugin) and a scramble (just mixing the teams to get them of the same strength)

The autoscrambler after X Wins is also nice.

Can you make this for DODS also? Please
Have you tried it in DoD:S ? I doubt I made any hardcode concerning CS:S (only OnGameplayEnd (or something like when map change)). They might already work (this in the interface) under DoD:S.

Red

EDIT : Added .smx
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 04-10-2012 at 13:30.
RedSword is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 04-10-2012 , 09:50   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #4

No I havent tried it so far. I will asap

Thank you for your fast reply
__________________
micazoid is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 04-13-2012 , 08:24   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #5

nice plugin

1 question.

lets say i want it to only scramble after 1 round, and not after that.
will that be possible by using these settings?
ats_rule_round "0"
ats_rule_bestof "1"
ats_rule_winstreak "0"


thanks again for the plugin

Last edited by DoPe^; 04-13-2012 at 08:25.
DoPe^ is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 04-13-2012 , 13:59   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #6

Quote:
Originally Posted by DoPe^ View Post
nice plugin

1 question.

lets say i want it to only scramble after 1 round, and not after that.
will that be possible by using these settings?
ats_rule_round "0"
ats_rule_bestof "1"
ats_rule_winstreak "0"


thanks again for the plugin
You could use Teams Management Commands, but that would require the presence of an admin.

Do you mean to automaticly scrambles teams after 1 round ? If so, why not simply put "mp_forceautoteam 1" to force players to be scrambled right at the start ?
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
Skylerguns
Junior Member
Join Date: Jun 2012
Old 06-22-2012 , 21:29   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #7

I am on an MG server, what would be best to set ATS too?

The problem is, if its an awp map or multigames map, I want teams to be scrambled fairly. And if it's a 2vAll map, where there can only be 2 terrorists, I want that to switch too.

If I set it to 3, will it do that for me? Or would 1 have the same effect and make it the T team full and fill the rest with CT

Also, what if its a map with only 1 team? Like obstacle?
Skylerguns is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 06-22-2012 , 21:45   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #8

Quote:
Originally Posted by Skylerguns View Post
I am on an MG server, what would be best to set ATS too?

The problem is, if its an awp map or multigames map, I want teams to be scrambled fairly. And if it's a 2vAll map, where there can only be 2 terrorists, I want that to switch too.

If I set it to 3, will it do that for me? Or would 1 have the same effect and make it the T team full and fill the rest with CT

Also, what if its a map with only 1 team? Like obstacle?
Hi,

I think all you need is a Per-map config plugin.

Quote:
Originally Posted by Skylerguns View Post
if it's a 2vAll map, where there can only be 2 terrorists, I want that to switch too.
[...]
If I set it to 3, will it do that for me? Or would 1 have the same effect and make it the T team full and fill the rest with CT
That is why 3rd mode is there. I did code it believing it would be useful only with jailbreak servers but with a per-map config you'd be good to go I'm pretty sure.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 06-22-2012 at 21:46.
RedSword is offline
Skylerguns
Junior Member
Join Date: Jun 2012
Old 06-22-2012 , 22:07   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #9

Thanks, I'll try that and get back to you. So set it three right?

EDIT: Which plugin one should I download, and what exactly does it do/what do I need it for?

Last edited by Skylerguns; 06-22-2012 at 22:08.
Skylerguns is offline
Skylerguns
Junior Member
Join Date: Jun 2012
Old 06-22-2012 , 22:54   Re: [CS:S] Auto Team Scrambler 2
Reply With Quote #10

Okay, I installed it, now what exactly do I need to do?
I installed this one. https://forums.alliedmods.net/showthread.php?p=607079

Do I just add the convars to the map config that I would like?
Such as if its a multi map, add ats 1
If it's 2vAll, put 3?

And if it's a one team, put 0?

Last edited by Skylerguns; 06-22-2012 at 23:08.
Skylerguns is offline
Reply



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:47.


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