Difference between revisions of "Voting"

From Team Fortress Wiki
Jump to: navigation, search
m (Filtered Voting: WordFilter(==+ ?(?:Update history|Previous changes) ?==+ -> == Update history ==) (Review RC#462291))
(rewrite majority of article entirely; include new section on server commands (listing all voting-related cmds & their defaults), rewrite lead, other formatting fixes)
Line 1: Line 1:
[[Image:Voting_YYN.png|right|Yes! Yes! No!]]
+
[[File:Voting_YYN.png|right]]
{{quotation|'''The Soldier''' celebrating Democracy at work|America wins again!|sound=Soldier_DominationMedic03.wav}}
+
{{quotation|'''The Soldier''' celebrating democracy at work|America wins again!|sound=Soldier_DominationMedic03.wav}}
 +
'''Voting''' is a game feature added in the [[Hatless Update]] on [[April 14, 2011 Patch|April 14, 2011]]. It enables any player to call a vote to enact a change on the server. The various voting options enable players to vote on a [[list of maps|map]] change, to kick a particular player or to scramble the teams. Any player can initiate a vote by clicking on the checkbox icon in the [[main menu]]. A vote type can then be selected and the vote is put to all players present in the server.
  
:''This article explains the voting engine that is included in the game, not any custom voting systems added by mods.''
+
The voting system was first introduced into the [[Team Fortress 2 Beta]] on [[March 9, 2011 Patch (Beta)|March 9, 2011]]. Two later updates that included tweaks to the system were made available in the beta, before the system went live in ''Team Fortress 2'' on April 14.
  
'''Voting''' is a game feature added in the [[Hatless Update]] ([[April 14, 2011 Patch]]). It enables players to call out a suggestion for players to either approve or disapprove. If enough approval votes are casted, the suggestion is implemented into the server.
+
The voting system can be disabled by setting the [[servers|server]] command {{code|sv_allow_votes}} to {{code|0}}. Particular voting types can also be disabled by specific server command (see [[#Server commands|below]]).
  
A player can initiate a vote by clicking on the checkbox in the [[main menu]] next to the "Resume Game" button. The game will then exit out of the main menu where a voting panel is placed in the middle of the screen. Players make their suggestion on the type of vote they want along with any additional options before clicking on "Call Vote" below.
+
== Voting types ==
  
Servers can disable the in-engine voting feature by entering <code>sv_allow_votes 0</code> in the console. It is recommended for any servers that rather want to use custom voting systems implemented by mods.
+
There are five types of votes that can be called:
 
 
== Voting Types ==
 
 
 
In the voting panel, players select the type of vote they want under the Issues column at the right. Currently, there are five types:
 
  
 
* '''Kick''': Kick a selected player out of the server.
 
* '''Kick''': Kick a selected player out of the server.
Line 20: Line 17:
 
* '''ScrambleTeams''': The players are put in a random team. Note that this will immediately scramble the teams rather than until the end of the round. A notification is given to all players that a scramble will commence before it happens.
 
* '''ScrambleTeams''': The players are put in a random team. Note that this will immediately scramble the teams rather than until the end of the round. A notification is given to all players that a scramble will commence before it happens.
  
Any voting type that has a '''(Disabled)''' tag in front of it means it cannot be selected. Server owners can change what types are and aren't allowed using server commands.
+
== Keyboard commands ==
 +
 
 +
; F1
 +
: Votes "Yes" on the current vote. Client command unknown.
 +
 
 +
; F2
 +
: Votes "No" on the current vote. Client command unknown.
 +
 
 +
; F3, F4, F5
 +
: Unknown.
 +
 
 +
== Server commands ==
 +
 
 +
Server-side variables can be set to adjust several elements of the voting engine. The following commands are made available:
  
== Functions ==
+
; {{code|sv_allow_votes}}
 +
: Enables or disables the voting system entirely. Defaults to {{code|1}} (enabled).
  
Server owners have several commands to not only allow voting and what types of votes, but also several other functions as well. Through the use of server commands, the in-game voting engine can be customized to fit the server's needs.
+
; {{code|sv_vote_allow_specators}}
 +
: Allow spectators to participate in votes. Defaults to {{code|0}} (disabled).
  
Currently, these functions can be changed in voting:
+
; {{code|sv_vote_failure_timer}}
 +
: Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to {{code|300}} (5 minutes).
  
* How much time must pass before the same type of vote must be initated again after it has failed the first time around.
+
; {{code|sv_vote_issue_kick_allowed}}
* Whether spectators are allowed to vote or not.
+
: Allow kick votes to be called. Defaults to {{code|0}} (disabled).
* Whether the NextLevel vote includes extending the current map or not.
+
 
* Whether the NextLevel vote is a yes-or-no vote on a single map or a selection of choices of other maps that have the lowest playtime.
+
; {{code|sv_vote_kick_ban_duration}}
* How much time (in minutes) must pass after a player has been kicked before said player can rejoin the server.
+
: The length of time (in minutes) of the ban on the player if the kick vote is successful. Defaults to {{code|1}}. Set to {{code|0}} to disable the ban entirely and instead only kick the player.
 +
 
 +
; {{code|sv_vote_issue_nextlevel_allowed}}
 +
: Allow the next level to be determined by vote. Defaults to {{code|1}} (enabled).
 +
 
 +
; {{code|sv_vote_issue_nextlevel_allowextend}}
 +
: Allow the next level vote to include an 'Extend' option. Defaults to {{code|1}} (enabled).
 +
 
 +
; {{code|sv_vote_issue_nextlevel_choicesmode}}
 +
: Allow players to be presented with a list of lowest playtime maps to choose from. Defaults to {{code|1}} (enabled).
 +
 
 +
; {{code|sv_vote_issue_changelevel_allowed}}
 +
: Allow a vote that changes the map to the next level immediately to be initiated. Defaults to {{code|0}} (disabled).
 +
 
 +
; {{code|sv_vote_issue_restart_game_allowed}}
 +
: Allow a vote that restarts the round to be initiated. Defaults to {{code|1}} (enabled).
 +
 
 +
; {{code|sv_vote_issue_scramble_teams_allowed}}
 +
: Allow a vote that scrambles the teams to be initiated. Defaults to {{code|1}} (enabled).
  
 
== Update history ==
 
== Update history ==
  
 
'''[[March 9, 2011 Patch (Beta)]]'''
 
'''[[March 9, 2011 Patch (Beta)]]'''
 
 
* Added in-game Voting system  
 
* Added in-game Voting system  
  
Line 56: Line 86:
  
 
'''[[April 14, 2011 Patch]]''' ([[Hatless Update]])
 
'''[[April 14, 2011 Patch]]''' ([[Hatless Update]])
* Added a new [[Voting|vote system]]
+
* Added a new vote system
 
** Server convars added to control the vote system
 
** Server convars added to control the vote system
  
[[Category:Team Fortress 2 Beta]]
+
[[Category:Gameplay]]

Revision as of 10:44, 17 April 2011

Voting YYN.png
America wins again!
The Soldier celebrating democracy at work

Voting is a game feature added in the Hatless Update on April 14, 2011. It enables any player to call a vote to enact a change on the server. The various voting options enable players to vote on a map change, to kick a particular player or to scramble the teams. Any player can initiate a vote by clicking on the checkbox icon in the main menu. A vote type can then be selected and the vote is put to all players present in the server.

The voting system was first introduced into the Team Fortress 2 Beta on March 9, 2011. Two later updates that included tweaks to the system were made available in the beta, before the system went live in Team Fortress 2 on April 14.

The voting system can be disabled by setting the server command sv_allow_votes to 0. Particular voting types can also be disabled by specific server command (see below).

Voting types

There are five types of votes that can be called:

  • Kick: Kick a selected player out of the server.
  • RestartGame: Restarts the current round. If this comes to pass, then a notification will be given out to all players that the round will restart. A set number of seconds past before a new round begins, neither team getting any points.
  • ChangeLevel: The current map changes to the selected map.
  • NextLevel: The next map is changed to the selected map. Unlike ChangeLevel, the current map doesn't end.
  • ScrambleTeams: The players are put in a random team. Note that this will immediately scramble the teams rather than until the end of the round. A notification is given to all players that a scramble will commence before it happens.

Keyboard commands

F1
Votes "Yes" on the current vote. Client command unknown.
F2
Votes "No" on the current vote. Client command unknown.
F3, F4, F5
Unknown.

Server commands

Server-side variables can be set to adjust several elements of the voting engine. The following commands are made available:

sv_allow_votes
Enables or disables the voting system entirely. Defaults to 1 (enabled).
sv_vote_allow_specators
Allow spectators to participate in votes. Defaults to 0 (disabled).
sv_vote_failure_timer
Cooldown time (in seconds); the time that must pass after a vote fails for another to be initiated. Defaults to 300 (5 minutes).
sv_vote_issue_kick_allowed
Allow kick votes to be called. Defaults to 0 (disabled).
sv_vote_kick_ban_duration
The length of time (in minutes) of the ban on the player if the kick vote is successful. Defaults to 1. Set to 0 to disable the ban entirely and instead only kick the player.
sv_vote_issue_nextlevel_allowed
Allow the next level to be determined by vote. Defaults to 1 (enabled).
sv_vote_issue_nextlevel_allowextend
Allow the next level vote to include an 'Extend' option. Defaults to 1 (enabled).
sv_vote_issue_nextlevel_choicesmode
Allow players to be presented with a list of lowest playtime maps to choose from. Defaults to 1 (enabled).
sv_vote_issue_changelevel_allowed
Allow a vote that changes the map to the next level immediately to be initiated. Defaults to 0 (disabled).
sv_vote_issue_restart_game_allowed
Allow a vote that restarts the round to be initiated. Defaults to 1 (enabled).
sv_vote_issue_scramble_teams_allowed
Allow a vote that scrambles the teams to be initiated. Defaults to 1 (enabled).

Update history

March 9, 2011 Patch (Beta)

  • Added in-game Voting system

March 11, 2011 Patch (Beta)

  • Tuning pass on CallVote cooldowns/timers:
    • Increased the cooldown before a player can call another vote
    • Increased the cooldown before a failed vote can be resubmitted
  • The CallVote screen now hides issues the server has disabled
  • Increased the percentage of players required to pass a vote
  • Kick issue: the player calling the vote no longer appears as an option in the Kick issue parameters list
  • Temporarily disabled Kick and Changelevel
  • Enabled nextlevel_choicesmode by default (to test it)
    • The server will automatically ask players to select the nextlevel shortly before the current map is over

March 18, 2011 Patch (Beta)

  • Voting keys changed to F1-F5
  • Further increased a vote calling cooldown

April 14, 2011 Patch (Hatless Update)

  • Added a new vote system
    • Server convars added to control the vote system