Author
|
Topic: *CRASH*
|
Brother Laz Honorary Warlord
   
Posts: 1134 From: the place where angels watch... Registered: Dec 2001 |
posted 28 February 2002 04:16
As you might or might not know, I'm replacing characters with monsters; by replacing the light armor legs with the entire monster (edited directions and framecount to match) and all the other light armor animations with one pixel transparent anims. To avoid having to replace a million different files that do the same, I set all weapons' anims to hth (no weapon displayed), and all armor looks to 0 0 0 0 0 0 (naked look).Works great. Except when I melee swing with certain weapons after two or three swings I get a crash. The log file tells me it is a 'file read error in archive.cpp' (archive.cpp is nowhere to be found), along with a filename: an Attack 2 Hand to Hand .cof file (eg. data\chars\dz\cof\dza2hth.cof or something like that). Cv5 tells me that the file is indeed missing. But why would the simple act of replacing some animations and setting all armor looks to light armor and all weapon looks to hth (and that's all I did) suddenly make the game attempt to read cof files that don't exist, and what can I do about it?  Would just copying the animations and cof file of the Attack 1 animation to Attack 2 work, or do I have to put the filenames in a list file somewhere to make the game recognize them? ------------------ To practice the Arts of Modding is to be Damned. To master Them is to be Victorious. -D1 manual

|
Myhrginoc Honorary Warlord
   
Posts: 1326 From: Percussion U Registered: Dec 2001 |
posted 28 February 2002 18:59
Duplicating and renaming COFs is 2/3 of the work, but you also need to make an entry in AnimData.D2. That file sets up a structure that includes character anims as well as monster anims. Go to this thread, find a spare record in AnimData, and replace with the information matching your new COF there.http://dynamic2.gamespy.com/~phrozenkeep/ubb/Forum33/HTML/000257.html There are 29 duplicate slots and 29 unused slots in AnimData.D2.

|
Brother Laz Honorary Warlord
   
Posts: 1134 From: the place where angels watch... Registered: Dec 2001 |
posted 01 March 2002 04:00
Jeez... If I wasn't pressed for time it would be interesting reading!*looks at 2.2 Mb error log file* Grmpf... I think I'll leave it till last, or just give all characters a couple of charms with skills without mana cost at the start of the game, and disable normal attack.  ------------------ To practice the Arts of Modding is to be Damned. To master Them is to be Victorious. -D1 manual

|
Carina Flær Honorary Warlord
   
Posts: 561 From: Akihabara, Japan Registered: Feb 2002 |
posted 01 March 2002 06:30
Just a quick q ~ if, say, a starting player ditched those charms, he'd be left without any skills? Um, wouldn't that annoy the game or something? Unless you meant turning the icon red.------------------ " In Defeat, Malice; In Victory, Revenge! "

|
RexxLaww Moderator
   
Posts: 1158 From: USA Registered: Mar 2001 |
posted 01 March 2002 09:09
Totally off topic, but it needs to be asked.Is it me, or does you avatar picture keep changing Corina?  ------------------ Good, Bad, Ive got the gun. Darkness Weaves [This message has been edited by RexxLaww (edited 01 March 2002).]

|
Carina Flær Honorary Warlord
   
Posts: 561 From: Akihabara, Japan Registered: Feb 2002 |
posted 01 March 2002 20:41
RexxLaww:  I just found out facelink supports 10 images per user. Thusly...  Btw, instead of "disabling" normal attack, perhaps change it with some other skill? ------------------ " In Defeat, Malice; In Victory, Revenge! "

|