Garry's Mod

Garry's Mod

Ikke nok vurderinger
MapVote - Prop Hunt edition!
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Filstørrelse:
Offentliggjort:
21.370 KB
25. jan. 2020 kl. 7:32
1 ændringsbemærkning ( vis )

Abonner for at downloade
MapVote - Prop Hunt edition!

I 1 samling af SirBrumble_TTV
Hybrid Networks | Addon Storage
139 genstande
Beskrivelse
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 kommentarer
AmbitiousRam 21. aug. kl. 9:13 
Does this work for prophunters or just prophunt
concrete shoes 13. apr. 2024 kl. 20: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  [ophavsmand] 12. maj 2023 kl. 12:36 
I hope everyone is enjoying this plugin.

I intend to update soon for all current versions.
麻辣香锅 1. nov. 2020 kl. 3:55 
ok thanks:)
SirBrumble_TTV  [ophavsmand] 1. nov. 2020 kl. 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.
麻辣香锅 31. okt. 2020 kl. 21:15 
Can MapVote be used in Homicide:)
SirBrumble_TTV  [ophavsmand] 9. sep. 2020 kl. 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 8. sep. 2020 kl. 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  [ophavsmand] 7. sep. 2020 kl. 23: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 7. sep. 2020 kl. 18: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