This question might belong in triggers, cause im not sure how to approach this problem.
So player color can be set with triggers, which is great, cause in my map I let players choose a country, then set their color according to that (ie. Germany is always dark grey, France is always blue...). I think it helps the players recognize what nation troops belong to at a glance once they learn the colors. The problem is that when the score screen comes up, the colors of the players are the ones from the lobby. Even if I hide and disable color selection, it still uses the default player colors, it doesn't seem to register the mid-game color switch at all.
The way I see it there are two possible solutions, but I can figure out how to do either.
1. Combine the color attribute and the Nation attribute into one. So basically change the appearance of the color selection icons (just colored rectangles) to the names of the nations, and use that modified color attribute as the hook to my tiggers. I have no idea where to alter the appearance of those icons though, if thats possible.
2. Change the color that gets used in the score screen to whatever the player is assigned somehow. Again I have no idea how to do this.
If anyone can shed any light on this problem I would appreciate it, thanks.
For some reason the post game loading screens are stuck loading infinitely so I can't actually test anything, but there is a setting you can try.
Map > Game Variants > Player Attributes > Hidden Attributes > Color
This prevents players from having the option from selecting their color in the lobby and it MIGHT remove color form showing in the post game screen, but again I can't actually test myself. If that does happen to work you could mess around with Score Results or Score Values in the Advanced Game Data section of the data editor to try and show country name is the post game screen. Other than that I don't see much else that can be done in the way of your two ideas.
An entirely different solution that I know works is just making your own score screen that shows in game before players leave, then not showing the default one at all. It is more work to set up but allows for even more customization.
This question might belong in triggers, cause im not sure how to approach this problem.
So player color can be set with triggers, which is great, cause in my map I let players choose a country, then set their color according to that (ie. Germany is always dark grey, France is always blue...). I think it helps the players recognize what nation troops belong to at a glance once they learn the colors. The problem is that when the score screen comes up, the colors of the players are the ones from the lobby. Even if I hide and disable color selection, it still uses the default player colors, it doesn't seem to register the mid-game color switch at all.
The way I see it there are two possible solutions, but I can figure out how to do either.
1. Combine the color attribute and the Nation attribute into one. So basically change the appearance of the color selection icons (just colored rectangles) to the names of the nations, and use that modified color attribute as the hook to my tiggers. I have no idea where to alter the appearance of those icons though, if thats possible.
2. Change the color that gets used in the score screen to whatever the player is assigned somehow. Again I have no idea how to do this.
If anyone can shed any light on this problem I would appreciate it, thanks.
bumb
For some reason the post game loading screens are stuck loading infinitely so I can't actually test anything, but there is a setting you can try.
Map > Game Variants > Player Attributes > Hidden Attributes > Color
This prevents players from having the option from selecting their color in the lobby and it MIGHT remove color form showing in the post game screen, but again I can't actually test myself. If that does happen to work you could mess around with Score Results or Score Values in the Advanced Game Data section of the data editor to try and show country name is the post game screen. Other than that I don't see much else that can be done in the way of your two ideas.
An entirely different solution that I know works is just making your own score screen that shows in game before players leave, then not showing the default one at all. It is more work to set up but allows for even more customization.
There was a tutorial on this a couple of year ago. Check the tutorials forum and look at the thread about custom decals in the load/score screen.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg