Map Election
The plugin works like RTV (Rock The Vote) till the moment vote. While voting, the panel is displayed all the time of voting. The player can see a selection of other players and can change their choice in favor of the other map.
In the period of voting, plugin sets sv_alltalk 1, that allows players to additionally discuss the choice of map.
Voting starts at the beginning of the round.
Plugin sets mp_freeztime equal to voting time. Thus, the world stops at the time of the vote, and the players can fully concentrate on the vote.
In my opinion this interface allows to reach a consensus between the players.
Плагин работает подобно RTV до момента голосования. Во время голосования панель выбора карт отображается всё время голосования. Игрок может видеть выбор других игроков и изменить свой выбор в пользу другой карты.
На время голосования плагин включает sv_alltalk 1, что дает возможность игрокам дополнительно обсудить выбор карты.
Голосование запускается в начале раунда, предворительно выставив mp_freeztime равно времени голосования. Т.о. игровой мир как бы останавливается на время голосования и игроки полностью могут состредоточиться на голосовании.
Plugin Game: Any
(But tested in CSS only)
Installation instructions:
Download the attached zip archive and extract to your game folder.
Install archive contain:
addons
└sourcemod
.├plugins
.│.└map_Election.smx
.└transletion
...└map_Elections.phrases.txt
Usage:
say <key_word> [map_name]
Now key_words are: votemap, карту.
You can set any key words in CVAR sm_votemap_keywords. National words supported, but case sensitive.
Vous pouvez définir l'une quelconque des mots-clés dans CVAR 'sm_votemap_keywords'. Mot national pris en charge, mais sensible.
CVAR
sm_votemap_keywords - Key words for demand map vote. Delimiter is ;
sm_menu_item_fill - Character for customization fill space before items
sm_mapvote_voteduration - Duration voting in seconds
sm_rtv_minplayers - Number of players required before RTV will be enabled.
sm_vote_delay - Delay between votes
Used:
mp_freezetime
sv_alltalk
Plans:
-Add translations support
-Add select maps for vote like RTV.
-Add sound accompaniment.
-Add cvar for customizing key_word
-Convert more internal stuff into CVARS current work
Changelog
Get Source