[STALKER] SoC, sv_vote_enabled bit fields explained
Sunday, 14 June, 2009, 13:57 -
STALKERPosted by ned
The server cvar to enable voting for
S.T.A.L.K.E.R.: Shadow of Chernobyl is
sv_vote_enabled. From what I've seen on the internet no one knows how to ultilise this cvar fully with some incorrectly stating in server guides that a value of 1 is ON (and 0 is OFF).
sv_vote_enabled has bit fields that enables server admins to select and deselect the various voting options.
The voting setup in this game looks to have not been finished. An extra line in the menu called Text makes no sense and cannot even be activated. The interger range for this cvar 0-255.
Here are the bit fields required to work with the voting options.
sv_vote_enabled 0 (disables the voting menu)
+2 Restart
+4 Quick restart
+8 Drop
+16 Ban
+32 Change map
+64 Change weather
sv_vote_enabled 126 (full voting options enabled)
sv_vote_enabled 255 (full voting options enabled)
To choose what voting option you want to use start from 0 (OFF) and add each number corresponding with the option you want on. Use the sum of what you end up with in your server config or enter it into the console.
eg. To only enable map restart and map voting use:
sv_vote_enabled 34
nedd