Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fo76utils fork] Unable to import OBJ as collision for Fo4 #94

Open
praecipitator opened this issue Jan 11, 2025 · 2 comments
Open

[fo76utils fork] Unable to import OBJ as collision for Fo4 #94

praecipitator opened this issue Jan 11, 2025 · 2 comments

Comments

@praecipitator
Copy link

Posting this issue here, since the developer of the fo76utils fork seems to be active here, and there is no issues section at that fork's repo...

NifSkope-2.0.dev9-20241228 is unable to import OBJ files as collision in such a way that Fallout4's Elric would be able to process them. This was possible with eckserah's fork Nifskope 2.0 dev 10.01.

I have attached the files I noticed the issue with:

  • theshack_coll.obj is the obj file which I tried to use as collision. Made in Blender, triangulated before export.
  • TheShack-import76.nif is what I got after importing the obj using the fo76utils version (a bhkTransformShape was added manually).
  • TheShack-importEckserah.nif is the same as above, but done using the eckserah version.

ObjImportTests.zip

@fo76utils
Copy link

As far as I can tell, the only difference between the two NIFs you posted is that the Eckserah version does not stitch triangle strips, and the unknown data (20 bytes) in the collision shape block is filled with zeros instead of random uninitialized bytes.

I have now changed these, you can test if the issue is fixed with the new Actions build.

@praecipitator
Copy link
Author

Yes, that works! Looks good in the CK, too! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants