the Phrozen Forums
  Graphics and Animation
  Animation Question

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Animation Question
killingarts
Serf

Posts: 8
From: New York, NY USA
Registered: May 2002

posted 10 May 2002 13:21     Click Here to See the Profile for killingarts   Click Here to Email killingarts        Reply w/Quote   
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

IP Logged

Apocalypse Demon
Moderator

Posts: 4023
From: Mississauga, Ontario
Registered: Oct 2001

posted 10 May 2002 17:11     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
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. :)

IP Logged

Incandescent One
Honorary Warlord

Posts: 272
From: Great Britain
Registered: Nov 2001

posted 11 May 2002 00:29     Click Here to See the Profile for Incandescent One   Click Here to Email Incandescent One        Reply w/Quote   Visit Incandescent One's Homepage!
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

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 11 May 2002 00:47     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
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!

IP Logged

killingarts
Serf

Posts: 8
From: New York, NY USA
Registered: May 2002

posted 11 May 2002 10:40     Click Here to See the Profile for killingarts   Click Here to Email killingarts        Reply w/Quote   
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

IP Logged

killingarts
Serf

Posts: 8
From: New York, NY USA
Registered: May 2002

posted 11 May 2002 10:44     Click Here to See the Profile for killingarts   Click Here to Email killingarts        Reply w/Quote   
Thanks Apoc for the animation info!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 11 May 2002 11:41     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
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!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 23 May 2002 09:34     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
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!

IP Logged

Myhrginoc
Honorary Warlord

Posts: 1326
From: Percussion U
Registered: Dec 2001

posted 23 May 2002 18:12     Click Here to See the Profile for Myhrginoc   Click Here to Email Myhrginoc        Reply w/Quote   
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

IP Logged

All times are Central Standard Time

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | The PhrozenKeep

© PhrozenKeep.com . all buttons made by the Evilenglishman . swords and shields by DigiBO.


Ultimate Bulletin Board 5.47c