Paradise
Paradise copied to clipboard
Impliments a new voting system for weekends and wednesday: Hybrid FPTP weighted random from preferences
What Does This PR Do
Adds the hybrid hellish first past the post system of preferences.
This works as the following:
Ok, that paint diagram sucked.
You rate the maps you want in preferences, from 1-5. This means for the days with these systems you do not manually vote. Then, we remove the most recent 2 maps. Last rounds and the current rounds map. Let us say you had cyberiad, delta and faragus as your3 most favourite maps, cyberad the highest, faragus the lowest. You would vote cyberiad by default, but if it is not an option, it would pick your next best choice, delta. If thats not an option, you vote for faragus. Afterword, it tallies up the votes for the 3 active maps. It then does a weighted pick of these 3 maps. Spinning a wheel, with 1 slot for each vote. This means that we don't get the same 3 maps in a row, there is chance for the less popular maps, but generally its what the majority of the playerbase wants, without it swaping between say, box and diagoras over and over every 2 rounds.
adds the required config change to example, and the stuff for the database. Thank you so much @warriorstar-orion for helping with this pr.
Why It's Good For The Game
We don't have people voting for maps, yet they complain about what maps roll! This should help. This system gives you what you want (per preferences), while avoiding 2 maps looping forever by making it exclude the last map as well as current, as well as implementing the weighted random. It avoids the issues of random map selection by being what people online want, and without repeating too often. It fixes people not voting by working off preferences. It also gives us information we can track for peoples maps rated most popular to least. Hopefully, people like it.
It might be worth forcing people with 100+ hours (new players wouldn't know the map), to vote, otherwise they can't join the round, so we don't have people not voting that know maps
Testing
working with warriorstar to make sure it updates the database rights, saves properly, ect, Testing with multiple clients to ensure the votes are placed correctly, last map is loaded, vote% is mostly accurate (note if people do not select maps it will not be accurate.
Declaration
- [x] I confirm that I either do not require pre-approval for this PR, or I have obtained such approval and have included a screenshot to demonstrate this below.
yes that says stupid vote idea thats because I doubt myself every time I look in the mirror.
Changelog
:cl: Qwertytoforty, warriorstar-orion add: Adds a new map voting type. Hybrid First past the post, with weighted random. See the pr for details. add: Adds map preferences. Check under the antagonist and maps tab in game preferences, and vote on them! /:cl: