Author
|
Topic: Animation Question
|
killingarts Serf
Posts: 8 From: New York, NY USA Registered: May 2002 |
posted 10 May 2002 13:21
Hi, I was just wondering if there was a way to change the number of frames an animation has instead of conforming to the frames available. For example, I'm converting the barbarian to a Mutant, an attack animation for the barb has 256 frames, but the mutant has 320. Is there a way to use the 320 version instead of cutting frames? Thanks

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 10 May 2002 17:11
This involves hex editing of the animdata.d2 file. Get a hex editor, open up animdata.d2, search for the cof string that you are looking for. Once you find it, the second byte after the cof string is the frames per direction(in hexadecimal).------------------ Countdown to Apocalypse mod coming soon. Featuring totally remade skills, totally new animations, all new itemtypes and much much more. For more info, head over to the Mod Releases forum and read my thread. :)

|
Incandescent One Honorary Warlord
   
Posts: 272 From: Great Britain Registered: Nov 2001 |
posted 11 May 2002 00:29
I was just reading this thread and am now wondering something.... What is the maximum number of frames that we can use for an animation? I've always believed we could only have as many frames per direction as the cof files can support, anyone know the limits on this?------------------ Incandescence

|
Baz Honorary Warlord
   
Posts: 687 From: The Netherlands Registered: Nov 2001 |
posted 11 May 2002 00:47
Hi killingarts, Trip told me about you, and I was wondering: how do you convert those fallout images? I've got the adult deathclaw, but when I try to remove the shadow (it has 4 different colors) with Gamani he gets white spots on his body, so the colors from his shadow are also in his body. How did you make those animations?------------------ Give me fuel, give me fire, give me that which I desire Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod will come when the Harry Potter mod is finished! post all your ideas in the HARRY POTTER MOD forum!

|
killingarts Serf
Posts: 8 From: New York, NY USA Registered: May 2002 |
posted 11 May 2002 10:40
Hi Baz,Yeah the fallout animations are a pain with spr2gif, the background seems to bleed into the images with every color except black (strangely enough). set the -bg=black since all the colors in the actual images are never black (except for a few cases underneath the shoe, but its hardly noticable) You'll get rid of the background and shadows in one pop in Gamani! Hope I helped

|
killingarts Serf
Posts: 8 From: New York, NY USA Registered: May 2002 |
posted 11 May 2002 10:44
Thanks Apoc for the animation info!

|
Baz Honorary Warlord
   
Posts: 687 From: The Netherlands Registered: Nov 2001 |
posted 11 May 2002 11:41
eew... I don't get it really good, I think you mean this: in spr2gif (where can I get spr2gif?) I must set bg=black and then I can remove those shadows and change the background... is this OK?------------------ Give me fuel, give me fire, give me that which I desire Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod will come when the Harry Potter mod is finished! post all your ideas in the HARRY POTTER MOD forum!

|
Baz Honorary Warlord
   
Posts: 687 From: The Netherlands Registered: Nov 2001 |
posted 23 May 2002 09:34
Hey killingarts, could you plz send me the converted beastlord files? I've only got the not-converted beastlord files in .gif format, but not in .spr format Plz don't send them all at once, coz my hotmail can only handle 1MB  ------------------ Give me fuel, give me fire, give me that which I desire Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod will come when the Harry Potter mod is finished! post all your ideas in the HARRY POTTER MOD forum!

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 23 May 2002 18:12
The COF files have one byte for frames/direction, so no more than 255. I do not know if there are other limits (either in the file parts I have not figured out, or the calling code), but if you did put in such a file you will have very long sequences after the "hth" stuff.------------------ Truth would quickly cease to become stranger than fiction, once we got as used to it. ~ H. L. Mencken

|