Page 1 of 1

Player Alliance Color

Posted: Sun Jul 18, 2021 5:11 pm
by XaLpHa89
I would like to build a button that colors units in appropriate alliance colors. Each player should decide the color settings for himself. In my current opinion, I can only change the representation of a color globally.

Anyone have an idea how I could realize it or is something more development needed from the developers?
.
20210718185238_1.jpg
20210718185238_1.jpg (287.96 KiB) Viewed 1870 times
20210718185352_1.jpg
20210718185352_1.jpg (281.99 KiB) Viewed 1870 times

Re: Player Alliance Color

Posted: Mon Jul 19, 2021 5:29 am
by Koub
[Koub] Moving this to modding help. If it comes out that it's currently not doable, I'll move it to modding interface requests.

Re: Player Alliance Color

Posted: Fri Aug 06, 2021 9:10 pm
by XaLpHa89
Koub wrote: Mon Jul 19, 2021 5:29 am [Koub] Moving this to modding help. If it comes out that it's currently not doable, I'll move it to modding interface requests.
Status?

Re: Player Alliance Color

Posted: Fri Aug 06, 2021 9:45 pm
by DaveMcW
This is barely possible with the current modding tools. But it involves a lot of work.

It is completely impossible for a no-mod scenario.

You need to define a limited number of color schemes. Then duplicate every entity in the game for each color scheme. Then override all the build events so the default entity is transformed into the correct color entity.

Good news: You can use tint so you don't need to duplicate any graphics assets.
Bad news: Some tints will look horrible so you will want to edit the graphics anyway.

Re: Player Alliance Color

Posted: Tue Aug 17, 2021 6:14 pm
by eradicator
DaveMcW wrote: Fri Aug 06, 2021 9:45 pm This is barely possible with the current modding tools. But it involves a lot of work.
I think @OP wants RTS style team-relative colors. Aka Player1 sees their enemies as "red", while Player2 might want to see their enemies as "blue". This would require the same entity to be of a different color dependant on who's looking at it. This isn't possible at all.