Garry's Mod

Garry's Mod

32 평점
Honest MapVote (fretta-style mapvote extension)
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Water
파일 크기
게시일
업데이트일
35.987 KB
2024년 3월 26일 오후 10시 50분
2024년 8월 9일 오후 7시 05분
업데이트 노트 13개 (보기)

다운로드 위해 구독하기
Honest MapVote (fretta-style mapvote extension)

wget님의 1 모음집
ESB TTT addons
아이템 13개
설명
MapVote - Fretta-like Map Voting is required for this to work!
(Other slightly-modified versions like MapVote - Prop Hunt edition! also work)

REAL DEMOCRACY: this allows players to vote for maps honestly by using ranked-choice voting instead of first-past-the-post voting (which wins by plurality instead of majority and heavily encourages strategic voting because of wasted votes which prevents people from voting for what they actually want)

the modified voting ui also ensures that ALL maps from the workshop will have a thumbnail in the voting menu
(map icon packs will still work but they're no longer necessary)

new client chat commands:
revote - Re-opens the vote menu after it's closed

unrtv - Removes your vote to rtv

also, voting to rtv while having already voted will tell you the current rtv progress

new server config settings:
RandomMapOption - Allow people to vote for a random map to be selected, defaults to false

RTVCountSpectators - Whether spectators should count towards the number of players that need to rtv, defaults to false

RTVPercentNeeded - Fraction of players that need to vote to rtv to trigger the mapvote, defaults to 0.66

RTVWaitSeconds - Number of seconds after a map change before players are allowed to vote to rtv, defaults to 60

ThumbsFastDL - Calls the resource.AddSingleFile() function on all map thumbnails, only works for servers with FastDL, defaults to false because it will increase initial load times

AllowedMaps - List of maps that will bypass the MapPrefixes filter, set to [] to disable

DisabledMaps - List of maps that will be excluded from the voting options, set to [] to disable

OverplayedMapsPattern - Maps that match this pattern will have the random weight in OverplayedMapsWeight applied, multiple patterns are separated with the | character, set to "" to disable

OverplayedMapsWeight - Random weight multiplier for maps that match the pattern in OverplayedMapsPattern, defaults to 0.5

default value for MapLimit is changed to 12 (from 24), i don't recommend going above 12 because people will feel like they're too overwhelmed with options

default value for TimeLimit is changed to 30 (from 28)

also, the config file is now pretty-printed now so it's easier to edit,
delete data/mapvote/config.txt to reset the mapvote config so this can take effect

more info:
this should probably work with most modified versions of fretta-style mapvote
(no guarantee, but it's very likely)

tell me in the comments below if you encounter some issue or if you want to suggest some feature

anyone is free to edit and share edited versions of this addon's code
(just make it clear what you changed)

my addons:
my maps:
댓글 20
glarmer ⛟ 2025년 3월 28일 오전 4시 37분 
Would it be possible to add a rating system for maps like in Perfect Map Vote (https://steamproxy.net/sharedfiles/filedetails/?id=2428251124)

(Basically at the end of a round players can rate the map, and this rating appears during voting in the future)
Pee Warmer 2025년 1월 3일 오전 9시 16분 
Nevermind, it still doesn't account the current map played.
Pee Warmer 2025년 1월 3일 오전 9시 06분 
Looks like your addon really doesn't support the ♥♥♥♥♥♥♥♥♥♥♥ that is Murder's map name formatting - mapname.%bsp$

After changing it to just the mapname it works flawlessly.
Pee Warmer 2025년 1월 3일 오전 8시 24분 
Original Fretta-like MapVote works just fine though.
Pee Warmer 2025년 1월 3일 오전 8시 23분 
uh, looks like Murder really doesn't like this addon - passing prefixes via
MapVote.Start(nil, nil, nil, prefix)
which prefix is a pointer containing all the map names - yields aboslutely nothing in the map pool.
Elfbarf 2024년 6월 3일 오후 1시 52분 
Would it be possible to add map minimum/maximum playercounts similar to EX3MP's plugin?
https://github.com/EX3MP/gmod-mapvote
wget  [작성자] 2024년 4월 26일 오후 5시 17분 
@Clifford yes
Clifford 2024년 4월 24일 오전 4시 18분 
I ended up using AllowedMaps. Thanks for adding it.
Reziem 2024년 4월 6일 오후 9시 54분 
Is it possible for me to edit / move the entire map vote UI down a bit from the top of the screen?
wget  [작성자] 2024년 4월 4일 오후 7시 26분 
@Clifford oh since you mention you only need specific maps like cs_office, i added AllowedMaps which will bypass the prefix whitelist