Author Topic: Question about spells.2da and iprp_spells.2da  (Read 625 times)

Legacy_BCH

  • Full Member
  • ***
  • Posts: 160
  • Karma: +0/-0
Question about spells.2da and iprp_spells.2da
« on: August 31, 2010, 03:58:22 am »


               I'm looking at line 697 of spells.2da:  the label is "ACTIVATE_ITEM_L" and the associated name in dialog.tlk is "Activate Item (Long Range)".

I think that line is referred to in iprp_spells.2da line 513, which also refers to the same TLK entry. 

How, if at all, can I assign this to an item as a property?  I'm groping toward an understanding of item properties, but I'm obviously still ignorant of how it all connects together.

I have previously edited my spells.2da to change line 386 (ACTIVATE_ITEM) from Short range to Long, which seems to have affected all items that use the property "Cast Spell: Unique Power" and I'm wondering if I should have been using some other long-range property rather than editing my spells.2da at all.
Did that rambling even make any sense?  Thanks for your patience if you've gotten this far. :innocent:
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Question about spells.2da and iprp_spells.2da
« Reply #1 on: August 31, 2010, 06:06:07 am »


               ACTIVATE_ITEM_L shows in toolset as "Cast Spell: Activate Item (Long range)"
               
               

               
            

Legacy_BCH

  • Full Member
  • ***
  • Posts: 160
  • Karma: +0/-0
Question about spells.2da and iprp_spells.2da
« Reply #2 on: August 31, 2010, 11:13:19 am »


               Wow, thank you.  I am embarassed.  I looked for that twice and couldn't find it, but there it is now.  Probably looked straight at it.

Edit:  Since I'm posting, I might as well ask: is there any difference between Cast Spell: Unique Power and Cast Spell: Activate Item, other than range?  If I'm reading correctly (and we've seen how good my reading is), they use the same impact script.
               
               

               


                     Modifié par BCH, 31 août 2010 - 10:15 .
                     
                  


            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Question about spells.2da and iprp_spells.2da
« Reply #3 on: August 31, 2010, 11:54:40 am »


               nope
               
               

               
            

Legacy_BCH

  • Full Member
  • ***
  • Posts: 160
  • Karma: +0/-0
Question about spells.2da and iprp_spells.2da
« Reply #4 on: August 31, 2010, 01:01:13 pm »


               Thanks.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Question about spells.2da and iprp_spells.2da
« Reply #5 on: August 31, 2010, 09:26:01 pm »


               If you still need a better understanding of how it all ties together you can read the item format.

Documentation: Item Format
               
               

               
            

Legacy_BCH

  • Full Member
  • ***
  • Posts: 160
  • Karma: +0/-0
Question about spells.2da and iprp_spells.2da
« Reply #6 on: September 01, 2010, 12:22:49 am »


               Very helpful, Lightfoot8!  Thanks.