the Phrozen Forums
  Graphics and Animation
  could somebody plz look at this?

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:   could somebody plz look at this?
Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 28 April 2002 00:09     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I'm replacing andy with the ettin from BG2, but I'm constantly getting crashes Can I send the files to somebody, so that he can take a look at it? A1, NU and WL work fine, but I haven't discovered which files cause the crash I changed AnimData.d2, but not the .cof files, there was no need for new cof files.

plz give me your email and I'll send the files

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Apocalypse Demon
Moderator

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

posted 28 April 2002 00:54     Click Here to See the Profile for Apocalypse Demon   Click Here to Email Apocalypse Demon        Reply w/Quote   
You ALWAYS should post the crash error message as well as what you did to edit them.

------------------
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

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 28 April 2002 01:51     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
Here is the error message:
Assertion Failure
Location: D2Client\UNIT\CUnit.cpp, line #1436
Expression: (UINT)nAnimFrame <= tCelContext.dwCelsPerDirection
The crash came when he looked leftup, but I don't know what action it was

Here are andy's frame counts, and the new frame counts:
A1: 128 NEW: 120
DT:184 NEW: 144
GH: 48 NEW: 48
NU: 128 NEW: 64
SC: 144 NEW: 120
WL: 96 NEW: 96

I didn't change any .cof files, in AnimData.d2 I changed this:
ANA1HTH: 0F
ANDTHTH: 12
ANNUHTH: 08
ANSCHTH: 0F

I didn't do any offsets yet

I hope you can help me out now

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 28 April 2002 02:31     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I think the walk animation in left direction is chrashing the game what would be wrong with that?

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

darkwhispers
Lord

Posts: 110
From:
Registered: Mar 2002

posted 28 April 2002 09:05     Click Here to See the Profile for darkwhispers   Click Here to Email darkwhispers        Reply w/Quote   
ok heres what I had to do to get around that problem.I kept getting that error as well so I had to match the new frames count with the old. in other words you must have for A1 128 frames, DT 184, GH youre ok with 48, NU 128, SC 144, wl 96. Dont know how to change frames? its easy..get Gamani Gif movie gear. its free for 30 days.you also have to get cv5 from the keeps tools section. use cv5 to turn your A1 .dcc to Gif and then open that Gif with Gamani. now you just right click on a frame and click copy and then click on the next frame and right click and click on "paste before" and it will insert a new frame.keep in mind ..all frames must have the same amount of frames for each direction. ie there are 8 directions per .dcc (down left.up left,up right, down right,down,left,up,right)these all must have the same amount of frames. in your case A1 has 128 frames so you need 16 frames per direction. hope this helps.
oh by the way if you match frames you dont need to edit the AnimData.d2 COF's

IP Logged

darkwhispers
Lord

Posts: 110
From:
Registered: Mar 2002

posted 28 April 2002 09:05     Click Here to See the Profile for darkwhispers   Click Here to Email darkwhispers        Reply w/Quote   
posted twice sorry

[This message has been edited by darkwhispers (edited 28 April 2002).]

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 28 April 2002 11:18     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
you mean just adding frames, so that you don't have to hex edit? That will slow down the image, and I don't want that besides, I'm wondering why the ettin crashes, coz I edited AnimData.d2 correctly, and the game still crashes

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Har'lea'quinn
Honorary Warlord

Posts: 323
From: The 6th Age
Registered: Jan 2002

posted 28 April 2002 13:11     Click Here to See the Profile for Har'lea'quinn   Click Here to Email Har'lea'quinn        Reply w/Quote   Visit Har'lea'quinn's Homepage!
Never experienced any slowing down of an animation w/ added frames in Gamani...

However, if you feel that timing could possibly be an issue, timing can be edited w/ it

------------------
To ask well, to answer rightly,
Are the marks of a wise man:
Men must speak of men's deeds,
What happens may not be hidden.

-Havamal(Words of the High One)

IP Logged

Joel
unregistered
posted 29 April 2002 01:20              Reply w/Quote   Visit Joel's Homepage!
i always make my converted anims match the framecount of the slot they replace. I some animation get screwed (playing too fast or too slow), i edit the speed with Gamani.

Their the only way i found to have no problem withframecount.
I did replace the yeti by the ettin, and it works on the first try.

------------------
---------------------------------------

Diablo II : Cabal Wars

-- Enter the ANATOLIA MUD'S MOD ---

---------------------------------------

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 29 April 2002 13:07     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
*oops* maybe this is something: I replaced the tr files, and hex edited animdata.d2, but I gave the files in the sub folders 1x1 animations with the same frame count as the original anims. I'll give the subfolder-files the perfect anims, and keep you guys up.

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 29 April 2002 13:28     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
OK, I changed the files to the correct frame count, but after a while (about 15 seconds) I got this message :
Assertion Failure
Location: D2CMP\SRC\FastCmp.cpp, line #1514
Expression: dwStride >= pCel->dwWidth

what does this mean

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

mandzo
Moderator

Posts: 658
From: Bulgaria,Sofia
Registered: Aug 2001

posted 29 April 2002 16:36     Click Here to See the Profile for mandzo   Click Here to Email mandzo        Reply w/Quote   Visit mandzo's Homepage!
what char are you using and on which anim do you get the error

------------------
Read or DIE
Muahahahaha

Evil Returns MOD

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 30 April 2002 00:59     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I was using a paladin, but I couldn't see what anim it was

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Joel
unregistered
posted 30 April 2002 01:14              Reply w/Quote   Visit Joel's Homepage!
this is a srange on !!

are you sure you have correctly edit your framecount ?

BTW using empty 1x1 animations never made the game crash (i use hem for almost an half of my conversion ).

------------------
---------------------------------------

Diablo II : Cabal Wars

-- Enter the ANATOLIA MUD'S MOD ---

---------------------------------------

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 30 April 2002 01:20     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
this is what i did in animdata:
ANA1HTH: 0F
ANDTHTH: 12
ANNUHTH: 08
ANSCHTH: 0F

what could be wrong with it?

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Joel
unregistered
posted 30 April 2002 08:24              Reply w/Quote   Visit Joel's Homepage!
ah stroke of light !!

did you enlarge the second structure table of the COF file.
I mean, after the string in th cof file there is a bunch of 00 and 01, that are in number equals t numDir*numFrame.

if you change numFrame you must add or remove this byte.

------------------
---------------------------------------

Diablo II : Cabal Wars

-- Enter the ANATOLIA MUD'S MOD ---

---------------------------------------

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 30 April 2002 12:12     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
eew... what do you mean? show me what I've got to write, and maybe I'll get it:
A1: 128 NEW: 120
DT:184 NEW: 144
GH: 48 NEW: 48
NU: 128 NEW: 64
SC: 144 NEW: 120
WL: 96 NEW: 96
the only thing I can do in hex edit is change the stuff I wrote down here. I didn't even knew there was something else to change except animdata.d2 and .cof files with good frame counts
plz tell me

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 30 April 2002 13:02     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
And where should I change this (whatever it is )? In animdata.d2 or in the .cof files?

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

darkwhispers
Lord

Posts: 110
From:
Registered: Mar 2002

posted 30 April 2002 17:11     Click Here to See the Profile for darkwhispers   Click Here to Email darkwhispers        Reply w/Quote   
hey BAZ. make it easy on your self. what I do when replacing graphics is match the frame count to exactly what im replacing. there is no COF files to edit this way.
get Gamani gif at http://www.moviegear.com
this program is very easy to use to ad graphics or remove them frame by frame. you can resize graphics too. use cv5 to convert your files to GIF and then use Gamani to open the animation. you will see your animation frame by frame across your screen. if you want to add a frame, right click on any frame and click copy, now right click the next frame in line and click paste before. youve now inserted a new frame.to delete, just right click and hit delete.remeber to keep the exact amount of frames for each direction. your A1 needs 128 that = 16 frames per direction. thats it. very simple. hope this helps

IP Logged

Myhrginoc
Honorary Warlord

Posts: 1326
From: Percussion U
Registered: Dec 2001

posted 30 April 2002 21:16     Click Here to See the Profile for Myhrginoc   Click Here to Email Myhrginoc        Reply w/Quote   
There are two structures after the string array in a COF file, you need to expand both. Here are some comments from an earlier post: http://dynamic2.gamespy.com/~phrozenkeep/ubb/Forum38/HTML/000232.html

The global reference for COFs and DCCs I mention is posted on the Keep now.

------------------
So many mods, so little time!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 01 May 2002 00:05     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
DarkWhispers: this method is very easy, but the animations are slowed down, or they look like they are jumping, coz you removed frames

Myhrginoc: really thnx for that!

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 01 May 2002 01:09     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
I still can't figure out what's going on! plz help me... I took cof files with the right number or frames, however it's not needed... and I even got a Unhandeled Violation c0000005 (something like that) error

------------------
Give me fuel, give me fire, give me all that I desire

Pŀāňεşĉąρē Ŧỗѓмĕⁿŧ mod is comming!!!

post all your ideas in the HARRY POTTER MOD forum! I've got vacation! The mod will come out very soon!

IP Logged

darkwhispers
Lord

Posts: 110
From:
Registered: Mar 2002

posted 01 May 2002 15:41     Click Here to See the Profile for darkwhispers   Click Here to Email darkwhispers        Reply w/Quote   
BAZ did you know that you can speed up the animation or slow it down with that program?
In all the monsters I converted or modified Ive never had a "slow" animation. but I have had the same errors youre having and all were fixed by having the same frame count as the monster being replaced. as far as jumping goes when you delete frames... never delete 2 frames next to each other as this will cause some undesirable effects.
also as you delet frames you can run the animation to see how it looks. in the GIF animator you will see a black arrow in the tools bar. just click it, and youll see your animation, Dont save after you delete a frame.. just play it. if it doesnt look right just hit the undo button in the tool bar and it will put the animation frame back in.

IP Logged

D@rkman
Serf

Posts: 19
From: The Netherlands
Registered: May 2002

posted 07 May 2002 00:46     Click Here to See the Profile for D@rkman        Reply w/Quote   Visit D@rkman's Homepage!
Yeh,
Darkwhisper is right. Just speed them up then, I don't know how you're Diablo works, but I'm sure there is something wrong with your diablo, they don't jump in my modifications.
Cya Laterz

------------------
The only fear is running out of bear!

IP Logged

Baz
Honorary Warlord

Posts: 687
From: The Netherlands
Registered: Nov 2001

posted 12 May 2002 11:24     Click Here to See the Profile for Baz   Click Here to Email Baz        Reply w/Quote   
OK, I did some testing and the neutral, walk, and attack1 anims don't crash the game , but when he casted that poison thing, I got this error:
UNHANDLED EXCEPTION:
ACCESS_VIOLATION
here's all I could think of what could be important:
he was in right direction
I was with druid
when the game crashed, I couldn't see andy (like there was a frame missing)

PS: Joel, when is that tutorial comming out? I'd love to see it

------------------
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

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