Garry's Mod

Garry's Mod

Yeterli oy yok
MapVote - Prop Hunt edition!
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
İçerik Türü: Eklenti
Eklenti Türü: Sunucu İçeriği
Eklenti Etiketleri: Eğlence, Rol Yapma
Dosya Boyutu
Gönderilme
21.370 KB
25 Oca 2020 @ 7:32
1 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
MapVote - Prop Hunt edition!

SirBrumble tarafından 1 koleksiyonda
Hybrid Networks | Addon Storage
139 öğe
Açıklama
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 Yorum
AmbitiousRam 21 Ağu @ 9:13 
Does this work for prophunters or just prophunt
concrete shoes 13 Nis 2024 @ 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  [yaratıcı] 12 May 2023 @ 12:36 
I hope everyone is enjoying this plugin.

I intend to update soon for all current versions.
麻辣香锅 1 Kas 2020 @ 3:55 
ok thanks:)
SirBrumble  [yaratıcı] 1 Kas 2020 @ 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 Eki 2020 @ 21:15 
Can MapVote be used in Homicide:)
SirBrumble  [yaratıcı] 9 Eyl 2020 @ 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 Eyl 2020 @ 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  [yaratıcı] 7 Eyl 2020 @ 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 Eyl 2020 @ 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