Reply
Thread Tools Display Modes
Unread 07-03-2012, 12:23 PM   #1
Sulu
 
Sulu's Avatar
Join Date: Jul 2012
Posts: 10
Chat channel colors.

Basically what ive been trying to do is simple: Change the chat channels individual colors to anything but white.

The only place i was able to get any result from was "C:\Program Files (x86)\Funcom\The Secret World\Data\Gui\Default\TextColors.xml"

I was able to change the underlined part here to change the /say channels color.

Code:
<HTMLColor name="ctch_vicinity_name"    color="standard_bright" />
    <HTMLColor name="ctch_vicinity_text"    color="standard_bright" />
"ctch_vicinity_name" Is the nametag so you can have what they say one color while there name is another.

From what i read it should change just like aoc ( i didnt play it but ive read alot about its ui modding)

I think my problem is i need to maybe try defining the color at the top of the document then i can put

Code:
<HTMLColor name="ctch_vicinity_text"    color="peach" />
instead of

Code:
<HTMLColor name="ctch_vicinity_text"    color="0xFFCCCC" />
Ill try that now. Also i would realy appreciate it if anyone reading this goes to this file and see if they can change anything.
Sulu is offline   Reply With Quote
Unread 07-05-2012, 08:39 AM   #2
kenze
Join Date: Jul 2012
Posts: 9
if TSW is anything like AoC youll need to copy that TextColors.xml from default, make you changes then copy it into the Customized folder. Also there is a number at the top of the xml that will likely change after every big patch that youll need to update with the number from the same xml in the default folder.

someone made a chat color editer thingy for AoC it may even work for TSW, not sure. but its here http://aoc.curseforge.com/addons/pro...r-editor-v0-2/

Last edited by kenze : 07-05-2012 at 08:42 AM.
kenze is offline   Reply With Quote
Unread 07-05-2012, 02:20 PM   #3
Worsh
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 3
The chat doesn't seem to be controlled by the GUI either, there's no code for it (other than sticking stuff into the input control), and nothing appears in the debug window for it.

We may be stuck with whatever FC give us with the chat I'm afraid.
Worsh is offline   Reply With Quote
Unread 07-05-2012, 05:58 PM   #4
kenze
Join Date: Jul 2012
Posts: 9
I played around and figured out how to change the font size but i cant get the text colors to change.

http://forums.thesecretworld.com/showthread.php?t=39075
kenze is offline   Reply With Quote
Unread 07-07-2012, 03:37 PM   #5
Sulu
 
Sulu's Avatar
Join Date: Jul 2012
Posts: 10
Quote:
Originally Posted by kenze View Post
if TSW is anything like AoC youll need to copy that TextColors.xml from default, make you changes then copy it into the Customized folder. Also there is a number at the top of the xml that will likely change after every big patch that youll need to update with the number from the same xml in the default folder.

someone made a chat color editer thingy for AoC it may even work for TSW, not sure. but its here http://aoc.curseforge.com/addons/pro...r-editor-v0-2/
I did infact download install and try that. Id have to decompile it and change it to recognize tsw and i doubt it would even change anything.

Quote:
Originally Posted by Worsh View Post
The chat doesn't seem to be controlled by the GUI either, there's no code for it (other than sticking stuff into the input control), and nothing appears in the debug window for it.

We may be stuck with whatever FC give us with the chat I'm afraid.
Thank you for looking.


Quote:
Originally Posted by kenze View Post
I played around and figured out how to change the font size but i cant get the text colors to change.

http://forums.thesecretworld.com/showthread.php?t=39075
Hmm could you perhaps give us the location of the files you were able to modify to change font size? No offense intended but maybe someone knows something we dont.
Sulu is offline   Reply With Quote
Unread 07-08-2012, 12:25 AM   #6
kenze
Join Date: Jul 2012
Posts: 9
sure its all in the link i posted which is the TSW forum post i made.
kenze is offline   Reply With Quote
Unread 07-08-2012, 12:33 AM   #7
Cairenn
Credendo Vides
Premium Member
Secretui Admin
Join Date: Jun 2011
Posts: 66
Hey Kenze, would you consider putting that post up here as well, please? That way it won't poof when they kill off the old forums. We've got a forum dedicated to AddOn Dev tutorials.
__________________
"My friends, love is better than anger. Hope is better than fear. Optimism is better than despair. So let us
be loving, hopeful and optimistic. And we’ll change the world. All my very best, Jack Layton"


Co-Founder & Admin: MMOUI
FaceBook Profile, Page, Group
Twitter
Avatar Image by RafM
Cairenn is offline   Reply With Quote
Unread 07-08-2012, 01:17 AM   #8
kenze
Join Date: Jul 2012
Posts: 9
Quote:
Originally Posted by Cairenn View Post
Hey Kenze, would you consider putting that post up here as well, please? That way it won't poof when they kill off the old forums. We've got a forum dedicated to AddOn Dev tutorials.
sure thing
kenze is offline   Reply With Quote
Unread 07-08-2012, 01:27 AM   #9
Cairenn
Credendo Vides
Premium Member
Secretui Admin
Join Date: Jun 2011
Posts: 66
Thanks a ton Kenze!
Cairenn is offline   Reply With Quote
Unread 07-08-2012, 03:28 AM   #10
pinstripesc
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 6
By white I'm guessing we're referring to General/faction channels?

I went through and commented what is what for what I could find -

<!-- Cabal/Officer chat -->
<HTMLColor name="ctch_clan_name" color="0x1edd1d" />
<HTMLColor name="ctch_clan_text" color="0x1edd1d" />

<!-- Emotes -->
<HTMLColor name="ctch_emote_name" color="gray" />
<HTMLColor name="ctch_emote_text" color="gray" />

<!-- Say -->
<HTMLColor name="ctch_vicinity_name" color="standard_bright" />
<HTMLColor name="ctch_vicinity_text" color="standard_bright" />

<!-- Shouts -->
<HTMLColor name="ctch_shout_name" color="white" />
<HTMLColor name="ctch_shout_text" color="white" />

<!-- Group chat -->
<HTMLColor name="ctch_team_name" color="0x6ea0ff" />
<HTMLColor name="ctch_team_text" color="0x6ea0ff" />

<!-- Tells -->
<HTMLColor name="ctch_tell_name" color="gold" />
<HTMLColor name="ctch_tell_text" color="0xce6bce" />


Both General and Faction seem to fall under "standard", so if you change that at the top you'll get different colours, but it's also going to change the colour of your settings menu text, buttons, etc, and obviously you can't differentiate General from your Faction channel.
pinstripesc is offline   Reply With Quote
Unread 07-08-2012, 02:54 PM   #11
Sulu
 
Sulu's Avatar
Join Date: Jul 2012
Posts: 10
Quote:
Originally Posted by pinstripesc View Post
By white I'm guessing we're referring to General/faction channels?

I went through and commented what is what for what I could find -

<!-- Cabal/Officer chat -->
<HTMLColor name="ctch_clan_name" color="0x1edd1d" />
<HTMLColor name="ctch_clan_text" color="0x1edd1d" />

<!-- Emotes -->
<HTMLColor name="ctch_emote_name" color="gray" />
<HTMLColor name="ctch_emote_text" color="gray" />

<!-- Say -->
<HTMLColor name="ctch_vicinity_name" color="standard_bright" />
<HTMLColor name="ctch_vicinity_text" color="standard_bright" />

<!-- Shouts -->
<HTMLColor name="ctch_shout_name" color="white" />
<HTMLColor name="ctch_shout_text" color="white" />

<!-- Group chat -->
<HTMLColor name="ctch_team_name" color="0x6ea0ff" />
<HTMLColor name="ctch_team_text" color="0x6ea0ff" />

<!-- Tells -->
<HTMLColor name="ctch_tell_name" color="gold" />
<HTMLColor name="ctch_tell_text" color="0xce6bce" />


Both General and Faction seem to fall under "standard", so if you change that at the top you'll get different colours, but it's also going to change the colour of your settings menu text, buttons, etc, and obviously you can't differentiate General from your Faction channel.
And as far as we know is there anyway to classify tgeneral and faction as chat channels?
Sulu is offline   Reply With Quote
Unread 07-08-2012, 03:18 PM   #12
pinstripesc
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 6
I haven't had time to dig that up just yet, but in Age of Conan I was unable to get it to distinguish the text used in chat from other interface bits.
pinstripesc is offline   Reply With Quote
Unread 01-07-2015, 02:19 AM   #13
AbrahamMt
Join Date: Jan 2015
Posts: 2
Chat channel colors

Is there a way to send msg to joined chat channel?
For example, I join to myclog /join myclog, how can I send my text there from addon code?
Its for making a simple combatlog.
AbrahamMt is offline   Reply With Quote
Reply

Go BackSecretUI » Developer Discussions » General Authoring Discussion » Chat channel colors.

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off