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?
.
Player Alliance Color
Re: Player Alliance Color
[Koub] Moving this to modding help. If it comes out that it's currently not doable, I'll move it to modding interface requests.
Koub - Please consider English is not my native language.
Re: Player Alliance Color
Status?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.
Re: Player Alliance Color
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.
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.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Player Alliance Color
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.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.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.