feat: enable layer voting

This commit is contained in:
Price Hiller 2023-02-01 10:57:12 -06:00
parent e52ad6b130
commit 4091194916
2 changed files with 34 additions and 1 deletions

View File

@ -35,7 +35,7 @@ UseVoteFactions="false"
UseVoteLevel="false" UseVoteLevel="false"
// Should next Layer be voted for at end of round? // Should next Layer be voted for at end of round?
UseVoteLayer="false" UseVoteLayer="true"
// Completly Allow or Disallow Team change to all players. Only user with Level_Balance access level can bypass this flag // Completly Allow or Disallow Team change to all players. Only user with Level_Balance access level can bypass this flag
AllowTeamChanges="true" AllowTeamChanges="true"

View File

@ -0,0 +1,33 @@
// Votes have several configurable variables, these are:
// Duration: The duration of the voting time.
// ResultPresentationDuration: The duration where players can see the results displayed, but cannot vote.
// AccessFilter: The minimum access level required in order to vote.
// TeamFilter: The teams that you must be a member of in order to vote.
// When using Level Vote, this value lets you control how many levels will be picked from your rotation and offered for each level vote
LevelCountPerVote=4
LevelVote_Duration=30
LevelVote_ResultPresentationDuration=5
LevelVote_AccessFilter=Public
LevelVote_TeamFilter=Team_Neutral+Team_One+Team_Two
// When not using Level Vote, this value lets you control how many layers will be picked from your rotation and offered in each layer vote
LayerCountPerVote=6
LayerVote_Duration=30
LayerVote_ResultPresentationDuration=5
LayerVote_AccessFilter=Public
LayerVote_TeamFilter=Team_Neutral+Team_One+Team_Two
Team_Neutral_Duration=30
Team_Neutral_ResultPresentationDuration=5
Team_Neutral_AccessFilter=Public
Team_Neutral_TeamFilter=Team_Neutral+Team_One+Team_Two
Team_One_Duration=30
Team_One_ResultPresentationDuration=5
Team_One_AccessFilter=Public
Team_One_TeamFilter=Team_Neutral+Team_One+Team_Two
Team_Two_Duration=30
Team_Two_ResultPresentationDuration=5
Team_Two_AccessFilter=Public