Galileo

From AlliedModders Wiki
Revision as of 12:52, 7 November 2007 by Brad (talk | contribs)
Jump to: navigation, search

Provides a variety of next map choosing features. Intended to be used in place of all other map choosing plugins such as Deagles' Map Manager and AMXX's own mapchooser.

None of the features are enabled by default. As such, it acts much like AMXX's mapchooser. The power comes when you enable some of the features of MCP.


Map Nominations

Allows players to nominate maps for inclusion in the next map vote.

Not all nominations are guaranteed to be used. If there are more nominations than are allowed in the vote, a random selection of the nominations will be used. See the mcp_nom_qtyused CVAR description for more detail.

If a player disconnects, any nominations they had made will be cancelled.

CVARs

mcp_nom_playerallowance <iNominationCnt>

Specifies how many nominations each player can make. A value of 0 will disable this feature.

The default is 2 nominations.

mcp_nom_mapfile <cFile>

Specifies the file to use which holds the names of the maps that players can nominate.

There is no default value.

If left blank, which it is by default, addons/amxmodx/configs/mcp/nominatable.ini will be used. Otherwise, you must specify a fully qualified filename starting from your game mod folder (i.e. "cstrike", "dod", "czero", etc).

Example Values:

  • mapcycle.txt
  • ../../common_configs/mcp/nominatable.ini

mcp_nom_qtyused <iNominationCnt>

Specifies how many of the nominations made will be used in the next map vote. A value of 0 means all the nominated maps will be used.

The default is 0 (all nominations).

mcp_banrecent <iMapCount>

Specifies the number of recently played maps to disallow from being nominated.

The default is 3 maps.

Console Commands

mpc_nom_listmaps

Lists all the nominatable maps as defined in the nominatable map file. See the mcp_nom_mapfile CVAR description for more detail.

mcp_createmapfile [cFlags|cFilename]

Creates a map file listing all the maps located in the maps folder of the server.

There are various parameters that can be used with this command.

  • If the command is used without any additional parameters, it will create a file named "allmaps.ini" in your game mod folder (i.e. "cstrike", "dod", "czero", etc).
  • If a filename is specified, it will attempt to create that file. It must be a full qualified filename starting from your game mod folder. See the mcp_nom_mapfile CVAR for examples of what you can enter as a filename.
  • If "n", "v", or "nv" is specified, the files created will be based on the CVARs for nominatable maps and/or votefill maps, as applicable. See the mcp_nom_mapfile CVAR to determine the name of the file that will be created when using the "n" flag. See the mcp_votefill_mapfile CVAR to determine the name of the file that will be created when using the "v" flag.

Say Commands

nominations

Lists all the nominations already made.

nominate <map>

Nominates the specified map.

cancel <map>

Cancels the player's previous nomination of the specified map.

<map>

Toggles between nominating and cancelling the specified map.


Rock the Vote

Allows players to rock the vote, thus registering their desire to force a vote for the next map.

CVARs

mcp_rtv_start <fMinutes>

Specifies the number of minutes after a map starts, that players may begin to rock the vote.

The default is 10 minutes.

mcp_rtv_players <fPercentage>

Indicates the percentage of players that need to rock the vote before a vote will be forced to occur.

The default is 0.60 (60%).

mcp_rtv_commands <iFlags>

Specifies which say commands can be used to rock the vote. A value of 0 will disable this feature.

The flags are additive.
1: standard "rockthevote" command
2: shorthand "rtv" command
4: dynamic "rockthe<anything>vote" command

The default is 1.

The dynamic "rockthe<anything>vote" command allows a player to type any one word (i.e. no spaces) that starts with "rockthe" and ends with "vote". Some examples might be: "rockthedamnvote", "rockthesillylittlevote", or "rockthefreakingvote". The total length of the word can not be longer than 31 characters. That leaves 20 characters for creativeness once you factor in the lengths of "rockthe" and "vote".

Say Commands

rockthevote

Registers the player's desire for an early map vote.

rtv

Alias for "rockthevote". This is the shorthand command.

rockthe<anything>vote

Alias for "rockthevote". This is the dynamic command. See the mcp_rtv_commands CVAR description for more detail.


Runoff Voting

Allows a secondary vote of the two highest vote getting maps if a single map doesn't win the first vote by more than 50% of the total votes.

The runoff vote will utilize the applicable mcp_vote_* CVARs, with the exception of mcp_vote_duration, which is overridden by mcp_runoff_duration.

Runoff voting can only occur if there are more than two maps with votes in the first vote.

CVARs

mcp_runoff_enabled <0|1>

Specifies whether to allow runoff voting or not.

0: Disable
1: Enable

The default is 0.

mcp_runoff_duration <iSeconds>

Specifies the number of seconds the runoff vote should last.

The default is 10 seconds.


Vote Filler Groups

Vote Status Display

Disallow Recent Maps from Votes

Weighted Admin Votes