4 Commits

Author SHA1 Message Date
Resxt
70b5caf159 mapvote 2.1.0
Made it possible to have a default randomized map and mode from a user defined list when the human players count is between two values defined by the user

Added dvar mapvote_default_rotation_maps
Added dvar mapvote_default_rotation_modes (MP only)
Added dvar mapvote_default_rotation_min_players
Added dvar mapvote_default_rotation_max_players
2023-01-21 03:53:50 +01:00
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
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
92c37b15ea Create mapvote 2022-10-20 22:21:08 +02:00