Author Topic: Colored names  (Read 519 times)

Legacy_HaplessHarpy

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Colored names
« on: April 21, 2014, 07:16:08 pm »


               Hey guys, returning community member here.


I'm working on remaking an old, largely unfinished PW module I started back in the day called World of Wizardry, and I can't remember nor seem to find anywhere on the Internet the method to color area/item names in the toolset.


I remember it being something along the lines of <c=#00FF00>Name</c>

But I'm clearly formatting the first part of the tag wrong, as while the second half doesn't show up in the name, the first half does rather than making it colored.


Thanks in advance.
               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Colored names
« Reply #1 on: April 21, 2014, 08:38:29 pm »


               

While asking questions in the forum is great, there are a number of resources available to help you find answers to these questions. One is NWNWiki which just so happens to have an article on Text Color.


 


You used the word "tag" in your query above. I hope you are not putting the color string in the object's tag. If you want to color the name, you should probably be using a color string in the object's name.


 


For myself, I primarily color text that shows up in the chat window. Have not applied this to object names, although I have seen it done.


               
               

               
            

Legacy_HaplessHarpy

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
Colored names
« Reply #2 on: April 21, 2014, 09:35:42 pm »


               


While asking questions in the forum is great, there are a number of resources available to help you find answers to these questions. One is NWNWiki which just so happens to have an article on Text Color.


 


You used the word "tag" in your query above. I hope you are not putting the color string in the object's tag. If you want to color the name, you should probably be using a color string in the object's name.


 


For myself, I primarily color text that shows up in the chat window. Have not applied this to object names, although I have seen it done.




Thanks, odd that I didn't find that when searching.


 


I'm aware you set the color in the name not the tag, when I said tag I meant the color tag itself (the <c***></c> part I was calling a tag, bad html habit I suppose)