Teams: Difference between revisions

From DDraceNetwork
mNo edit summary
DefaultO (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 23: Line 23:


<!--T:6-->
<!--T:6-->
*To speed up joining dummy maps: TODO
Connecting a dummy and making it join a specific team can be automated with a single key press. To set it up, create a file in the game directory, paste the code below into it, and bind a key in the F1 Console to execute the file using the bind command: <code>bind [key] exec [filename]</code>. This can save you a bit of time when playing Dummy Maps.
<syntaxhighlight lang="properties">
# connect dummy to the server
dummy_connect
# make dummy join a team, replace "[team number]" with a number between 1 and 63
say /team [team number]
# switch to main player controller
cl_dummy 0
# make main player controller join a team, replace "[team number]" with a number between 1 and 63
say /team [team number]
# lock the team so that nobody else can join your team
say /lock
</syntaxhighlight>


==Team size== <!--T:7-->
==Team size== <!--T:7-->
Line 42: Line 54:
*Novice ★★★★★ [https://ddnet.org/maps/Skillz-32-6 Skillz 6]
*Novice ★★★★★ [https://ddnet.org/maps/Skillz-32-6 Skillz 6]


<!--T:33-->
*Moderate ★✰✰✰✰ [https://ddnet.org/maps/Weapons Weapons]
*Moderate ★✰✰✰✰ [https://ddnet.org/maps/Weapons Weapons]
*Moderate ★★★✰✰ [https://ddnet.org/maps/LazeAround2 LazeAround2]
*Moderate ★★★✰✰ [https://ddnet.org/maps/LazeAround2 LazeAround2]
Line 49: Line 62:
*Moderate ★★★★★ [https://ddnet.org/maps/LazeAround LazeAround]
*Moderate ★★★★★ [https://ddnet.org/maps/LazeAround LazeAround]


<!--T:34-->
*Brutal ★★✰✰✰ [https://ddnet.org/maps/LazeAround-32-3 LazeAround 3]
*Brutal ★★✰✰✰ [https://ddnet.org/maps/LazeAround-32-3 LazeAround 3]
*Brutal ★★✰✰✰ [https://ddnet.org/maps/P2Z-95-Eclipse P2Z_Eclipse]
*Brutal ★★✰✰✰ [https://ddnet.org/maps/P2Z-95-Eclipse P2Z_Eclipse]
Line 55: Line 69:
*Brutal ★★★★✰ [https://ddnet.org/maps/Reason Reason]
*Brutal ★★★★✰ [https://ddnet.org/maps/Reason Reason]


<!--T:35-->
*Oldschool ★✰✰✰✰ [https://ddnet.org/maps/Campotle-32-3 Campotle 3]
*Oldschool ★✰✰✰✰ [https://ddnet.org/maps/Campotle-32-3 Campotle 3]
*Oldschool ★✰✰✰✰ [https://ddnet.org/maps/Koule-32-4 Koule 4]
*Oldschool ★✰✰✰✰ [https://ddnet.org/maps/Koule-32-4 Koule 4]
Line 65: Line 80:
*Oldschool ★★★★✰ [https://ddnet.org/maps/Triple-32-Kill Triple Kill]
*Oldschool ★★★★✰ [https://ddnet.org/maps/Triple-32-Kill Triple Kill]


<!--T:36-->
*DDmaX.Next ★✰✰✰✰ [https://ddnet.org/maps/Steff-32-I-32-beginning Steff I beginning]
*DDmaX.Next ★✰✰✰✰ [https://ddnet.org/maps/Steff-32-I-32-beginning Steff I beginning]
*DDmaX.Next ★✰✰✰✰ [https://ddnet.org/maps/Steff-32-III-32-peace Steff III peace]
*DDmaX.Next ★✰✰✰✰ [https://ddnet.org/maps/Steff-32-III-32-peace Steff III peace]
Line 72: Line 88:
*DDmaX.Next ★★★★✰ [https://ddnet.org/maps/lemonland lemonland]
*DDmaX.Next ★★★★✰ [https://ddnet.org/maps/lemonland lemonland]


<!--T:37-->
*DDmaX.Pro ★★★★★ [https://ddnet.org/maps/Picklock Picklock]
*DDmaX.Pro ★★★★★ [https://ddnet.org/maps/Picklock Picklock]


<!--T:13-->
*DDmaX.Nut ★★✰✰✰ [https://ddnet.org/maps/NUT-95-race8 NUT_race8]
*DDmaX.Nut ★★✰✰✰ [https://ddnet.org/maps/NUT-95-race8 NUT_race8]
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-95-hardcore-95-race1 NUT_hardcore_race1]
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-95-hardcore-95-race1 NUT_hardcore_race1]
Line 80: Line 98:
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-95-hardcore-95-race5 NUT_hardcore_race5]
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-95-hardcore-95-race5 NUT_hardcore_race5]
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-95-hardcore-95-race6/ NUT_hardcore_race6]
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-95-hardcore-95-race6/ NUT_hardcore_race6]
<!--T:13-->


===Four players=== <!--T:14-->
===Four players=== <!--T:14-->
Line 91: Line 108:
*Brutal ★★★★★ [https://ddnet.org/maps/Cerberus Cerberus]
*Brutal ★★★★★ [https://ddnet.org/maps/Cerberus Cerberus]


<!--T:38-->
*Insane ★✰✰✰✰ [https://ddnet.org/maps/4q 4q]
*Insane ★✰✰✰✰ [https://ddnet.org/maps/4q 4q]
*Insane ★★★✰✰ [https://ddnet.org/maps/4u 4u]
*Insane ★★★✰✰ [https://ddnet.org/maps/4u 4u]
*Insane ★★★★✰ [https://ddnet.org/maps/4k 4k]
*Insane ★★★★✰ [https://ddnet.org/maps/4k 4k]


<!--T:39-->
*Oldschool ★★✰✰✰ [https://ddnet.org/maps/ddrace-95-loop ddrace_loop]
*Oldschool ★★✰✰✰ [https://ddnet.org/maps/ddrace-95-loop ddrace_loop]
*Oldschool ★★✰✰✰ [https://ddnet.org/maps/Hardcore-32-5 Hardcore 5]
*Oldschool ★★✰✰✰ [https://ddnet.org/maps/Hardcore-32-5 Hardcore 5]
Line 102: Line 121:
*Oldschool ★★★✰✰ [https://ddnet.org/maps/Lost-32-3 Lost 3]
*Oldschool ★★★✰✰ [https://ddnet.org/maps/Lost-32-3 Lost 3]


<!--T:40-->
*DDmaX.Nut ★★✰✰✰ [https://ddnet.org/maps/NUT-95-race1 NUT_race1]
*DDmaX.Nut ★★✰✰✰ [https://ddnet.org/maps/NUT-95-race1 NUT_race1]
*DDmaX.Nut ★★✰✰✰ [https://ddnet.org/maps/NUT-95-race4 NUT_race4]
*DDmaX.Nut ★★✰✰✰ [https://ddnet.org/maps/NUT-95-race4 NUT_race4]
Line 108: Line 128:
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-32-Hardcore-32-UNITED NUT Hardcore UNITED]
*DDmaX.Nut ★★★✰✰ [https://ddnet.org/maps/NUT-32-Hardcore-32-UNITED NUT Hardcore UNITED]


===Five players=== <!--T:16-->
===Five players=== <!--T:17-->


<!--T:17-->
<!--T:18-->
*Moderate ★★✰✰✰ [https://ddnet.org/maps/High-32-Five High Five]
*Moderate ★★✰✰✰ [https://ddnet.org/maps/High-32-Five High Five]


===Ten players=== <!--T:18-->
===Ten players=== <!--T:19-->


<!--T:19-->
<!--T:20-->
*DDmaX.Nut ★✰✰✰✰ [https://ddnet.org/maps/NUT-95-short-95-race4 NUT_short_race4]
*DDmaX.Nut ★✰✰✰✰ [https://ddnet.org/maps/NUT-95-short-95-race4 NUT_short_race4]


==New teamrank system== <!--T:20-->
==New teamrank system== <!--T:21-->


<!--T:21-->
<!--T:22-->
https://ddnet.org/news/new-rank-team-rank-calculation/
https://ddnet.org/news/new-rank-team-rank-calculation/


==Locking and restarting== <!--T:22-->
==Locking and restarting== <!--T:23-->


<!--T:23-->
<!--T:24-->
Locking a team prevents its current players from leaving it when dying. It also makes it so that all players in the team are killed if 1 member dies.
Locking a team prevents its current players from leaving it when dying. It also makes it so that all players in the team are killed if 1 member dies.


<!--T:24-->
<!--T:25-->
A team can be locked and unlocked using the chat command <code>/lock</code>
A team can be locked and unlocked using the chat command <code>/lock</code>


==Team 0== <!--T:25-->
==Team 0== <!--T:26-->


<!--T:26-->
<!--T:27-->
It's the default team a player gets upon joining a server. Finishing in this team will grant a [[Special:MyLanguage/Ranks and Points|rank]] but not a [[Special:MyLanguage/Ranks and Points|team rank]], as such requires you to be in a proper team.
It's the default team a player gets upon joining a server. Finishing in this team will grant a [[Special:MyLanguage/Ranks and Points|rank]] but not a [[Special:MyLanguage/Ranks and Points|team rank]], as such requires you to be in a proper team.


<!--T:27-->
<!--T:28-->
Team 0 cannot be locked.
Team 0 cannot be locked.


==Config variables== <!--T:28-->
==Config variables== <!--T:29-->




==Team Colors== <!--T:29-->
==Team Colors== <!--T:30-->


<!--T:30-->
<!--T:31-->
Each team <code>1-63</code> has its own color, these colors are assigned by using the [[wikipedia:Golden_angle|golden angle]]. Due to the properties of the golden angle, this can generate never repeating sequences of unique colors where the adjacent colors are very distinct. [https://github.com/ddnet/ddnet/pull/7129 GitHub Pull Request]
Each team <code>1-63</code> has its own color, these colors are assigned by using the [[wikipedia:Golden_angle|golden angle]]. Due to the properties of the golden angle, this can generate never repeating sequences of unique colors where the adjacent colors are very distinct. [https://github.com/ddnet/ddnet/pull/7129 GitHub Pull Request]


<!--T:31-->
<!--T:32-->
Here is a graph which depicts all teams corresponding to their colors:
Here is a graph which depicts all teams corresponding to their colors:
[[File:Team Color Index.png|left|thumb|799x799px]]
[[File:Team Color Index.png|left|thumb|799x799px]]

Latest revision as of 21:26, 28 June 2024

This article is a Stub. You can help us by editing and improving it.


DDNet allows players to play maps in teams with friends without interacting with the rest of the server. All teams are numbered and there are 63 teams available from team 1 to team 63. When joining a server everyone is in team 0 (also called t0) by default and can interact with everyone else in team 0. Some map types like in the Dummy Server category, where you have to play with your dummy require you to join a (non-team 0) team.

Joining Teams

Joining and interacting with teams is done via chat commands. To enter these commands you have to either press T or ↵ Enter and use

  • /team <id>: joins team with id 0-63, when joining you are in the specially handled team 0
    • /team: when specifying no team to join the server simply outputs the current team to your chat
  • /lock: toggles lock state, default is unlocked
    • /lock 1: always locks the team
    • /lock 0 or /unlock: always unlocks the team
  • /invite player_name: Invites a player into your team, allowing them to join even when the team is locked.

Binds

Connecting a dummy and making it join a specific team can be automated with a single key press. To set it up, create a file in the game directory, paste the code below into it, and bind a key in the F1 Console to execute the file using the bind command: bind [key] exec [filename]. This can save you a bit of time when playing Dummy Maps.

# connect dummy to the server
dummy_connect
# make dummy join a team, replace "[team number]" with a number between 1 and 63
say /team [team number]
# switch to main player controller
cl_dummy 0
# make main player controller join a team, replace "[team number]" with a number between 1 and 63
say /team [team number]
# lock the team so that nobody else can join your team
say /lock

Team size

The most members a single team can have is equal to 64. The same number can be seen getting used for the player slots of a single server. This is a limitation set by the codebase and is referred to as MAX_CLIENTS.

The largest team finish, with 64 tees, was done on "Gold Mine" in 2019-08-22 09:59:58 UTC[1].

Maps requiring more than two players

Three players

Four players

  • Insane ★✰✰✰✰ 4q
  • Insane ★★★✰✰ 4u
  • Insane ★★★★✰ 4k

Five players

Ten players

New teamrank system

https://ddnet.org/news/new-rank-team-rank-calculation/

Locking and restarting

Locking a team prevents its current players from leaving it when dying. It also makes it so that all players in the team are killed if 1 member dies.

A team can be locked and unlocked using the chat command /lock

Team 0

It's the default team a player gets upon joining a server. Finishing in this team will grant a rank but not a team rank, as such requires you to be in a proper team.

Team 0 cannot be locked.

Config variables

Team Colors

Each team 1-63 has its own color, these colors are assigned by using the golden angle. Due to the properties of the golden angle, this can generate never repeating sequences of unique colors where the adjacent colors are very distinct. GitHub Pull Request

Here is a graph which depicts all teams corresponding to their colors: