Jump to content


Photo

APPENDing spell.ids


  • Please log in to reply
2 replies to this topic

#1 Andyr

Andyr

    HERR RASENKOPF

  • Member
  • 2318 posts

Posted 21 July 2003 - 06:17 AM

Heya,

Is it possible to APPEND spell.ids with custom spells?

The spells in it are named WIZARD_MAGIC_MISSILE or whatever, rather than by their .spl filename.

The reason I'm asking is that the RemoveSpell() scripting command can be used to remove spells in spell.ids, and in the Veronna mod we want to be able to use it to remove a custom spell.

Thanks!
"We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods

< jcompton > Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"

#2 -Sim-

-Sim-
  • Guest

Posted 21 July 2003 - 06:24 AM

If you're using the action only from compiled scripts, you don't actually need to bother appending the IDS, since it's only used when compiling and decompiling. If you're using it in dialog or compiling scripts at install time, then while I would personally suggest using numbers instead of custom IDS entries, it is possible, yes.

Something like:

APPEND ~spell.ids~ ~2999 MY_SPELL~ UNLESS ~2999 MY_SPELL~

This will also avoid repeating the entry if it is already there.

#3 Andyr

Andyr

    HERR RASENKOPF

  • Member
  • 2318 posts

Posted 21 July 2003 - 06:27 AM

Righty ho, I'll tell those concerned and see if that works.

Though won't this cause a problem since we're writing the .BAF then compiling it, won't we need the APPENDed spell.ids for that?

Thanks Sim!
"We are the Gibberlings Three, as merry a band as you ever did see..." - Home of IE mods

< jcompton > Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"