PDA

View Full Version : Creative Assembly descr_skeleton.txt



redmark
12-16-2006, 20:57
Has anyone managed to make a change to this file and DEFINITELY have it reflected in game?

Trying to play with animation references, some of the variables settings etc to work on the 2H_Axe bug, I was doubting they were actually doing anything. To test, I removed all attack/defence references entirely for the 2H_Axe - in custom battle, they still attack and defend. I'm not convinced we can actually use this file.

Caliban
12-18-2006, 00:23
You might need to delete \data\animations\pack.idx and skeletons.idx after editing the skeleton file. These files should rebuild with the new changes next time you run the game.

Lovasìjász
12-18-2006, 04:08
You might need to delete \data\animations\pack.idx and skeletons.idx after editing the skeleton file. These files should rebuild with the new changes next time you run the game.

wow, you're da man!
here is a cookie for a helpful dev!
http://wiki.coolmon.org/files/cookie.jpg

redmark
12-18-2006, 04:23
You might need to delete \data\animations\pack.idx and skeletons.idx after editing the skeleton file. These files should rebuild with the new changes next time you run the game.

I did try that, at one point. Pretty sure it had no effect, but I'll give it another go. Thanks for the response.

Lovasìjász
12-18-2006, 04:30
I did try that, at one point. Pretty sure it had no effect, but I'll give it another go. Thanks for the response.

yes it does! see , i dont' want to write it again:

http://www.twcenter.net/forums/showpost.php?p=1386615&postcount=156

redmark
12-18-2006, 04:37
Just re-tried - I actually still had the mymod\data\animations\pack.idx and skeletons.idx deleted from last time I tried.

So, I tried deleting the \data\animations\pack.idx and skeletons.idx (i.e. the original unpacked files) too.

Result: black screen, "beep" error. ESC, back to desktop. Check log:

03:27:59.437 [system.io] [info] exists: found redmark/data/descr_skeleton.txt (from: F:\Medieval II Total War)
03:27:59.453 [system.io] [trace] file open,,redmark/data/descr_skeleton.txt,580330
03:27:59.453 [system.io] [info] open: found redmark/data/descr_skeleton.txt (from: F:\Medieval II Total War)
03:27:59.484 [system.io] [info] exists: found redmark/data/animations/pack.idx (from: F:\Medieval II Total War)
03:27:59.484 [system.io] [info] exists: found redmark/data/animations/pack.dat (from: F:\Medieval II Total War)
03:27:59.484 [system.io] [info] exists: missing redmark/data/animations/skeletons.idx
03:27:59.593 [system.io] [info] exists: found redmark/data/descr_skeleton.txt (from: F:\Medieval II Total War)
03:27:59.593 [system.io] [trace] file open,,redmark/data/descr_skeleton.txt,580330
03:27:59.593 [system.io] [info] open: found redmark/data/descr_skeleton.txt (from: F:\Medieval II Total War)
03:27:59.593 [system.io] [info] exists: missing redmark/data/animations/test_weapon/sword_1_primary_0.CAS
03:27:59.609 [system.io] [trace] file open,,data/animations/test_weapon/sword_1_primary_0.CAS,,not found
03:27:59.609 [system.io] [trace] pack open,packs/data_0.pack,data/animations/test_weapon/sword_1_primary_0.CAS,,not found
03:27:59.609 [system.io] [warning] open: data/animations/test_weapon/sword_1_primary_0.CAS is missing
03:27:59.609 [script.err] [error] Script Error in redmark/data/descr_skeleton.txt, at line 61, column 115
Failed to open cas file 'data/animations/test_weapon/sword_1_primary_0.CAS',
03:27:59.609 [data.invalid] [fatal] Animation database failed to load!
03:27:59.750 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.


Note, the descr_skeleton.txt in this example is an umodded, original unpacked file. Line 61 is the first animation in the file. It doesn't rebuild the .data and .idx - the game won't load without those files.