Jump to content
Infinity Gaming

2 Screenshots

About This File

Description

Calls an in-game vote for the next map near the end on the round. Randomly selects four maps (by default, can be adjusted) from the current maplist to vote on. Before the options are displayed, a banner can be shown to get the players attention that voting is about to commence.

The votes are tallied and if there are more votes than the set threshold, the winner is the map with the most votes. If there is a tie, the winner is selected at random from the tied maps. The next map is announced and it can be periodically displayed until the end of the round.

In-game Screenshots

1.png

2.png

Installation
BF3: Unzip the 'xVotemap.cs' into your '..\Plugins\BF3\' folder.
BF4: Unzip the 'xVotemap.cs' into your '..\Plugins\BF4\' folder.

In-game Commands
/# While a vote is in progress, votes for the option represented by the #.

/v Displays the vote options while a vote is in progress. If typed before a vote, it will display the predicted amount of time before the vote begins.

/nextmap Displays the next map.

/votemap Initiates/restarts a votemap if the player has map changing priviledges in Procon.

enablevotemap Enables the votemap plugin if the player has map changing priviledges in Procon.

disablevotemap Disables the votemap plugin if the player has map changing priviledges in Procon.

Settings

3.png

Display
Enable Vote Banner?: Is the banner (designed to get the attention of players) displayed before the voting commences.
Voting Options Interval: Integer, in seconds, representing how often the map vote options are displayed once the voting poll opens.
Next Map Display Interval: Integer, in seconds, representing how often the winning next map is displayed after the voting is over but the round hasn't ended yet. A value of -1 will disable nextmap messages.
Show Gamemode in Voting Options? Determines if the shorthand notation for the gamemode is displayed in the voting options. This is most useful for those running mixed mode servers, especially if the same map is in the maplist with different gamemodes.

Map Options
Number of Vote Options Integer, between 2 and 8, representing the number of vote options to be displayed when a mapvote is called.
Exclude Current Map From Vote Options?: If yes, the current map with be excluded from the next map voting options, so to not allow the same map to be played twice.
Randomness: An integer from 0 to 10 representing the randomness of the map options for a vote. The algorithm changes the probability of each map and gamemode pair being selected as a vote option depending on how long ago it was last played.
4.png

Randomness = 0: Will rotate through the maplist, only showing the maps that haven't been played in a long time. Players should end up playing every map in the cycle.

5.png

Randomness = 5: Maps that haven't been played in a long time will have the highest probablity and recently played maps will have the lowest probability of being selected as vote options.

6.png

Randomness = 10: Every map has the same chance of being selected as an option. Players will tend to play the most popular maps repeatedly.

Voting
Trigger
: If Automatic, the voting will be triggered automatically near the end of the round. If Manual, the voting will have to be triggered manually with the /votemap command.

Voting Threshold: Integer, representing the minimum total number of votes that must cast for the highest voted map to become the nextmap. If no map reaches this threshold, then the map will just roll over to the next map in the maplist.

Voting Duration: Integer, in seconds, representing the target length of time the voting poll is open for.

Time between Voting End and Round End (Conquest): Integer, in seconds, representing how long from the end of the round the voting will finish. In other words, at what time you want the voting to take place, mear seconds before the end of round or in the middle of round sometime.

Voting Start Time from Start of Round (Rush and Defuse (Elimination)): Integer, representing the time when voting will start, in seconds from the start of the round. In rush, there is no way to predict when the round will finish with the current RCON information, as the status of MCOMs are unknown. So you must estimate how long the shortest rush round would take and start the vote a couple of minutes earlier in order to ensure a vote will take place.

Xtras
Debug Level
: Integer between 0 and 5, where 0 outputs no plugin debug messages, and 5 which outputs even the most mundane steps.

Development
Known issues BF3/BF4
If the maplist is changed during a vote the winning map will not correctly be the next map.

Known issues BF4
For TDM the gameserver reports 4 teams. (There are only 2)

Future Work
Improve Rush (and compatible) Auto Trigger
Improve map sorting algorithm.
Add maplist change event.

 


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...