|
Post by yasfan on Aug 19, 2012 19:41:54 GMT -8
One of the aspects of Funcom games that I'm just realizing is that they have a lot of options for scripting. So for those of you who want custom chat channel colors, here's an easy-to-perform script that will allow you to say stuff in a beautiful, custom-chosen color. --------------------------------- 1. Open a simple text editor program, like Notepad if you use Windows and obey our Microsoftian overlords. 2. Type in the following: /#aegir <font color="#99CCCC">%*</font> 3. Save this file in the scripts subdirectory of the TSW directory (probably C:\Program Files (x86)\Funcom\The Secret World\scripts, if you have a 64-bit OS and used the default installation settings), with the filename "aegir.txt". 4. Rename the file to remove the ".txt" extension so that it's just named "aegir". ---------------------------------------------- And that's it! Now when you want to use the script to output a line in color, all you need to do is start the line with /aegir. For example, if you wanted to say "Scripting is powerful!" in the aegir channel, all you'd have to type in the chat line is: /aegir Scripting is powerful! See how easy that was? Of course, if you want to do this with a different channel, swap out the name aegir in the script and in the filename. And the colors can be changed according to the color codes in HTML--common ones are: Red #FF0000 White #FFFFFF Cyan #00FFFF Silver #C0C0C0 Blue #0000FF Grey #808080 DarkBlue #0000A0 Black #000000 LightBlue #ADD8E6 Orange #FFA500 Purple #800080 Brown #A52A2A Yellow #FFFF00 Maroon #800000 Lime #00FF00 Green #008000 Fuchsia #FF00FF Olive #808000 Post questions as you run into them here!
|
|
|
Post by yasfan on Aug 19, 2012 21:05:01 GMT -8
Also! If you're tired of having to join the chat channels EVERY time you log into the game? It turns out there's a default in the game that will check for--and run--any script called auto_login when you login. (auto_teleport will do the same thing every time you change zones, but not upon login, apparently.)
So just open a blank text file and type in:
/chat join aegir /chat join "TheOtherChannel [Aegir]"
and save it as auto_login.txt in the scripts subdirectory, then remove the .txt extension. And you will never be left out because you forgot to join aegir's chatlines again! \o/
|
|
|
Post by sersi on Aug 19, 2012 23:16:20 GMT -8
ooooh. very useful info. *gives yas a cookie*
|
|
|
Post by sersi on Aug 19, 2012 23:52:52 GMT -8
so using this i seem to notice, its not to see the /aegir channel in a color of my choosing. its when i type into aegir everyone seems my text in a color i picked. which is cool, although if we dont all agree on a speciic color then its gonna be chromatically chaotic. XD
also it seems that if i type "/aegir txt goes here" what i get is a few weird symbols and /aegir [text goes here] wth the bracketed stuff being the pre-selected color in what ever window i was talking into. i.e. i will be in group chat and /aegir [colored text here] will be in group chat.
finally - the auto_teleport one doesn't seem to work on log in. when i used the agartha key how ever it DID again give me some strange symbols, then /chat join #aegir. it didnt actually join the channel, but looked like it tried to run the script and failed. it didnt try at all for my other custom channels tho
|
|
|
Post by yasfan on Aug 20, 2012 19:57:13 GMT -8
OK! Still some kinks to work out, I see. I agree about the colors, we need to pick standard ones for the channels or it'll be a rainbow of headaches. I've modified the OP so that Aegir will output to a cyan color, so let's try that and see how it goes.
Also, I'm not getting the auto-teleport to auto-start today either... which is odd since it did yesterday. It is triggering after a change of zone. I'll play with it and see what I can sort out.
Finally, for the /aegir script, I haven't reproduced your output of strange symbols but I did find that I left out a # symbol in the code. Within the script, change the line of code to what's now modified in the opening post and see if that helps. If not, let me know and I'll take another run at it!
|
|
|
Post by yasfan on Aug 21, 2012 6:44:34 GMT -8
OK, so I think the filename to get the auto-join channels should be auto_login, not auto_teleport. Tried it this morning and it worked on login for me, so give it a shot.
|
|
|
Post by sersi on Aug 21, 2012 10:20:56 GMT -8
I actually tried the auto_login one and no success but will try again
|
|
|
Post by jiaxpora on Aug 21, 2012 10:21:50 GMT -8
So, I've managed to get Aegir to auto-login, but not the color code to work. It's just white, all the time. This drives me crazy, since I tend to prioritize via colors, but hopefully Funcom will add channel colors eventually.
I can't seem to auto-login to TheOtherChannel [Aegir] no matter what I try. Is it something to do with the brackets? It seems to auto-join "theotherchannel" for me, which isn't the same as "TheOtherChannel [Aegir]".
|
|
|
Post by effinfitz on Aug 21, 2012 16:34:30 GMT -8
Have this set-up to try as soon as I log-in after dins tonight. Thanks for all the research, yas!
|
|
|
Post by yasfan on Aug 21, 2012 18:47:47 GMT -8
but not the color code to work. It's just white, all the time. This drives me crazy, since I tend to prioritize via colors, but hopefully Funcom will add channel colors eventually. OK, so let me try explaining a bit more about these scripts to hopefully make them easier to implement. First, these scripts will not work on the standard channels: /say, /shout, /team, etc. They'll only work on custom channels. Second, the script itself contains information about what chat channel you're applying it to, and will automatically output your text into that channel. The way you activate the script in the game is with the filename that the script is saved under. In the snippets I have in the opening post, the filename and the channel name are the same, but they don't have to be and perhaps that's generating a little confusion about how to use them. So let's say that you have a file named zooberific.wtf that contains a script that will let you type out anything into the chat channel #demochannel in color. The file zooberific.wtf would contain the following: /#demochannel <font color="#6699FF">%*</font> And if you wanted to put the line "Hello, world!" into #demochannel in color, the way you would do that in the game is to type: /zooberific.wtf Hello, world! Of course, "zooberific.wtf" is kind of a pain to type out at the start of every chatline, so the filenames here are being kept deliberately short. If you still can't get it working, it'll help me a ton to sort out how to reproduce the error and fix it if you'll make a post that: 1. includes a copy and paste of the full body of the script you're trying to invoke 2. includes a copy and paste of the line you typed into the chat interface to try to invoke it and 3. the full filename and directory path the file is saved under. I can't seem to auto-login to TheOtherChannel [Aegir] no matter what I try. Is it something to do with the brackets? It seems to auto-join "theotherchannel" for me, which isn't the same as "TheOtherChannel [Aegir]". Ah, no, you've got it! The capitalizations don't matter, and the [Aegir] part at the end is actually the channel's password, not a part of the channel name.
|
|
|
Post by jiaxpora on Aug 21, 2012 19:09:16 GMT -8
I can't seem to auto-login to TheOtherChannel [Aegir] no matter what I try. Is it something to do with the brackets? It seems to auto-join "theotherchannel" for me, which isn't the same as "TheOtherChannel [Aegir]". Ah, no, you've got it! The capitalizations don't matter, and the [Aegir] part at the end is actually the channel's password, not a part of the channel name. This makes a thousand times more sense to me. I'm still getting used to the Secret World's chat interface, which seems more clunky than it should be, so I'm ashamed to say I missed the obvious! Thanks, Yas. As for the rest, no worries. I see now that the color thing is not what I thought it was, which will still drive me crazy, but that's okay. I made separate tabs for channels, now. That should help in info-sorting. Cheers! Thanks for doing this.
|
|