In bw, there were 3rd party editors that let you add colors to maps, and they would be randomly assigned to players upon the game loading. In sc2, there are more colors (I think 16?) but they are still forced, and you must choose colors. So I have a couple of questions regarding this:
(A) How do I change my melee map to have all the color options?
(B) How do I change my melee map to randomly assign colors upon loading the game?
(1) Is there an obvious way to make it so that stalkers can not blink across gaps without widening them or changing the terrain too much? Tanks and high Templar still need to be able to unload across the gaps.
(2) In the orignal BB, there is this meteor/asteroid rock lodged into solar array doodad for platform tileset that has unique properties. IIRC it has LoS blocking from certain angles, and a small unit like a ling or ghost can pass through the middle of it. Is there anything like this, or can I recreate this? If so how do I do that?
(3) Currently, I have the map set as arcade. I originally created the map before arcade was around and I guess it automatically assigned it to that. I think I would like to switch it to melee/custom but I am wondering if I will lose the custom loading screen, map info, reviews, etc.
(A) You can change color options by going into the Data Editor, open the tab "Edit Advanced Data -> Gameplay Data" and change the field UI: Team Color for the Default SC2 Gameplay Settings. Whether or not a color can be selected depends on whether or not it is Enabled and what the Minimum Player Count is for it to be visible.
(B) There is an action in the Trigger Editor "Set Player Color", the best approach to randomize player colors is probably to create a new Trigger with the Event "Map Initialization", loop through all players and just assign the colors to each player based on a random integer. Have some kind of algorithm to make sure that no same color gets assigned to multiple players.
I dunno if you are giving directions off of memory because they are somewhat vague and I'm having a bit of trouble figuring it out. Thank you for helping me. Sorry, I am familiar with the bw editor but I haven't used it in a long time, and I have barely used the sc2 editor.
So this is what I did so far:
Modules>Data>Data>Edit Advanced Data>Gameplay Data>Click default UI SC2 Gameplay Settings.
And then do I click on the right> Basic (UI) Team colors>right click>modify values> Change white to enabled, then change all the other colors with 8 to 0?
Modules>Triggers>click New Trigger>click event-map initilization>click action-set player color. Now what?
PS- I assume this means the map can't be used/converted to melee/custom maps now (and must remain arcade)? Or is there a way to do either of these without making it an arcade map?
So the trigger has worked fine for now, but I noticed something yesterday. 2 players in the same 2v2 game got the same purple (or almost nearly) color and it happened twice in a row. One time when they were allies, and another when they were opponents. What's up with that?