6 Commits

Author SHA1 Message Date
Resxt
ff74d9561c mapvote 1.1.0
Added mapvote_sounds_menu_enabled dvar.
You can now enable or disable the sounds playing in the menu when selecting an item, moving up or down and canceling a choice

Added mapvote_sounds_timer_enabled dvar.
You can now choose if the timer will start beeping when there's only 5s left or not

Added mapvote_display_wait_time dvar.
Changed the wait time before displaying the menu from 3s to a configurable dvar

Replace most level.mapvote variables with GetDvar instead to avoid setting too much variables when we can simply retrieve the dvar value (try to avoid hitting the variable limit that the game has)

Replace start notify and end function listener with a direct with direct function calls for better compatibility for future updates
2022-10-25 16:30:07 +02:00
Resxt
1b72a22a63 mapvote 1.0.4
Fix missing include error in zombies
2022-10-22 15:55:38 +02:00
Resxt
0ed53a1b8c mapvote 1.0.3
Changed modes mode name and cfg name separator from semi-colon (;) to comma (,) since the semi-colon seems to not be parsed properly when set through a cfg file

Added more debugging prints:
- Most voted map votes and index
- Most voted map votes and index
- Final map name, mode name and mode cfg just before rotation, all separated in multiple prints to detect any empty/wrong string

Removed old comments
2022-10-21 22:53:44 +02:00
Resxt
98d005b57e mapvote 1.0.2
Changed all notifies with the mapvote prefix to avoid conflicts with other scripts

Fixed some typos in the code comments

Removed self notifyonplayercommand("unselect", "+frag"); as it should have been removed in 1.0.1
2022-10-21 21:18:39 +02:00
Resxt
72211fc2a2 mapvote 1.0.1
Fixed undo key for controllers.
Controllers are now fully supported

Removed the frag/+frag button for the undo option as it wasn't working for controllers

Moved the use/+activate key from the select option (by default F on PC and Square on Playstation controllers) to the undo option instead.

Updated the README to add controller support information and screenshot
2022-10-21 18:41:52 +02:00
Resxt
92c37b15ea Create mapvote 2022-10-20 22:21:08 +02:00