Jump to content

Delta Force: Black Hawk Down *.3di


mrmaller1905

Recommended Posts

  • Engineer

I understood that already. You need to try a NovaLogic .3di sample which the script was created for.

Then you need to compare the structure of a working sample with that of a not-working one.

If they are too different you're out of luck.

 

Link to comment
Share on other sites

10 hours ago, shak-otay said:

I understood that already. You need to try a NovaLogic .3di sample which the script was created for.

Then you need to compare the structure of a working sample with that of a not-working one.

If they are too different you're out of luck.

 

Tried fmt_3di.py but I got an Noesis error message: "File could not be previewed"

bandicam 2024-12-08 08-16-03-178.jpg

Link to comment
Share on other sites

  • Engineer

I see, DF2 and DF1. We had that discussion already. Somehow.

Mesh format appears to be pretty simple - so a good opportunity for you to do it yourself...

You can find the counts in Table06.3di at 0x6AC0 and 0x6ACC, after the string 'Addr'.

 

Table06.png

 

I'd also recommend to go for BHD mod tools (14.3 MB) containing Df4oed which can export .3di from 3ds ASCII files.

 

df4oed.png

edit: sadly you need to have 3dsmax to create .ase files (which include collision boxes).

I tested with a blender ase exporter but it misses the boxes which Df4OED claims on trying to import them.

Header of a collision box:

*GEOMOBJECT {
    *NODE_NAME "CB01a"
    *NODE_TM {
        *NODE_NAME "CB01a"

 

Edited by shak-otay
Link to comment
Share on other sites

  • Engineer

You were quite close but the start address of the vertex block is at 0x1C3C8.

From the first occurrence of 000000FF in that block go back 40 bytes (for FVFsize of 60; for FVFsize 44 it is 24 bytes back):

(first vertex underlined blue)

Delta01 3di.png

The face index count is 3372 dec. You can find that value after the first "Addr" string:  2C 0D -> 0x0D2c -> 3372 decimal.

Edited by shak-otay
face index correction
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...