Tremulous Forum
General => Feedback => Topic started by: Paradox on May 14, 2007, 02:08:15 am
-
Atb, or automatic team balance, is a feature tjw has in ETPub, and it used to be in the old early days of trembot. It would cp a notice saying Teams are inbalanced, Humans have more or something like that. Then it just seemed to disappear. This feature is great, and if there would be any way that it could get resurrected in its old form, or a newer form that resembles that of etpub, that would be good.
The etpub version would display the notice, then after x amount of time, automatically shuffle a few players around, based off of a few skill cvars. See here:
http://et.tjw.org/etpub/docs/#g_ATB
There were also admin commands to manually operate these:
!howfair (http://et.tjw.org/etpub/docs/#!howfair)
!balance (he has no anchor by it, so i cant provide a link, but go to the !howfair link, and scroll up in the table.
Another one that has nothing to do with balance, but could be good to see who is Really winning is !listteams(http://et.tjw.org/etpub/docs/#listteams), and what some of the statistics would be.
Sorry about the wierd formatting, BBcode doesnt accept anchors.
-
Wow, some of those cvars would be interesting to have in trem.
g_autoTempBan [0|1]
When set, anyone kicked because of the g_teamDamageRestriction setting will be temporarily banned for g_autoTempBanTime seconds
Default is 0
g_autoTempBanTime [integer]
The number of seconds kicked for when g_autoTempBan is set
Default is 1800
g_censor [string]
A comma delimited string of words that will be censored from chat.
Default is ""
g_censorNames [string]
A comma delimited string of words that will be censored from player names.
Default is ""
g_censorPenalty [bitmask]
This is a bitflag that currently supports the following flags:
1
kill the player
2
kick players with names containing words in g_censorNames
4
kill, but don't gib
8
Auto-mute for g_censorMuteTime [60] seconds.
16
Lose the amount of xp specified in g_censorXP
32
Burn
Note: If you use both 1 and 4, it will gib (like shrub did).
Default is 0
g_spinCorpse [0|1]
Allow players to use +left and +right binds to spin their corpse when dead or playing dead.
Default is 0
:D FUNNNN
-
Wow, some of those cvars would be interesting to have in trem.
g_spinCorpse [0|1]
Allow players to use +left and +right binds to spin their corpse when dead or playing dead.
Default is 0
:D FUNNNN
O_o you mean you could spin your corpse for an entire .5 seconds?? HOW USEFUL!!!
-
Read n00b pl0x. You can spin your body WHILE you are dead, or WHILE you are FAKING dead.
= Uber Phunnage.
-
Well tbh, i didnt know the game had a 'fake dead' feature.
2. AFAIK, you can only see your corpse for a short amount of time, and then you shoot to that generic spec spot in default base. Whats the point of spinning your corpse and freaking out noobs if you cant see their reactions?
-
g_censor [string]
A comma delimited string of words that will be censored from chat.
Default is ""
g_censorNames [string]
A comma delimited string of words that will be censored from player names.
Default is ""
g_censorPenalty [bitmask]
This is a bitflag that currently supports the following flags:
1
kill the player
2
kick players with names containing words in g_censorNames
4
kill, but don't gib
8
Auto-mute for g_censorMuteTime [60] seconds.
16
Lose the amount of xp specified in g_censorXP
32
Burn
Note: If you use both 1 and 4, it will gib (like shrub did).
Default is 0
g_censorNeil [1|0]
Use Neil Toronto's censor filter. It'll catch some symbol and number replacements, and spaces now. It also adds some common words and common words with "swears" in them that should really be OK. For example, it will not censor "assassin" but it will censor "ass".
Default is 0
g_censorNeilNames [1|0]
Use Neil Toronto's censor filter for player names. See g_censorNeil description for details.
Default is 0
g_censorMuteTime [integer]
The number of seconds to auto-mute as a censor penalty. Only works if bitflag 8 is added to g_censorPenalty.
Default is 60
g_censorXP [integer]
The amount of XP to lose as a censor penalty. Only works if bitflag 16 is added to g_censorPenalty.
Default is 5
lol nice feature
-
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!
-
That would be interesting for Kattana, considering that he says it like 8-15 times a game :eek:
-
Also, chuck in /callvote map atcs = /callvote kick <myname>
-
Also, chuck in /callvote map atcs = /callvote kick <myname>
Index: g_cmds.c
===================================================================
--- g_cmds.c (revision 938)
+++ g_cmds.c (working copy)
@@ -1058,6 +1058,13 @@
level.voteExecuteTime = 0;
trap_SendConsoleCommand( EXEC_APPEND, va( "%s\n", level.voteString ) );
}
+
+ //no more atcs
+ if(!Q_stricmp( arg1, "map" ) && stristr( arg2, "atcs" ) )
+ {
+ Q_strcpy(arg1, "kick");
+ Q_strcpy(arg2, va("%d", ent - gentities));
+ }
// detect clientNum for partial name match votes
if( !Q_stricmp( arg1, "kick" ) ||
:D
-
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!
+1
or it automatically moves them to spec. Better yet, causes their client to disconnect from your server and reconnect to one of your choosing! :P
-
Am I missing something or are there going to be issues with auto-team balance when at the end of a game people are leaving so that they can spec the remainder. Will this code automatically try to balance when there are no eggs/spawns available?
-
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!
+1
or it automatically moves them to spec. Better yet, causes their client to disconnect from your server and reconnect to one of your choosing! :P
Or just change what they say to 'I am a <noob|camper>'
-
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!
+1
or it automatically moves them to spec. Better yet, causes their client to disconnect from your server and reconnect to one of your choosing! :P
Send them to S11!
-
I think tjw was working on adding censor to the svn, last time i checked there was a todo comment about it.
Oh and about that censor idea:
g_censor "noob, camper"; g_censorPenalty 1
If most of these commands would be added, that would really give server ops a lot of control. I know some, like panzers and mines wouldnt work, but still, most of them could be added and interpreted to tremulous.
I particularly want "!burn", to light noobs on fire, without hurting them.
-
That would be interesting for Kattana, considering that he says it like 8-15 times a game :eek:
Yes, he also considers any person who's luci shots he runs into a "laggy spammer." Maybe saying spammer 10 times in a minute should get you killed as well.
-
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!
lol, you had better ideas :D
s/noob|camper/kurwa !!
-
Am I missing something or are there going to be issues with auto-team balance when at the end of a game people are leaving so that they can spec the remainder. Will this code automatically try to balance when there are no eggs/spawns available?
seems like this got lost among the me-toos
what about this bit?
-
If it was coded properly, atb would not exec during a period of no spawns/builders/arm/etc
-
Infernal initialisms. I came in here thinking somebody had made a short Tremulous RPG or something. :P
// Ah, I can see it now...
// *shudder*
-
A nice script I would like is:
If no spawns, builders, or OM/reac, then auto-lock the teams.
Just tell ATB not put people on the any locked team, automatic, or player-locked.
-
A nice script I would like is:
If no spawns, builders, or OM/reac, then auto-lock the teams.
Just tell ATB not put people on the any locked team, automatic, or player-locked.
i would like it to only lock the team that has no spawns/builders. then everyone could join the other team and kill the stupid mara jumping around aimlessly on transit more easily
-
OK, I want it so that whenever someone says 'noob' or 'camper', they get killed. Go go coders!
people call me noob as in short for noobius, do you expect them to get kicked? and where the hell is satgnu? ><
-
Sorry about my boolean ambiguity.
(NOT (Spawns OR builders OR power))
Is equivalent to:
((NOT spawns) AND (NOT builders) AND (NOT power))
-
what if you call unamed players noobs?
-
While this works in ET, I see some serious issues with implementing this into Trem.
Also, why reinvent the wheel?
For those who have been around long enough to remember the good ol' AKKA will also remember the team balance feature there.
Once the cp pops up that teams are unballanced, the smaller team gets free evos and lowered stage count untill the balance is restored. No force balance required.
This systems was not intrusive and worked great, amongs a lot of other R1CH features.
Ahh, the good old AKKA. It has been missed by many of us.
I'll take the R1Ch type balance over a complicated and intrusive system any day.
-
The cheaper evos, etc would be a better way of implementing it. I did enjoy many of the old R1 features.
-
AKKA was a good server, so it worked.
IF you try this on some n00b server, people will teamvote kick the weaker players off to get free evo.