Need help moving KF and associated NIF around.

Post » Mon Mar 14, 2011 1:37 pm

Hello everyone

I'm currently trying to add some idle animations from a modder's resource into the plugin of a project I am involved in. The modder's resource consists of some slavery/ restraint idles. Each idle consists of a KF file for the animation and an NIF for the chains, shackles, etc required for the idle.

One of the things I would like to do is give the NIF and KF files a directory structure that is different from the way it is organised in the modder's resource. This causes a problem for me though. After moving the KF and NIF files into a different folder and creating the idles n the Construction Set, I tested the idle on an NPC in the CS. The problem is that while the NPC animates properly, the chains and shackles that are associated with the idle don't appear.

My guess is that the KF file is configured to search for the NIF file containing the chains and shackles in a specific directory. Because the NIF is no longer in that directory, the chains and suchlike don't appear. However, I tried briefly looking through the KF file with NifSkope but didn't find anything that is relevant to this. Can someone please help me with this problem? Help will be greatly appreciated.
User avatar
Wayne W
 
Posts: 3482
Joined: Sun Jun 17, 2007 5:49 am

Post » Mon Mar 14, 2011 2:48 pm

Hello everyone

I'm currently trying to add some idle animations from a modder's resource into the plugin of a project I am involved in. The modder's resource consists of some slavery/ restraint idles. Each idle consists of a KF file for the animation and an NIF for the chains, shackles, etc required for the idle.

One of the things I would like to do is give the NIF and KF files a directory structure that is different from the way it is organised in the modder's resource. This causes a problem for me though. After moving the KF and NIF files into a different folder and creating the idles n the Construction Set, I tested the idle on an NPC in the CS. The problem is that while the NPC animates properly, the chains and shackles that are associated with the idle don't appear.

My guess is that the KF file is configured to search for the NIF file containing the chains and shackles in a specific directory. Because the NIF is no longer in that directory, the chains and suchlike don't appear. However, I tried briefly looking through the KF file with NifSkope but didn't find anything that is relevant to this. Can someone please help me with this problem? Help will be greatly appreciated.

The objects you want to use with the animations, are not used IN the animation, they is used WITH the animation. You must have the objects under the Miscellaneous → AnimObject -class in the Object Window in CS. They must then be associated with the animation by setting the right settings. http://a.imageshack.us/img299/9140/pictureja.jpg for an example.
User avatar
:)Colleenn
 
Posts: 3461
Joined: Thu Aug 31, 2006 9:03 am

Post » Mon Mar 14, 2011 2:39 pm

I didn't notice the presence of Animation Objects in the modder's resource the first time. Anyway, I created an animation object for my idle animation then tested it in game and it worked. My problem has been solved.

Thank you for the help.
User avatar
sunny lovett
 
Posts: 3388
Joined: Thu Dec 07, 2006 4:59 am


Return to IV - Oblivion