How do I make game modes in the editor and players vote which mode to play after the match started? Do I need to save different versions of my map then somehow combine them?
It depends what you mean by Game Modes and what is your map and how you want it to works.
There is a Game Mode you can set for arcade maps that when you want to create a lobby, you have to choose which mode, but only the host will choose.
Else, if you want a menu to vote at game start, you have to create it yourself using dialogs, variables and calculate which of your choices received the most votes.
You do not have to save under different versions of the map at all. Basic voting like this does not require you to save under different maps. If you had changed major things like dependencies or a whole redesign of your map, then yeah it could potentially be good for those who likes to play old version of maps or whatnot. You cannot "combine" 2 maps together (talking about uploading 2 maps and combining them, that's impossible, but copy pasting triggers from one to another map that's possible).
A lobby voting system can be set up by creating custom player attributes to choose while in the lobby. (like choosing player color or race in the lobby).
Or, you can do voting after the map starts by using standard dialogs.
Game modes usually refer to game type. Ie: 1v1, 2v2, FFA or other
If it's a game mode as in Easy, Medium or Hard which only increases damage and health of some units or disables/enables some abilities (alters some stats in the same map or unlocking/locking some parts of the map), you can easily create that with a trigger.
Have a dialog with the options you want, that each player can vote in, and then have a system that counts which option got the most votes (I think I have a demo map of this somewhere, that I can locate if you want it).
Edit: Found the map! It's a voting system which works by having each option have a value (very easy= 100-199, Easy= 200-299, and so on), lets each player vote and then finds the average value of the votes.
So if one player votes easy +200, one votes Hard +500 and one votes normal +300, this gives 1000/3=333 which is between 300-399 and will result in a difficulty of Normal
I don't know if this goes here.
How do I make game modes in the editor and players vote which mode to play after the match started? Do I need to save different versions of my map then somehow combine them?
It depends what you mean by Game Modes and what is your map and how you want it to works.
There is a Game Mode you can set for arcade maps that when you want to create a lobby, you have to choose which mode, but only the host will choose.
Else, if you want a menu to vote at game start, you have to create it yourself using dialogs, variables and calculate which of your choices received the most votes.
You do not have to save under different versions of the map at all. Basic voting like this does not require you to save under different maps. If you had changed major things like dependencies or a whole redesign of your map, then yeah it could potentially be good for those who likes to play old version of maps or whatnot. You cannot "combine" 2 maps together (talking about uploading 2 maps and combining them, that's impossible, but copy pasting triggers from one to another map that's possible).
Working on projects:
@Bareleon: Go
A lobby voting system can be set up by creating custom player attributes to choose while in the lobby. (like choosing player color or race in the lobby).
Or, you can do voting after the map starts by using standard dialogs.
Game modes usually refer to game type. Ie: 1v1, 2v2, FFA or other
If it's a game mode as in Easy, Medium or Hard which only increases damage and health of some units or disables/enables some abilities (alters some stats in the same map or unlocking/locking some parts of the map), you can easily create that with a trigger.
Have a dialog with the options you want, that each player can vote in, and then have a system that counts which option got the most votes (I think I have a demo map of this somewhere, that I can locate if you want it).
Edit: Found the map! It's a voting system which works by having each option have a value (very easy= 100-199, Easy= 200-299, and so on), lets each player vote and then finds the average value of the votes.
So if one player votes easy +200, one votes Hard +500 and one votes normal +300, this gives 1000/3=333 which is between 300-399 and will result in a difficulty of Normal