Vote controller: Difference between revisions
Jump to navigation
Jump to search
Important:This is a preserved entity in 


.
If the game has round restart mechanics this entity may not behave as expected:
Warning:Killing this entity may crash the game.
(listissues) |
|||
Line 26: | Line 26: | ||
{{varcom|sv_vote_bots_allowed {{tf2}}|0||Allow bots to vote or not.}} | {{varcom|sv_vote_bots_allowed {{tf2}}|0||Allow bots to vote or not.}} | ||
{{varcom|end}} | {{varcom|end}} | ||
== {{mono|listissues}} == | |||
=== Team Fortress 2 === | |||
{{todo}} | |||
=== Left 4 Dead / Left 4 Dead 2 === | |||
<pre> | |||
---Vote commands--- | |||
callvote ChangeDifficulty Impossible | |||
callvote ChangeDifficulty Expert | |||
callvote ChangeDifficulty Hard | |||
callvote ChangeDifficulty Normal | |||
callvote RestartGame | |||
callvote Kick <userID> | |||
callvote ChangeMission | |||
callvote ReturnToLobby | |||
callvote ChangeChapter | |||
callvote ChangeAllTalk | |||
--- End Vote commands---</pre> | |||
=== Counter-Strike: Global Offensive === | |||
{{todo}} | |||
== See also == | == See also == |
Revision as of 07:53, 3 May 2025

![]() |
---|
CVoteController |
![]() |
vote_controller
is a logical entity available in all Source games except
. It controls the voting system in game. It's spawned automatically in games where voting by players is available such as
Left 4 Dead series,
Team Fortress 2,
Counter-Strike: Global Offensive.





If the game has round restart mechanics this entity may not behave as expected:
|

ConCommands
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
callvote | string | issue to be voted on | Start a vote on an issue. If no parameters provided then it lists available issues if the game supports vote_controller . |
listissues | void | void | List all the issues that can be voted on. |
ConVars
listissues
Team Fortress 2
[Todo]
Left 4 Dead / Left 4 Dead 2
---Vote commands--- callvote ChangeDifficulty Impossible callvote ChangeDifficulty Expert callvote ChangeDifficulty Hard callvote ChangeDifficulty Normal callvote RestartGame callvote Kick <userID> callvote ChangeMission callvote ReturnToLobby callvote ChangeChapter callvote ChangeAllTalk --- End Vote commands---
Counter-Strike: Global Offensive
[Todo]