Jump to content


Photo

Renaming Item abilities


  • Please log in to reply
2 replies to this topic

#1 Hardrada

Hardrada
  • Member
  • 6 posts

Posted 20 January 2013 - 02:38 AM

I have a weapon that has the ability to fire magic missiles, and on the use item bar the ability is labelled with the weapon name, but other weapons with similar abilities (such as Celestial Fury or Cloak of the Sewers in Baldur's Gate II) have managed to rename these abilities to something more descriptive.  I have looked at these items with Near Infinity and cannot see how this has been done so is anyone able to tell me what I am missing?



#2 Argent77

Argent77
  • Administrator
  • 1419 posts

Posted 20 January 2013 - 03:48 AM

You need to register your special ability in the file "tooltip.2da".

See her for more information: http://www.gemrb.org...tob/tooltip.htm

 

For example, if you want to add the ability "Magic Missile" to the item "mywand.itm", you have to add the line

MYWAND    12052    -1    -1

to the file tooltip.2da. MYWAND is your item name, the value 12052 refers to the string reference in the dialog.tlk and -1 denotes unused abilities.



#3 Hardrada

Hardrada
  • Member
  • 6 posts

Posted 20 January 2013 - 06:10 PM

Thanks for your help, that has got it sorted.