Changing text bubble color command?


Amish_Justice

 

Posted

Is there any way to change the default color sliders for text bubbles using a command that could be bound, or put in a macro?


 

Posted

For text:
/optionset ChatBubbleColor1 COLOR

For background:
/optionset ChatBubbleColor2 COLOR

Although I can't seem to figure out what type of "COLOR" codes to use in the bind... It's some variation of 00000000 to ffffffff.


 

Posted

Even using Hexidecimal color codes, I could still only end up with black.
Any other thoughts or input?


 

Posted

To do this you can go into the options menu.(in the ingame menu) then you can go under the grapics tab and then scroll all the way down. it should be right there.


Flameanator (50+1 Fire/Fire Tanker - Justice)
Mr.Defendo (50 FF/Arch Defender - Justice)
Willing Havoc (45 Elec/WP Brute - Freedom)
Paragon Lad (32 Claws/SR Scrapper - Justice)
Global: @Mr.Defendo

 

Posted

[ QUOTE ]
To do this you can go into the options menu.(in the ingame menu) then you can go under the grapics tab and then scroll all the way down. it should be right there.

[/ QUOTE ] Yes, he was asking for a code to change it without having to go into the menu. I got light blue by using 99999999, but I also got a slightly darker blue with 55555555, so I don't know how that adds up, lol.


 

Posted

Yeah, I'm looking to make a bind which changes my costume, and makes anything written from then on to have a different color.


 

Posted

[ QUOTE ]
Yeah, I'm looking to make a bind which changes my costume, and makes anything written from then on to have a different color.

[/ QUOTE ] well what color combinations do you want? maybe I can come up with something


 

Posted

It uses 8 characters. The first six are the usual RGB, the last two are the alpha channel that determines how opaque/invisible it is with ff being solid and 00 being completely transparent.

However, as I'm testing this to make sure I'm correct, I can't seem to change my chat balloon color either with the sliders or with the optionset command.


Speeding Through New DA Repeatables || Spreadsheet o' Enhancements || Zombie Skins: better skins for these forums || Guide to Guides

 

Posted

[ QUOTE ]
It uses 8 characters. The first six are the usual RGB, the last two are the alpha channel that determines how opaque/invisible it is with ff being solid and 00 being completely transparent.

However, as I'm testing this to make sure I'm correct, I can't seem to change my chat balloon color either with the sliders or with the optionset command.

[/ QUOTE ] Well I've been able to change it using both the sliders and the command. I think it only works for TEAM chat though. Everything else is just showing up as standard Black Text on a White Background.

Now that I know what the last two characters are, I'm going to mess around with it some more.


 

Posted

Well, further testing just now with 00000000, 000000ff, ffffffff, and ffffff00 all turn out black..

33333333 = Green (like the PlayerName titles)
333333ff = Extremely dark Royal Blue
33553300 = Cyan



I'm beginning to think it's just a 32-bit number (from 0 to 4,294,967,295) converted into HEX. But how those numbers correlate to each color is still a mystery to me. Most things I try come up just displaying Black.


 

Posted

[ QUOTE ]
In the options.txt file, they're stored as simple eight character hex. Maybe only the background color can be made clear.

[/ QUOTE ] That is true, but the command line to change that option still changes the color.

So let's say for example I wanted to make the background RED.. what number (8-gidit hex) do I use?

That's what I'm trying to figure out for the OP.


 

Posted

[ QUOTE ]
I've just played with it myself and my conclusion is: it's broke.

Hailing pohsyb...

[/ QUOTE ] Lol well at least I can get a range of green and blue.. but where are my reds!? lol j.k

I can't wait to see how it really works. The OP has a good idea here and I want to implement it.


 

Posted

Well I did something a little more creative and changed my Color to Full red in the options and then did an /optionsave to find out what it was, and the result was: 260140ff

Funny thing is that when I use that in the bind, it comes out Full Blue instead..
Then I did another /optionsave and the result was: 3f82c, which isn't even 8 digits. lol

Apparently the input for the bind is decimal, and then converts to hex.

To test this even further.. I took a standard RED value: FF0000 and converted it to decimal: 16711680 and used that in the bind.
Result was bright green. ROFL

So I tried the 8 digit hex: ff0000ff (red with no transparency?)
Decimal: 4278190335
Bind resulted in Sky Blue
I tried a new /optionsave, and it showed the value to be 7fffffff.

I'm really clueless now! lol


 

Posted

[ QUOTE ]
Well I did something a little more creative and changed my Color to Full red in the options and then did an /optionsave to find out what it was, and the result was: 260140ff

Funny thing is that when I use that in the bind, it comes out Full Blue instead..
Then I did another /optionsave and the result was: 3f82c, which isn't even 8 digits. lol

Apparently the input for the bind is decimal, and then converts to hex.

To test this even further.. I took a standard RED value: FF0000 and converted it to decimal: 16711680 and used that in the bind.
Result was bright green. ROFL

So I tried the 8 digit hex: ff0000ff (red with no transparency?)
Decimal: 4278190335
Bind resulted in Sky Blue
I tried a new /optionsave, and it showed the value to be 7fffffff.

I'm really clueless now! lol

[/ QUOTE ]

I tried changing the settings in the options.txt directly, saved the change, then loaded into the game and it still didn't work as expected. It should work as described here:

http://wiki.cohtitan.com/wiki/Chat_Bubble_Customization

Only with the /optionset command.


Speeding Through New DA Repeatables || Spreadsheet o' Enhancements || Zombie Skins: better skins for these forums || Guide to Guides

 

Posted

So what if we try using a # in the bind?

Nope.. just black again.. lol

Yeah.. it made me kinda wonder why Full red showed up in the file as: 260140ff. It should have been ff0000ff. It's definitely borked.


 

Posted

Wow, thanks for testing that for me....even if it didn't yield any solutions.
It used to be so easy for a player to use different voices for their characters. Why'd they have to go change it?