Votes

From Q4MAX

A number of settings can be changed using the "callvote" command. The available votes can always be displayed using "callvote ?" at the console, however given below is the summary information.

The vote menu displays enabled votes and their summary information.

Contents

Settings for modes and votes

All of these settings can be changed through votes and in custom modes.

armor

<0 to 200>

Sets how much armor players spawn with in CA / CTFS / FT

armordecay

<0 or 1>

Controls armor decaying when over 100

armorsystem

<0 or 1>

Switches between "weak"/simple and "strong"/advanced armor systems

Weak system
Standard armor behaviour from vq3 and vq4.
All armors protect 2:3 and always decay. GA is 25, YA is 50, RA is 100.
Strong system
CPM-like armor system.
GA protects 1:1, first pickup 50, second adds 50
YA protects 2:1, first pickup 100, second adds 50
RA protects 3:1, first pickup 150, second adds 50
Armour decays in Clan Arena modes only.
RA > 150YA crossover point is 133RA
YA > 100GA crossover point is 75YA

autobalance

<0 or 1>

Controls even team playercounts

autothaw

<1 to 255>

FT: Amount of time before a player automatically thaws

buymode

<0 or 1>

Enables buying, where players are awarded credits for frags, and buy weapons with these credits

caplimit

<value>

Changes the capture limit

controltime

<1 to 999>

Time required to hold the dead zone

countdown

<4 to 360>

The amount of time used for the pre-game countdown

droppowerups

<0 or 1>

Controls powerups dropping when the carrier dies

dropweapons

<0 or 1>

Controls ability to drop weapons for teammates

enemyspec

<0 or 1>

Controls whether players can spec the enemy team when dead in CTFS / CA

falldamage

<0 or 1>

Controls falling damage

footsteps

<0 or 1>

Controls footstep sounds

fraglimit

<value>

Changes the fraglimit

freezestyle

<EU or US>

Controls the style of freezetag used - EU / US

This changes the what happens when a team scores a point by freezeing all players. In US style only the "losing" team gets thawed. In EU, all frozen players get thawed, and non-frozen players are reset to default weapons.

Traditionally, EU style FT doesnt have all weapons at spawn while US has all weapons - see the FTEU vs FTUS default mode settings.

health

<100 to 200>

Sets how much health players spawn with in CA / CTFS / FT

itemInhibit

<bitmask>

This vote lets you prevent items from spawning. To calculate the value required, add together the numbers from the table below:

SG		1
HB		2
GL		4
NG		8
RL		16
RG		32
LG		64
DMG		128
NPG		256
Ammo MG		512
Ammo SG		1024
Ammo HB		2048
Ammo GL		4096
Ammo NG		8192
Ammo RL		16384
AMmo RG		32768
Ammo LG		65536
Ammo DMG	131072
Ammo NPG	262144
Health Shard	524288
Health Small	1048576
Health Large	2097152
Health Mega	4194304
Armor Shard	8388608
Armor YA	16777216
Armor GA	33554432
Armor RA	67108864
Quad		134217728
Haste		268435456
Invis		536870912
Regen		1073741824

So, if you want to inhibit all items, you would use "inhibitItems 2147483647".

-item

name

This can be used to remove items one by one. The name can either be the name it is known to mappers (eg weapon_railgun), or it can be a short name "RG", or "AmmoRG". You can specify this vote multiple times in a config each time with a different item to remove, as an alternative way of using the inhibitItems vote.

modelsounds

<0 or 1>

Controls whether strogg models sound like stroggs

mutespecs

<0 or 1>

Controls whether spectators may talk to the active players

overtime

<0 to 1>

Sets overtime style

poweruprespawn

<-1 to 120>

Sets powerup respawn delay in seconds

selfdamage

<0 to 3>

Controls ability to hurt yourself

startfreeze

<0 or 1>

Controls whether players can move during countdown in CTFS / CA

startrespawn

<0 or 1>

Controls whether players respawn at the beginning of CTFS / CA

startammoMG/SG/HB/GL/NG/R//RG/LG/DMG/NPG

Sets how much ammo for the weapon the player has at spawn.

For the machinegun, this means 100. Every other weapon has 0 default spawn ammo.

When changing startweapons from the default 3, you will need a startammo value for the added weapons if you want to have ammo for them when you spawn.

startweapons

<bitmask, default 3>

Set players initial armament on spawn.

1 - Gauntlet
2 - Machinegun
4 - Shotgun
8 - Hyperblaster
16 - Grenade Launcher
32 - Nailgun
64 - Rocket Launcher
128 - Railgun
256 - Lightning Gun
512 - Dark Matter Gun
1024 - Napalm Gun

teamdamage

<0 to 3>

Controls ability to hurt teammates

thawtime

<1 to 255>

FT: Amount of time a player must stand beside a frozen player to thaw them.

thawwherekilled

<0 or 1>

FT: determines whether a player should respawn at the location where they were killed, or at a spawn point.

timelimit

<value>

Changes the current timelimit

warmup

<0 or 1>

Controls pre-match warmup

weaponrespawn

Sets weapon respawn delay (0 means weaponstay). -1 uses the map defaults

xgosounds

<0 or 1>

Enables XGO's advanced positional sounds

Settings for modes only

The following votes can only be used within a mode definition, not callvoted separately:

  • instagib <0 or 1>

Railguns at dawn...

  • gametype <0 to 9>
0 - FFA
1 - ravenTourney
2 - TDM
3 - CTF
4 - Arena CTF
5 - CA
6 - CTFS
7 - Duel
8 - Freezetag
9 - Deadzone
  • tickrate <30-500>

Equivalent to changing si_fps in the base game. We do not recommend high tickrates for games with large numbers of players.

Settings for votes only

The following votes should only be used directly, not within a mode definition:

  • random <2 to 100>

Picks a number from 1 to <value>

  • referee <player_id>

Elects a player to have admin abilities

  • restart

Restarts the current game

  • kick <player_id>

Attempts to kick player from server

  • map <mapname>

Loads a new map

  • mode

Changes the base gametype and loads a standard set of rules

  • nextmap

Ends the current game and loads the next map in the cycle

Enabling voteable settings

Most votable vars can be disabled via the vote_allow_* cvars with appropriate names (i.e vote_allow_timelimit ) in the server config file , which provides fine control over which settings can be voted for by players.