Aller au contenu

Photo

Question about spells.2da and iprp_spells.2da


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
BCH

BCH
  • Members
  • 86 messages
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:

#2
Shadooow

Shadooow
  • Members
  • 4 468 messages
ACTIVATE_ITEM_L shows in toolset as "Cast Spell: Activate Item (Long range)"

#3
BCH

BCH
  • Members
  • 86 messages
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 .


#4
Shadooow

Shadooow
  • Members
  • 4 468 messages
nope

#5
BCH

BCH
  • Members
  • 86 messages
Thanks.

#6
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
If you still need a better understanding of how it all ties together you can read the item format.

Documentation: Item Format

#7
BCH

BCH
  • Members
  • 86 messages
Very helpful, Lightfoot8!  Thanks.