Garry's Mod
54 lượt đánh giá
Lythos Mapvote (TTT & co.)
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun
Kích cỡ file
Đã đăng
Đã cập nhật
27.767 KB
10 Thg06, 2017 @ 5:24am
1 Thg05, 2022 @ 4:34am
9 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Lythos Mapvote (TTT & co.)

Trong 1 bộ sưu tập tạo bởi Lytho
TTT Items
64 vật phẩm
Mô tả
Feel free to rate the addon - leave a comment and give feedback. :)

Mapvote with Mapicons.

You can use ULX to start the mapvote. In TTT, after a game ends the mapvote automatically starts.
------------------------------

Some maps does not have Icons?
Yeah - some maps does not come with a mapicon. For this I created an addon with some icons.
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=937190451
------------------------------

In "data/lythos_mapvote/config.txt" you can find a config for the mapvote.

mapRevoteBanRounds: Amount of rounds the map cannot be vote again (default 4)
mapsToVote: Amount of maps to vote for (default 10)
voteTime: Vote time (default 20)
mapPrefixes: Only show maps with given prefixes (default ttt_)
mapExcludes: Exclude some maps from vote - for an example if you install a map pack you can easily exclude some maps

In "data/lythos_mapvote/rtv.txt" you can find a config for the RockTheVote.

minVote: Min vote to run mapvote (default 3)
maxVote: Max vote to run mapvote (default 7)
percentage: Percentage between 0 and 1 to choose min votes (default 0.7)
minPlaytime: Playtime before allow RockTheVote in seconds (default 180)
------------------------------

If you have some question about the code - feel free to ask

Thảo luận nổi bật Xem tất cả (2)
10
4 Thg04, 2021 @ 11:27am
Issues with mapvote configuration
Tygron
0
6 Thg11, 2020 @ 12:06am
Revotebanlist not working - error in code?
Lampir
103 bình luận
[TR] James [YT] 23 Thg08, 2024 @ 10:23am 
any chance this can work with mercury?
https://github.com/TwistedTail/Mercury
Lytho  [tác giả] 2 Thg07, 2024 @ 5:52am 
ich schätze mal ULX hatte updates und die haben paar ihrer funktionen umbenannt. Ich muss mal schauen wann ich das fixe.
ILoveBeer 2 Thg07, 2024 @ 5:08am 
Hey, probiere das Addon für mein TTT2 Server mit ULX aus. Sobald ich per ULX ein Mapvote starten will passiert nichts und in der Konsole kommt ein LUA Error:

[ERROR] lua/mapvote/sv_mapvote.lua:29: attempt to call method 'Init' (a nil value)
1. Start - lua/mapvote/sv_mapvote.lua:29
2. call - lua/ulx/modules/sh/mapvote.lua:7
3. __fn - lua/ulib/shared/commands.lua:951
4. execute - lua/ulib/shared/commands.lua:1331
5. routedCommandCallback - lua/ulib/shared/commands.lua:1358
6. unknown - lua/ulib/shared/commands.lua:1374
7. unknown - lua/includes/modules/concommand.lua:54

Ich kann daraus leider nichts Lesen, bitte um Hilfe. :D
iTz_ElKay 7 Thg02, 2024 @ 8:37am 
Im OctagonalHUD, das (glaube ich) in TTT2 standardmäßig integriert ist, ist zentriert oben der Timer für die Rundenzeit. Dieser war am Überlappen mit dem Countdown des Mapvotes.
Lytho  [tác giả] 6 Thg02, 2024 @ 8:21am 
Funktioniert das TTT2 Hud anders bzw. ist größer?
iTz_ElKay 6 Thg02, 2024 @ 6:45am 
Habe jetzt in der "cl_mapframe.lua" lokal bei mir angepasst, dass die Start-Position folgendermaßen gesetzt wird "self:SetPos(0, math.Round(ScrH() / 14))". So skaliert es in TTT/2 mit dem OctagonalHUD korrekt (zumindest bei FullHD, WQHD und UHD) und überlappt nicht mehr mit dem Counter/ der Zeitanzeige.
iTz_ElKay 6 Thg02, 2024 @ 5:45am 
Ist es möglich, das Layout anzupassen? Bei mir überlappen die Icons mit dem Countdown. Gibt es eine Datei, die das standardmäßig ermöglicht oder muss ich per gmad die Grunddateien editieren?
Fresh Garry 14 Thg08, 2022 @ 12:56pm 
I am not sure because its on my friends server. At my local installation it is working. I will try to check the server again.
Lytho  [tác giả] 10 Thg08, 2022 @ 4:51am 
Is there no Lua error? hmm. Maybe ULX or even TTT2 overriding some behaviour.
Fresh Garry 28 Thg07, 2022 @ 12:29pm 
Hi,
Since some time this addon is not working anymore. I am using ULX and TTT2. Are there any known issues? It does not appear at the end of the round and there is not the point in the ULX menu.