The Black Wyrm's Lair - Forums

Mod development resources & discussion => Modder's Workshop => Topic started by: jastey on May 20, 2005, 11:42:00 PM

Title: question to spell animations
Post by: jastey on May 20, 2005, 11:42:00 PM
Hi,
how do I
1. reverse a spell animation BAM so that it goes backwards (in DLTCEP)?
2. use such an animation from PS:T for BGII (I think it was that x,y value should be set to 0,0 for the small inventory icon)?

Thanks!
Title: question to spell animations
Post by: Rabain on May 21, 2005, 12:21:35 AM
You would have to open the bam in BamWorkshop or DLTCEP etc and reverse the order of the Frames/Sequences manually in the bam and save it.  If it is a small short bam it should't take long.  

But if it is a longer one it could be problematic...I don't think you can simply play a bam in reverse though others here can clarify that for definate.
Title: question to spell animations
Post by: jastey on May 21, 2005, 12:40:19 AM
I had a look at it in DLTCEP and it is exactly the "reversing the order of the Frames/Sequences manually" that I didn't see of how it can be done. Do I have to renumber the frames, ... I'll have a look at it again but it wasn't clear to me when I tried today.  :(
Title: question to spell animations
Post by: Sir-Kill on May 21, 2005, 02:25:11 AM
DLTCEP can do it, on the top pull down menu 'cycle' there is a reverse cycle. you will have to do that for each sequence, but my guess is that there is only a few at most.
Title: question to spell animations
Post by: jastey on May 21, 2005, 10:01:36 AM
Cool thank you, Sir-Kill. It was only one cycle so now it's reversed.  :D

(I demand a smilie: The "sorry I should have looked more carefully" smilie.  :( )
Title: question to spell animations
Post by: jastey on May 21, 2005, 10:18:44 AM
Next question to spell animations:

I have the animation BAM now that I want to use as an area spell effect (visual effect only).

How would I do that? Do I have to define a spell that can be thrown (if yes, how?)

Is it possible to use the BAM directly if I only want to see the visual effect in game?

Thanks a lot!
Title: question to spell animations
Post by: Seifer on May 21, 2005, 10:39:02 AM
If its a PST animation, some of those I've had to use a VVC for in the past.
Title: question to spell animations
Post by: jastey on May 21, 2005, 11:51:09 AM
Sorry, what do you mean by "WC"?
Title: question to spell animations
Post by: Rabain on May 21, 2005, 12:15:56 PM
That was V V C not W C.  It's a file type the game uses for some spells/animations to get things done.

You should be able to create a spell that launches your animation or alternatively either of these two should work:

Quote from: IESDP272 CreateVisualEffect(S:Object*,P:Location*)
The Object parameter here should actually be ResRef since it references a VVC file with priority. If a VVC file is not found, it will search for a BAM file. If I were to rename this, I'd call it PlayAnimationPoint().


273 CreateVisualEffectObject(S:DialogFile*,O:Target*)
Again, a weird first parameter. DialogFile should actually be ResRef. If a VVC file is found, it will play that, and if not, it will try to play a BAM of the filename specified. The difference between this and CreateVisualEffect() is that this references an object.
Title: question to spell animations
Post by: jastey on May 21, 2005, 12:54:40 PM
Oops, thank you... It read like W on my display. *cough*

OK, thank you for the info so far, I'll try my best to do that then (no experience alltogether in creating such a VVC, expect questions regarding this soon.)
Title: question to spell animations
Post by: jastey on May 23, 2005, 09:46:34 PM
Moved this thread to Mod discussion as it is more a IE modding question (I think).

Making a V V C and calling it via "CreateVisualEffect" in game worked, thank you very much guys!! :D
Title: question to spell animations
Post by: Avenger_teambg on July 23, 2005, 07:05:29 PM
Quote from: jasteyMoved this thread to Mod discussion as it is more a IE modding question (I think).

Making a V V C and calling it via "CreateVisualEffect" in game worked, thank you very much guys!! :D
wow, you are really good :)
I used to people who can't even set up dltcep, you just heard of 'vvc' and then were able to use them.
I'm really (honestly) impressed.
Title: question to spell animations
Post by: jastey on July 23, 2005, 07:40:51 PM
Heh, thank you :)
I needed to be pointed to the right direction, and then it was easy using DLTCEP.