View Single Post
Old 12-26-2004, 08:29 AM   #4 (permalink)
Rene
Senior Member
 
Join Date: Jul 2003
Location: The Netherlands
Posts: 141
Send a message via ICQ to Rene
Default

Code:
Entry #405: armyantsm_gm01.w3d 2424379692 94 201 452 
  Sub #0: HIER 0 716 
  Sub #1: ANIM 716 8724 
  Sub #2: MESH 9440 1781 
  Sub #3: MESH 11221 1781 
  Sub #4: MESH 13002 1421 
  Sub #5: MESH 14423 1781 
  Sub #6: MESH 16204 1781 
  Sub #7: HLOD 17985 300
This is the exact format of the w3d file armyantsm_gm01.w3d. I don't understand the first entry yet but I can tell you the subs.

Sub #0: HIER 0 716.

The first node at the first level in the w3d structure. It contains hierarchy data (the objects you select export tranform in renx). It starts after 0 bytes in the w3d file and has a total size of 716 bytes.

Sub #1: ANIM 716 8724

The second node at the first level and this one contains animation keys that are set on nodes in the hierarchy (that's why that one always comes before animation). It starts after 716 bytes and has a total size of 8724 bytes.

I can continue for the other parts listed but I think you get the drill. It is very easy to read through the nodes at the first level and get their type and size so we should be able to replicate this.



Just to complete it, MESH is a geomerty object and HLOD contains the hierarchal level of detail. It is only used by Renegade (and maybe earth and beyond?) but it also contains links between geometry and hierarchal objects.
Rene is offline   Reply With Quote