Author Topic: On feat use, where does the chat text come from?  (Read 376 times)

Legacy_BCH

  • Full Member
  • ***
  • Posts: 160
  • Karma: +0/-0
On feat use, where does the chat text come from?
« on: October 10, 2011, 02:13:53 am »


               As an example, when a PC uses Bard Song or Curse Song, the chat log says "[character name] sings."

I've looked in the scripts for those feats, and in feat.2da, but could not find anything.

Do you know?
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
On feat use, where does the chat text come from?
« Reply #1 on: October 10, 2011, 02:19:22 am »


               The feat must be connected with spell and in spells.2da an AltMessage collumn have to be defined.

This can be also workaround via SendMessageToPC with same color in order not to need custom TLK.
               
               

               


                     Modifié par ShaDoOoW, 10 octobre 2011 - 01:20 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
On feat use, where does the chat text come from?
« Reply #2 on: October 10, 2011, 03:42:32 am »


               For bard song, the AltMessage collumn entry in spells.2da is 53224  when you look that entry up in dialog.tlk you get.  

< CUSTOM0> sings.

After looking at a few of the entrys for the other feats it looks like CUSTOM token 0 is always being defined as the characters name.
               
               

               
            

Legacy_BCH

  • Full Member
  • ***
  • Posts: 160
  • Karma: +0/-0
On feat use, where does the chat text come from?
« Reply #3 on: October 10, 2011, 06:35:51 am »


               Ahh!  I forgot to look in spells.2da!  Thanks to both of you, especially for the quick response.