1 (edited by Lanta 2009-09-30 12:17:34)

Topic: [UPCOMING MOD] New mod: Captain Game

Hi at all.
I'm here again with a new idea for modders. In the past pros usually played and continue playing Captain Games.
If you don't know what it means: TeeWiki
It's a better method of making teams more balanced.
Would be nice if someone can code a mod for this game, because it's not so comfortable that is needed an admin anytime.
The server run a normal ctf game. With a vote, players can start a new captain game. All players are automatically moved to spectators except 2 random chosen, 1 per team, which are the 2 leaders. The 2, at their turn (which is broadcasted), choose 1 player, writing in chat his name or part of his name, until the teams are complete (5on5 or 6on6).
When the 3 teams are ready it's done a restart command automatically with a 60 seconds warmup. The match is a ctf classic game.
When the captain game ends, it's loaded again the standard ctf game, and a new vote may be called.
There is anyone interested in coding this?
I'm too noob for code this and, if I can, i have no time tongue

Support Staff - ESL.eu Teeworlds Admin

2 (edited by Lanta 2009-09-30 12:51:19)

Re: [UPCOMING MOD] New mod: Captain Game

Captain AMN wrote:

Hey Lanta,

I think to make a mod out of this is a pretty good idea. There are always some people on the server who don't understand the principle of a Captain Game or they simply try to piss the admin off by joining teams without being asked.

I support this idea, but i have a little critique: I think somewhere it is written in this forum, that teeworlds should never have a variable decided by a random factor. Thus, we would need another way to choose the team captain. How about every player has to vote for a captain? Volunteering rarely works out very well. Also deciding the captain is very important for the team. The 2 captains should be at the same skill/experience level to make a good functioning team and explain their strategy to the fellow members.

We need somebody to come up with a good idea to decide the captains. Maybe this will be possible when teeworlds finally has an account system, and every player's online time is registered and can be compared. The players with the highest time would be considered as captains, and so on.

For everyone who is a high or mid skilled player and hasn't tried this yet: Try it! Try it with players of your same skill level. It's much more fun and challenging than a stinky normal public game without rules at all tongue

Yeah, you are right. The 2 leaders should have the same skill.
For doing so, I think there are 2 methods:
1) like you said, captain are voted by players.
2)an account system like LVL|X one. The players can register to the server, and the server, every time they play logged, store their average killing ratio (maybe also flag capturing ratio?). When a new captain game is called, the 2 leaders are choosen from logged player with the best ratio and, if there aren't, choosed randomly.
3)a teeworlds official account system, like you said. i don't like this idea because of the waiting time.
I vote for the second option, a lvl-x like account system. It may be stored in a simple txt files or in powerful databases. BTW, for database we need a powerful cooder too... xD

Support Staff - ESL.eu Teeworlds Admin

3

Re: [UPCOMING MOD] New mod: Captain Game

Well, I like the idea pretty much...
Though I am curious how to get people on the same skill level into one server.
1: Password -> Less players, as they need to be in the community for knowing the password
2: Don't know... I need ideas here.

Anyways, when I have time i might code a Lvl|Captain gametype.

~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US: http://monkeystyle.xooit.com/
Check out our IRC channel: #monkeystyle on QuakeNet || Also check out the TeeWiki: http://teewiki.info

4 (edited by Lanta 2009-09-30 13:14:04)

Re: [UPCOMING MOD] New mod: Captain Game

Tom94 wrote:

Well, I like the idea pretty much...

^^

Tom94 wrote:

Though I am curious how to get people on the same skill level into one server.

Think about Qi lagging server, for example. Or Phonix one. I think it's the server name that makes the difference, nothing else. Usually pro players goes always in the same servers. And Lvl|x one got already a really realy good name.

Tom94 wrote:

Anyways, when I have time i might code a Lvl|Captain gametype.

This could be the best thing i ever heard smile

Support Staff - ESL.eu Teeworlds Admin

5

Re: [UPCOMING MOD] New mod: Captain Game

I think this mod would be awesome... can anyone code a BETA? xD
I want test this mod !!!

6 (edited by Lanta 2009-09-30 14:08:54)

Re: [UPCOMING MOD] New mod: Captain Game

Crises wrote:

I think this mod would be awesome... can anyone code a BETA? xD
I want test this mod !!!

Tom said it MIGHT. That doesn't means he will do it.
I think he is the only one can do this mod at the best. He is one of the best modder. Let's him decide freely giving him space.
In a few words: your beta-testing must wait. XD

Support Staff - ESL.eu Teeworlds Admin

7 (edited by Ubuntu 2009-09-30 20:34:12)

Re: [UPCOMING MOD] New mod: Captain Game

I don't think if it is really needed.

Actually, we only need more vote possibilities to easily manage the "captain games". The commands/votes that we need :
- restart
- lock the teams
- setting back the original cfg
- kick
- forcing spectator for all (I don't know if it is actually possible)

Some possible features
- pause the game (planned for future teeworlds versions)
- forcing spectator for one player

About the mod :

- account system : I am against that. I don't want an account system which isn't official and which works for only few servers. What about security, support?
- ratio system : It is not really great. You can easily have a ratio of 5 if you play against weaker players than you. But if you play with players of the same level as you or better than you, it will be different. I think and hope players are smart enough to choose the best captains!

8 (edited by Tom94 2009-10-01 11:36:30)

Re: [UPCOMING MOD] New mod: Captain Game

Ubuntu wrote:

I don't think if it is really needed.

Actually, we only need more vote possibilities to easily manage the "captain games". The commands/votes that we need :
- restart
- lock the teams
- setting back the original cfg
- kick
- forcing spectator for all (I don't know if it is actually possible)

Some possible features
- pause the game (planned for future teeworlds versions)
- forcing spectator for one player

About the mod :

- account system : I am against that. I don't want an account system which isn't official and which works for only few servers. What about security, support?
- ratio system : It is not really great. You can easily have a ratio of 5 if you play against weaker players than you. But if you play with players of the same level as you or better than you, it will be different. I think and hope players are smart enough to choose the best captains!


#restart - implemented
#lock_team - already in tw+
#setting back cfg - exec cmd -> implemented
#kick - implemented
#forcing spectator for all - already in tw+

#pause game - not yet implemented but can be done with 1 line of code (game.world->paused = true/false)
#force one player spectator - set_team id -1 -> implemented

I will right now fix the armor-dmg bug in tw+, add the pause thingie and add some basic mechanics for the captains choosing the players.
The mod will be on ctf+ / ictf+ / tdm+ / itdm+. To initialize the captain game simply vote for captain_start.

Gonna post it in the teeworlds+ thread when it's finished (should be today).

EDIT:
As I just remembered that the tw+ mod throws errors on linux machines I will simply start a new mod called Captain. (cctf, ctdm, cictf, citdm)

EDIT2:
Open dev server should be up from time to time.

~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US: http://monkeystyle.xooit.com/
Check out our IRC channel: #monkeystyle on QuakeNet || Also check out the TeeWiki: http://teewiki.info

9 (edited by Lanta 2009-10-01 12:12:17)

Re: [UPCOMING MOD] New mod: Captain Game

Tom94 wrote:

#restart - implemented
#lock_team - already in tw+
#setting back cfg - exec cmd -> implemented
#kick - implemented
#forcing spectator for all - already in tw+
#pause game - not yet implemented but can be done with 1 line of code (game.world->paused = true/false)
#force one player spectator - set_team id -1 -> implemented
I will right now fix the armor-dmg bug in tw+, add the pause thingie and add some basic mechanics for the captains choosing the players.
The mod will be on ctf+ / ictf+ / tdm+ / itdm+. To initialize the captain game simply vote for captain_start.

Perfect, nice job ^^
Btw, i had an idea now. Don't know if it's a good addon for this mod, but could be really useful fo automatically move afk-players to spectators, after some seconds of inactivity (n seconds with n written in the config file). I know for sure there was already one of your mod with this function (maybe ifreeze?) with the difference that after inactivity player was killed instead of moved to spect.

Support Staff - ESL.eu Teeworlds Admin

10

Re: [UPCOMING MOD] New mod: Captain Game

mrlantastic wrote:

Btw, i had an idea now. Don't know if it's a good addon for this mod, but could be really useful fo automatically move afk-players to spectators, after some seconds of inactivity (n seconds with n written in the config file). I know for sure there was already one of your mod with this function (maybe ifreeze?) with the difference that after inactivity player was killed instead of moved to spect.

That feature was in te+, insta+ and freeze. smile
But it did support spectator and kick.

Anyways, I will maybe implement an inactivity kick and spectator support, but still inactivity kicks are the better solution here, as the server slots shouldn't be filled with AFK players. tongue

~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US: http://monkeystyle.xooit.com/
Check out our IRC channel: #monkeystyle on QuakeNet || Also check out the TeeWiki: http://teewiki.info

11

Re: [UPCOMING MOD] New mod: Captain Game

Tom94 wrote:

but still inactivity kicks are the better solution here, as the server slots shouldn't be filled with AFK players. tongue

Yeah, it's the best solution smile

Support Staff - ESL.eu Teeworlds Admin

12

Re: [UPCOMING MOD] New mod: Captain Game

I gtg in about an hour. So i opened a 4-slots beta server. please come there and test the mod. smile

(My fastest mod... needed 3 hours of coding xD)

~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US: http://monkeystyle.xooit.com/
Check out our IRC channel: #monkeystyle on QuakeNet || Also check out the TeeWiki: http://teewiki.info

13 (edited by Lanta 2009-10-01 17:16:52)

Re: [UPCOMING MOD] New mod: Captain Game

Tom94 wrote:

I gtg in about an hour. So i opened a 4-slots beta server. please come there and test the mod. smile

(My fastest mod... needed 3 hours of coding xD)

When one player left while playing, the game must freeze and a new player must be chosen. Instead of it, no other can join now in this beta.
You have though about the possibility to replace him with a spectator player?
And what about the captain_end vote? I think it's not needed, because a captain game end at the end of the match, and after could be revoted with captain_start.

EDIT: found some bugs
- .info works, but if a player join of if there are other system messages (also chat messages) they overwrite the text O_O
-sometimes (very often) the broadcast message go out from the screen

Btw, good job ^^ The first beta is really nice, well done.
I hope the warmup is configurable by config file.

Support Staff - ESL.eu Teeworlds Admin

14

Re: [UPCOMING MOD] New mod: Captain Game

mrlantastic wrote:
Tom94 wrote:

I gtg in about an hour. So i opened a 4-slots beta server. please come there and test the mod. smile

(My fastest mod... needed 3 hours of coding xD)

When one player left while playing, the game must freeze and a new player must be chosen. Instead of it, no other can join now in this beta.
You have though about the possibility to replace him with a spectator player?
And what about the captain_end vote? I think it's not needed, because a captain game end at the end of the match, and after could be revoted with captain_start.

EDIT: found some bugs
- .info works, but if a player join of if there are other system messages (also chat messages) they overwrite the text O_O
-sometimes (very often) the broadcast message go out from the screen

Btw, good job ^^ The first beta is really nice, well done.
I hope the warmup is configurable by config file.


It only restarts when a captain leaves, not when a player leaves. smile

Things to come:
- A little survival game to get the captions dependant on their skill.
- Inactivity kick and some tweaks in cfg etc
- Many config tweaks like warmup (as you said)

Also the broadcast messages seem to go offscreen only on your screen... I didn't really realize that as I use widescreen. smile
Gonna make them use 2 lines.

Beta server remains up to test if the mod still got bugs / could crash.
Anyways, no serious (crash like) bugs so far... smile

~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US: http://monkeystyle.xooit.com/
Check out our IRC channel: #monkeystyle on QuakeNet || Also check out the TeeWiki: http://teewiki.info

15

Re: [UPCOMING MOD] New mod: Captain Game

Tom94 wrote:

It only restarts when a captain leaves, not when a player leaves. smile

Maybe, if it's possible, freeze the game and let's the captain of the lowered team choose another player for the replace? It's not so fair 6on5 or so.

Tom94 wrote:

- A little survival game to get the captions dependant on their skill.
- Inactivity kick and some tweaks in cfg etc
- Many config tweaks like warmup (as you said)

^^

Tom94 wrote:

broadcast messages seem to go offscreen only on your screen... I didn't really realize that as I use widescreen. smile
Gonna make them use 2 lines.

I use widescreen too, 1440x900 16:10, and sometimes the text go out of the screen with long nicknames tongue

Tom94 wrote:

Beta server remains up to test if the mod still got bugs / could crash.
Anyways, no serious (crash like) bugs so far... smile

Yeah, until now, i've tested the server several times and i didn't encounter any crash problem. Good job!

Support Staff - ESL.eu Teeworlds Admin

16

Re: [UPCOMING MOD] New mod: Captain Game

You are right, I made up some thoughts for this in school already.
If someone joins spectator and a config variable (which can be 1: only to balance teams or 2: always) is set, the game is frozen and a vote starts to put the player inside.

Also about players leaving. When the team difference is same as a cfg variable (2 and higher), then the game also is gonna be frozen and a vote encounters for a teambalance. ^^

~{MonkeyStyle}~ - Instagib Teeworlds Clan
VISIT US: http://monkeystyle.xooit.com/
Check out our IRC channel: #monkeystyle on QuakeNet || Also check out the TeeWiki: http://teewiki.info

17 (edited by Var [TNB] 2009-10-02 14:20:05)

Re: [UPCOMING MOD] New mod: Captain Game

Whats about a ranking system as in race? for example, rank depends on how good player is. Then any player can watch the ranks, and two players with best rank will be chosen as a captains.

Stay wild big_smile

18

Re: [UPCOMING MOD] New mod: Captain Game

Tom94 wrote:

Well, I like the idea pretty much...
Though I am curious how to get people on the same skill level into one server.
1: Password -> Less players, as they need to be in the community for knowing the password
2: Don't know... I need ideas here.

Anyways, when I have time i might code a Lvl|Captain gametype.


Good point, but Password shoudl change every week in the official thread because after a few while a lot of other people will get this password by friends, and they give it to her friends, and they give....

19 (edited by Snazzy 2009-10-02 14:38:35)

Re: [UPCOMING MOD] New mod: Captain Game

Ubuntu wrote:

I don't think if it is really needed.

Actually, we only need more vote possibilities to easily manage the "captain games". The commands/votes that we need :
- restart
- lock the teams
- setting back the original cfg
- kick
- forcing spectator for all (I don't know if it is actually possible)

Some possible features
- pause the game (planned for future teeworlds versions)
- forcing spectator for one player


About the mod :

- account system : I am against that. I don't want an account system which isn't official and which works for only few servers. What about security, support?
- ratio system : It is not really great. You can easily have a ratio of 5 if you play against weaker players than you. But if you play with players of the same level as you or better than you, it will be different. I think and hope players are smart enough to choose the best captains!

Sure your speaking of important facts, but we all know that what you described as "hope" is not as possible as we want it. Since Teeworlds is open, there are several kinds of people who destroy the game/ingame for all(bots..Spamms.. Funvotes.. Ect..) . But this i snot the right thread to discuss about this fact.

We have to find a solution.





Edit1:Heroes Variece wrote that:

Whats about a ranking system as in race? for example, rank depends on how good player is. Then any player can watch the ranks, and two players with best rank will be chosen as a captains.

Snazzy:i dont think thats possible. Who says if a player is good or not? You cant mess it at the Points, otherwise whats about the people who are defending. Thats my Opinion

20

Re: [UPCOMING MOD] New mod: Captain Game

I did not read everything, but I think an account system only for captain games is too complicated, although it would keep noobs out. More a problem is in my opinion the fact that it is a mod, so it cannot run as vanilla ctf. I am not such a fan of mods, very often there are bugs and so on. I think if there are enough players who want to make a captain game, they can do everything they need with votes. If you really make such a mod, keep it as simple as possible, otherwise people will not play it.

Qi - high level gaming
qi.m0g.net

21

Re: [UPCOMING MOD] New mod: Captain Game

Stephanator wrote:

I did not read everything, but I think an account system only for captain games is too complicated, although it would keep noobs out. More a problem is in my opinion the fact that it is a mod, so it cannot run as vanilla ctf. I am not such a fan of mods, very often there are bugs and so on. I think if there are enough players who want to make a captain game, they can do everything they need with votes. If you really make such a mod, keep it as simple as possible, otherwise people will not play it.

I've tested it... it's so simple... it's a normal vanilla game and, if you want to start a captain game, just vote captain_start.

Support Staff - ESL.eu Teeworlds Admin

22 (edited by Ubuntu 2009-10-02 17:44:48)

Re: [UPCOMING MOD] New mod: Captain Game

My point is that I don't want to use a mod for that, we can do it with the voting system.

@ Tom94:
About locking teams, it is also possible in teeworlds, if you set some votes to have only 8, 10, 12 players for examples. And about forcing one player to spec, yes it is implemented, but how do you do that so it can easily be done by players? I don't think it is a good idea to set 16 different votes to kick id 1, 2, 3... We can imagine another gui option (like "kick, "option") to force spectator for one player.

@ Sn@ZzY:
I think you misunderstood me. Have you ever play some captain games? Because personally, I didn't see any aimbots, spammers in these games. Even if there was some, they were quickly kicked out of the game.The choices for the captains wern't bad. There is no solution to find, like I said a ratio system isn't a good criteria to know the level of a player. We are a small ctf community, we know each other, there is no problem for me. Anyway, I believe we know better than a computer who will be a good captain...

23

Re: [UPCOMING MOD] New mod: Captain Game

Ubuntu wrote:

My point is that I don't want to use a mod for that, we can do it with the voting system.

@ Tom94:
About locking teams, it is also possible in teeworlds, if you set some votes to have only 8, 10, 12 players for examples. And about forcing one player to spec, yes it is implemented, but how do you do that so it can easily be done by players? I don't think it is a good idea to set 16 different votes to kick id 1, 2, 3... We can imagine another gui option (like "kick, "option") to force spectator for one player.

@ Sn@ZzY:
I think you misunderstood me. Have you ever play some captain games? Because personally, I didn't see any aimbots, spammers in these games. Even if there was some, they were quickly kicked out of the game.The choices for the captains wern't bad. There is no solution to find, like I said a ratio system isn't a good criteria to know the level of a player. We are a small ctf community, we know each other, there is no problem for me. Anyway, I believe we know better than a computer who will be a good captain...

Have you tried the first beta?
hmm
It's awesome... no more problems choosing tha captain, because are players to decide. No more problems for choosing turn, it's all automated. No more problems if a players leave, it will be automatically replaced. No afk problems.
It's simply perfect! And all by ONE SINGLE VOTE. I think it's at least 10 time better than actual method.

Support Staff - ESL.eu Teeworlds Admin

24

Re: [UPCOMING MOD] New mod: Captain Game

First off: I dont think that a Captain game needs a seperate gamemod. It reminds me of the race - when people came up with the idea of races it was just a simple ctf game with 1 score, and it was GOOD. Now that there exist 33 race mods with 72 entities and switches and teleports and all this blatant crap, races are BAD. So far, captain games are good, do not make them CRAP!

It would be much more easier to administer servers ( and organize captain games/clanwars ) with game-moderator accounts ! See this post and the post after it http://www.teeworlds.com/forum/viewtopi … 444#p49444

We will meet again when the flowers spread their glorious scent of victory and the birds sing us the melody of justice...

25 (edited by Lanta 2009-10-02 19:49:31)

Re: [UPCOMING MOD] New mod: Captain Game

torch wrote:

First off: I dont think that a Captain game needs a seperate gamemod. It reminds me of the race - when people came up with the idea of races it was just a simple ctf game with 1 score, and it was GOOD. Now that there exist 33 race mods with 72 entities and switches and teleports and all this blatant crap, races are BAD. So far, captain games are good, do not make them CRAP!

It would be much more easier to administer servers ( and organize captain games/clanwars ) with game-moderator accounts ! See this post and the post after it http://www.teeworlds.com/forum/viewtopi … 444#p49444

Maybe it's only my opinion (and i hope NO) but I prefer having a good mod that does his work fine, fast and easily, than have to wait an admin or a referee every time.
I trust more in computer perfection than in human error.
Let's give this mod a try. I bet you will love it too.
Oh, and about the race... it's really difference... we won't have 4385734589 versions of captain mod. Only 1.

Support Staff - ESL.eu Teeworlds Admin