SKKmods Posted February 29, 2020 Share Posted February 29, 2020 I am using some world static objects (toolbox, vertibird) as inventory menu activators. When they are dropped out of inventory they hover in the air, like when you place items and need to "apply havoc physics". Are there simple settings in nifskope, or does this involve bones and painting weights (that I have no patience for) ? Link to comment Share on other sites More sharing options...
deadbeeftffn Posted February 29, 2020 Share Posted February 29, 2020 If you have to change the physics it's not a simple task, though, maybe you can ask someone who can do this for you :whistling:But maybe you can try SetMotionType() first. Link to comment Share on other sites More sharing options...
niston Posted February 29, 2020 Share Posted February 29, 2020 You can also 'steal' the bhkPhysicsSystem binary data from another, similar object. Then there's a BSX flag to enable Havok. But I dont think setting the flag will work, if there's no PhysicsSystem thingy or if it has no data. To steal the binary data: 1) Find a similar object, get it's NIF and open in nifskope2) Navigate to bhkNPCollisionObject/bhkPhysicsSystem3) RIght click on the 'Binary Data' property value field4) Choose 'Export Binary'5) At least for me, I have to save in nifskope application directory, least Nifskope doesnt want to save at all To add the data to a NIF that doesnt have any physics data: 1) Insert bhkNPCollisionObject node 2) Insert bhkPhysicsSystem node3) go to Root NiNode4) Find property 'Collision Object'5) Set that property to the number of the bhkNPCollisionObject you inserted during step 16) Go to the bhkNPCollisionObject7) Find the 'Data' property, set it to the number of the bhkPhysicsSystem node you created during step 28) Go to the bhkPhysicsSystem node9) Right click 'binary data' value field, choose "Import Binary"10) load the file binary data file you created earlier Setting the BSX Flags: 1) Go to BSXFlags node2) Double Click on the little icon next to the 'Integer Data' property value field3) Ensure selection: Bit0, Bit1, Bit3 If the NIF doesnt have BSX Flags: 1) Insert BSXFlags Node2) Go to root NiNode3) Find Property 'Num Extra Data List'4) Increase it's value by 15) Expand Property 'Extra Data List'6) Find the new, empty entry and set it to the number of the BSXFlags node you created in Step 1 Link to comment Share on other sites More sharing options...
SKKmods Posted February 29, 2020 Author Share Posted February 29, 2020 That's all appreciated and I shall try pushing some buttons. To avoid more monkey-see-monkey-do button pushing, is there an authoritative description of the the NIF schema ? The stuff I am finding is ... how to say nicely ... incomplete or incomprehensible. Link to comment Share on other sites More sharing options...
Zorkaz Posted February 29, 2020 Share Posted February 29, 2020 I sadly never found good information or tutorials, just basic forum posts.But Nifskope is really more like MS-Paint, especially when it comes to physics. To use a more complex and better handling of havoc physics you'd have to use blender or 3ds-max. (And install an extra plugin for converting .nifs) Link to comment Share on other sites More sharing options...
niston Posted February 29, 2020 Share Posted February 29, 2020 I would rather compare it to a Swiss army knife: You can do a bunch of things with it, but its somewhat cumbersome, doesn't work very well as a hammer and there is no torque wrench. Consequently, editing NIFs in Nifskope is akin to MacGyverism. Link to comment Share on other sites More sharing options...
SKKmods Posted February 29, 2020 Author Share Posted February 29, 2020 MY EYES ! MY EYES ! Link to comment Share on other sites More sharing options...
deadbeeftffn Posted March 1, 2020 Share Posted March 1, 2020 ...4) Choose 'Export Binary'...10) load the file binary data file you created earlier...Well, I don't see why you should export / import the binary data. You can simply copy the whole bhkNPCollisionObject node from the source NIF to the target NIF. (Block/Copy Branch - Block/Paste Branch)Otherwise your instructions are correct - of course :smile: Link to comment Share on other sites More sharing options...
deadbeeftffn Posted March 1, 2020 Share Posted March 1, 2020 That's all appreciated and I shall try pushing some buttons. To avoid more monkey-see-monkey-do button pushing, is there an authoritative description of the the NIF schema ? I sadly never found good information or tutorials, just basic forum posts.NIF is a proprietary format. NIF stands for "NetImmerse File." It is named after NetImmerse, the predecessor to Gamebryo. AFAIK Gamebase was (still is?) the developer. All information is kept under NDA which means, that you have to pay for it. NifSkope is not an official tool and the NifSkope developers never had a license to use NIF. So at least we could be happy to have such an extraordinary tool. Link to comment Share on other sites More sharing options...
langnao Posted March 3, 2020 Share Posted March 3, 2020 Do u have accessed to 3ds max to create the physics? Probably export the shape as obj, create the physics then use nifscope to cut and paste the physics data back to the original nif. Can drop me a msg ... Link to comment Share on other sites More sharing options...
Recommended Posts