Jump to content


Photo

Adding to IDS


  • Please log in to reply
5 replies to this topic

#1 Awake

Awake
  • Member
  • 685 posts

Posted 30 October 2004 - 08:15 PM

Ok, i've read "Sim's Complete Scripting Guide" and that doesn't seem to help. I've used Search, and that doesn't seem to help. I have read several posts, and they don't seem to help at all. I'm trying to add a new spell animation that I made to the ids, but i don't know how to do this. I want it to be done using WeiDU too. I don't understand this at all. If someone can explain step by step how to do this, thanks.
Black Wyrm Forums host of the World Transition Project, Beastial Animations, and much more!

And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!


Like dealing with terrorists by giving them explosives. -NotMrT

If you don't know where you're going, any road will take you there.

#2 hlidskialf

hlidskialf

    Incarnation of the Eternal Ale Warrior

  • Modder
  • 2510 posts

Posted 30 October 2004 - 10:23 PM

Are you talking about adding a new spell projectile? If so, you add it to the ProjectL.ids file. In weidu you use the ADD_PROJECTILE action. Details and example is in the Weidu readme.

The great wolf Fenrir gapes ever at the dwelling of the gods.


#3 Awake

Awake
  • Member
  • 685 posts

Posted 30 October 2004 - 10:36 PM

thanks, yes, i did mean projectile. Seifer had helped me out earlier, and i had just figured out what he meant by saving it as a projectile. now, just to figure out how this updates the ids and what the id number will be so that i can refer to it in other places
Black Wyrm Forums host of the World Transition Project, Beastial Animations, and much more!

And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!


Like dealing with terrorists by giving them explosives. -NotMrT

If you don't know where you're going, any road will take you there.

#4 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 31 October 2004 - 12:38 AM

When use use ADD_PROJECTILE, it creates a variable with the proper value of the projectile you just added. For example, this is what I used to add a new projectile for Curse in Cleric Remix:

ADD_PROJECTILE ~Cleric_Remix/vanilla/CDCURSE.pro~

COPY ~Cleric_Remix/vanilla/CDCURSE.spl~ ~override/CDCURSE.spl~  // Curse
  SAY NAME1 @104
  SAY NAME2 @104
  SAY UNIDENTIFIED_DESC @105
  SAY DESC @105
  WRITE_SHORT 0x98 "%CDCURSE%"
  SAY 0x2AE @104

When you use ADD_PROJECTILE to add filename.pro, it sets a %filename% variable which you can use for your spells. For example, if I add CDCURSE.pro and it ends up being projectile 134, then %CDCURSE% = 134. You can't use a number directly in the spells you're adding, you'll need to patch the projectile offset in the spell(s) in which you're using it with a WRITE_SHORT as I've done above.

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.


#5 Awake

Awake
  • Member
  • 685 posts

Posted 01 November 2004 - 08:00 AM

Thanks, CamDawg, that is exactly what I needed. One more problem though is this hex thing. I keep on reading that I'm supposed to go in with NI and find the hex value of whatever, but I'm not sure how to do this. I click "Edit as hex" and that changes the actual .pro filename into a hex, so I don't see how this will help with changing that. I don't know if that made sense... kind of tired.
Black Wyrm Forums host of the World Transition Project, Beastial Animations, and much more!

And the raven, never flitting, still is sitting, still is sitting
On the pallid bust of Pallas just above my chamber door;
And his eyes have all the seeming of a demon's that is dreaming,
And the lamp-light o'er him streaming throws his shadow on the floor;
And my soul from out that shadow that lies floating on the floor
Shall be lifted - nevermore!


Like dealing with terrorists by giving them explosives. -NotMrT

If you don't know where you're going, any road will take you there.

#6 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

Posted 01 November 2004 - 08:26 AM

In Near Infinity, go to Options and check the 'Show Hex Offsets' box. Every screen should now have a third column with the hex offset of the field. That's the value you need to use when determining where in a file to patch. :)

Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.