Page 1 of 1

Editing Colors

PostPosted: 23 Mar 2013, 03:48
by Ben
Image

I saw this picture on my favorite facebook page today. It really got me thinking: Is it possible for me to change the colors for the multiplayer flags? I realize that if this is possible, it would only affect my game and nobody elses'. I.e., if I change the Pink color to a deeper pink, it will only appear that way for me. Everyone else will see the old pink.
Anyway, I'm going off track. Is this possible? If yes, how?

Re: Editing Colors

PostPosted: 23 Mar 2013, 04:40
by Lewin
I'm not exactly sure what you mean. You want to choose a colour that isn't in the list of colours in the lobby? That's not possible if you want everyone to see it. We chose a restricted list of colours so players don't choose similar colours (avoids confusion) or colours that could give them an advantage (e.g. same colour as grass to blend into the minimap)

Re: Editing Colors

PostPosted: 23 Mar 2013, 04:52
by Ben
IYou want to choose a colour that isn't in the list of colours in the lobby? That's not possible if you want everyone to see it.
*sigh* I knew that someone would mention this, which is why I said this:
I realize that if this is possible, it would only affect my game and nobody elses'. I.e., if I change the Pink color to a deeper pink, it will only appear that way for me. Everyone else will see the old pink.
It's all good; though, I realize that you're trying to help.

But anyway: yes. That is what I want to do. I don't care if no one else can see it. I pick a color because I like it, not because someone else likes it. ;)

Re: Editing Colors

PostPosted: 23 Mar 2013, 06:32
by Krom
Colors in MP are picked to distinct players between each other and minimap terrain. What game would it be if all 8 players would pick Red, how would players communicate with each other, "red is planning to attack red through reds base, watch out Red!" )) Same story with pink, others will write "watch out pink, you being flanked" and you will need to reask, "what pink, real pink or mine pink which I have replaced with yellow just for me?" )

On a technical side: colors are hardcoded in EXE and I'm not sure we will expose them in a INI file or something for reasons said above.

For SP however we are thinking about letting you choose your color from all available except colors used by AI, because mapmaker could address them in mission messages as "Watch out player, Teal army is coming" and it would look silly if player was teal himself )

Re: Editing Colors

PostPosted: 23 Mar 2013, 06:39
by Ben
Colors in MP are picked to distinct players between each other and minimap terrain. What game would it be if all 8 players would pick Red, how would players communicate with each other, "red is planning to attack red through reds base, watch out Red!" )) Same story with pink, others will write "watch out pink, you being flanked" and you will need to reask, "what pink, real pink or mine pink which I have replaced with yellow just for me?" )
Again: Why would that matter if the visuals only affected me? It wouldn't matter.....

Forget it; though, me having my favorite color isn't worth explaining myself 1,000 times :P

Re: Editing Colors

PostPosted: 23 Mar 2013, 06:48
by Krom
Player colors are applied programmatically from hardcoded values in EXE. That means you could possibly replace one hex value with another. We do not plan to allow color editing in MP through INI files or GUI.

Re: Editing Colors

PostPosted: 23 Mar 2013, 07:22
by Ben
Player colors are applied programmatically from hardcoded values in EXE. That means you could possibly replace one hex value with another. We do not plan to allow color editing in MP through INI files or GUI.
Thanks, Krom :)

Where can I find these values?

Re: Editing Colors

PostPosted: 23 Mar 2013, 18:33
by Krom
Somewhere in the EXE. I don't know the right location and I'm not sure the game will allow you to join MP with modified EXE either (so that noone could recompile exe with cheats and play in MP).

Re: Editing Colors

PostPosted: 23 Mar 2013, 18:57
by Ben
Ah. That makes sense... Alright. I'll see what I can do; although, I'm not sure what software to use to open an EXE