Snnag-ImprovedVote icon

ImprovedVote

Improved map/mode voting for Fifty's Server Utils

Last updated 2 years ago
Total downloads 368
Total rating 1 
Categories Server-side
Dependency string Snnag-ImprovedVote-2.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

northstar-Northstar-1.10.0 icon
northstar-Northstar

Titanfall 2 modding and custom server framework.

Preferred version: 1.10.0
Fifty-Server_Utilities-2.0.0 icon
Fifty-Server_Utilities

A chat command and poll framework for servers. Includes basic commands, map voting, team balancing and admin utils.

Preferred version: 2.0.0

README

Snnag's Improved Vote

Improved map/mode voting for Fifty's Server Utilities.

Features

  • Set infinite map/mode combos. Players will be able to vote between a random selection of options.
  • Supports any number of maps and modes: voting will automatically disable if there are no options.
  • Voting runs during the postmatch screen instead of at a certain time remaining, meaning less interruptions.
  • Players always have a chance to vote, even if the match ends early.
  • A new !skip command goes to the postmatch screen, allowing players to see scores and vote for the next match.
  • Voting can be turned off to automatically pick a random map/mode combo at the end of each game. No more repeating playlists!

Setting up

Copy mod/scripts/vscripts/config.example.nut to mod/scripts/vscripts/config.nut. This is where any config options that don't fit into a ConVar will go.

  • SIV_PLAYLIST is the list of available maps/mode combos. Make sure that PLAYLIST_LEN is equal to the number of items in the playlist!
  • SIV_CUSTOM_MAP_NAMES is a table of map name overrides to customize how the poll is displayed.
  • SIV_CUSTOM_MODE_NAMES is a table of mode name overrides to customize how the poll is displayed.

ConVars

  • SIV_ENABLE_SKIP enables or disables !skip. Default: "1" (enabled)
  • SIV_ENABLE_GAME_VOTE enables or disables voting. When disabled, a random map/mode combo will be picked. Default: "1" (enabled)
  • SIV_MAX_OPTIONS sets the max number of combos presented to players. Should be no more than 7. Default: "5"
  • SIV_POSTMATCH_LENGTH sets the duration the postmatch screen and vote are shown. Default: "15"
  • SIV_MAPCHANGE_FRACTION sets the fraction of players that skip vote. Default: "0.6"
  • SIV_SKIP_VOTE_LENGTH sets the duration that skip votes will run for. Default: "60"

License

Provided under the MIT license. Check the LICENSE file for details.