Hoamaii Posted October 28, 2014 Share Posted October 28, 2014 Hi guys, I have another puzzle for you which I can't solve: I need to use a MiscItem as activator, that much works fine as long as I BlockActivation() on load so that the Item doesn't get picked up. But I also need it to play an Open/Close Gamebryo animation when activated - I've made many attempts to force "PlayGamebryoAnimation" through script and it still doesn't play. So I tried to use an activator nif (or container) as MiscItem, it will load in game fine and play the animation too, but not react to havok (it remains in mid air where the game initially loaded it). I tried every possible combination of SetMotionType, MoveTo, TranslateTo, SetPosition, etc., through script - it still won't budge. Then I tried to import a BSControllerManager in a ground Item, and that's where my limited knowledge of Nif files structure became a handicap. It's not a CK problem or a scripting issue, it's purely me not knowing how to structure my nif file so that it 1. reacts to havok 2. plays the Gamebryo animation too. Can any of you give me a hand? Many thanks in advance :). Cheers! Hoamaii Link to comment Share on other sites More sharing options...
Tamira Posted October 29, 2014 Share Posted October 29, 2014 If you want to pick it up and drop it like any other clutter object your object needs to have clutter collision. And this clutter collision must be located in the main root directory not in any subfolder like in the animated chest for instance (collisions for both, the lid and the base chest).So I don't know if this is even possible.Not sure if I can help, but can you tell me which kind of object you are using? Link to comment Share on other sites More sharing options...
DDProductions83 Posted October 29, 2014 Share Posted October 29, 2014 Is there ANY object in skyrim that has clutter like collision AND a animation that activates when you activate it? If there is, tell me and I will try to see if I can check it out for ya :P I learned everything I know about nifs from reverse engineering the hell out of them, sorta like russia with the atomic bomb CONSPIRACY THEORY! Link to comment Share on other sites More sharing options...
Hoamaii Posted October 29, 2014 Author Share Posted October 29, 2014 Thanks for replying guys :) @ Tamira, yeah all of the nifs I've tried, MiscItem, Activator and Container do have clutter collision. I set them MO_SYS_BOX, DEACTIVATOR_NEVER or DEACTIVATOR_SPATIAL, SOLVER-DEACTIVATOR_MEDIUM and MO_QUAL_MOVING. That doesn't stop Activator or Container to keep floatting, they absolutely do not respond to Havok. Not sure if this was all I had to set up though - I've been sort of been copying Ground Items settings. And in all of them the BhkCollisionObject block is placed in the main root directory. One problem with my animated versions is probably that the NiContollerManager is also located in the main root - whereas in other animated MiscItems, it is located in a subfolder. But since I can't seem to move the whole block to a subfolder, I couldn't try other combinations... I'm doing something wrong, no doubt. @ Darren83: yeah, there are not many animated MiscItems in the game, the only ones I could find were the "centuriondynamocore01" in meshes\clutter\dwemer and the "sigilstone" in meshes\clutter\quest - but these animations are looping ones, not sequences like "open" and "close". In the CenturionDynamoCore for instance, the NiController is located in a NiNode subBlock with both the NiTriShapes it is pointing to. That's what I have not been able to achieve in my trials: take the NiContollerManager block and paste it in a new NiNode block. I can move the NiTriShapes into my new block, but I keep getting a message saying something doesn't match when I try to import the NiController... I get a feeling it is a matter of structuring it properly or changing some settings in the NiControllerManager but I can't figure out what... Many, many thanks if you can help me figure that one out - that's help me a LOT!.. Link to comment Share on other sites More sharing options...
Recommended Posts