Garry's Mod

Garry's Mod

評價次數不足
MapVote - Prop Hunt edition!
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
檔案大小
發佈於
21.370 KB
2020 年 1 月 25 日 上午 7:32
1 項更新註記 (檢視)

訂閱以下載
MapVote - Prop Hunt edition!

在 SirBrumble | TTV 的 1 個收藏中
Hybrid Networks | Addon Storage
139 個項目
描述
After many months of seeing people ask for it here it is, My version of Map Vote specifically designed for Prop Hunt Server.

Features
+ Config file that automatically generates at garrysmod/data/mapvote/config.txt
+ Map CoolDown System
+ Build in Rock The Vote
+ MapVotes from RTV delayed to the end of the current round, so as to not effect gameplay
+ Integration with ULX admin mod to allow a force mapvote and a mapvote cancel with !mapvote and !unmapvote.
+ Working with Prop Hunt and Deathrun.
+ Enable/Disable on RTV delay to round end
+ Config to give extra voting power to Admins/Donators
+ Any good suggestions I get



Installation
======================

Most config options are self-explanatory and you should be able to take a safe bet at editing them. MapPrefixes is a table, and you should look at the example on the page linked above before editing it.

Simple subscribe to use my current config, or extract the addon with gmad.exe and edit the lua's to your liking.

Important
======================

Once you run the addon in your server it will create a file called config.txt in your garrysmod/data/ folder.

I highly reccomend you edit the config.txt file and use my configuration below:

"{"RTVPlayerCount":1,"MapLimit":100,"TimeLimit":30,"AllowCurrentMap":true,"MapPrefixes":["ph_"],"MapsBeforeRevote":0,"EnableCooldown":false}"
22 則留言
AmbitiousRam 8 月 21 日 上午 9:13 
Does this work for prophunters or just prophunt
concrete shoes 2024 年 4 月 13 日 下午 8:29 
I get this error:

[MapVote - Prop Hunt edition!] lua/mapvote/cl_mapvote.lua:47: attempt to call method 'SetMaps' (a nil value)
1. func - lua/mapvote/cl_mapvote.lua:47
2. unknown - lua/includes/extensions/net.lua:38
SirBrumble | TTV  [作者] 2023 年 5 月 12 日 下午 12:36 
I hope everyone is enjoying this plugin.

I intend to update soon for all current versions.
麻辣香锅 2020 年 11 月 1 日 上午 3:55 
ok thanks:)
SirBrumble | TTV  [作者] 2020 年 11 月 1 日 上午 3:28 
You'll have to change the config file and re-edit all the code in the lua files to work with the game mode :) but yes, it's possible.
麻辣香锅 2020 年 10 月 31 日 下午 9:15 
Can MapVote be used in Homicide:)
SirBrumble | TTV  [作者] 2020 年 9 月 9 日 上午 7:01 
Add me on steam, it'll be easier if you just send me the files so i can go through them for you :)
Bill 2020 年 9 月 8 日 上午 11:56 
When i type !mapvote into the console it says that i've initiated a map vote and the screen comes up like it's gonna let me, but it says the countdown is zero and no maps show up. The weirdest thing is that after maybe thirty seconds it does switch to another prop hunt map. it just doesn't give me the option to choose which map. Also my config.txt looks like how you recommended to set it up in the description, although i can double check to make sure i didn't mess anything up.
SirBrumble | TTV  [作者] 2020 年 9 月 7 日 下午 11:23 
Okay.

It's not actually the SetMaps thats causing the issue as that's literally just a function that's asking the addon to display a list of the maps.

"
MapVote.Panel = vgui.Create("VoteScreen")
MapVote.Panel:SetMaps(MapVote.CurrentMaps)
end)
"

Does the mapvote screen come up when you end round or activate it?
Did you change any of the lua files?
What does your config.txt look like?

Bill 2020 年 9 月 7 日 下午 6:55 
Sure thing:

[MapVote - Prop Hunt edition!] lua/mapvote/cl_mapvote.lua:47: attempt to call method 'SetMaps' (a nil value)
1. func - lua/mapvote/cl_mapvote.lua:47
2. unknown - lua/includes/extensions/net.lua:32