Page 1 of 1

Dawn of War 2 model assistance

Posted: Tue May 19, 2009 7:18 pm
by potemkis
I extracted a few of the files from Dawn of War 2. I'm uploading the .model file for your viewing pleasure. Hopefully someone can help with a script or something that can import some of these into 3ds max... (I have the SDK for Max 6 if it would help).

Re: Dawn of War 2 model assistance

Posted: Wed May 20, 2009 12:29 pm
by Rheini
That's what I have so far, don't have the time to continue.

Code: Select all

string name;
uint uk;
uint uk2;
uint uk3;
int uk4;
uint uk5;

struct Markers
{
    char ID[8];
    uint numGroups;
    uint size;
    uint uk;
    int uk4;
    uint uk5;
    uint uk6;
    uint uk7;
    char uk8[uk7];
    uint uk9;
    string uk10;
};

struct MeshGroup
{
    char ID[8];
    uint numGroups;
    uint size;
    uint uk;
    int uk4;
    uint uk5;
    Markers markers;    
};

struct Mesh
{
    char ID[8];
    uint numGroups;
    uint size;
    uint uk;
    int uk4;
    uint uk5;
    MeshGroup groups[numGroups];
};

struct Model
{
    char ID[8];
    uint numMeshes; // ?
    uint size;
    uint uk;
    int uk4;
    uint uk5;
    string name;
    Mesh meshes[numMeshes];
} model;

Re: Dawn of War 2 model assistance

Posted: Thu May 21, 2009 2:10 am
by potemkis
Cool, thanks! If I were to put up the script that was written for the Dawn of War 1 .whm files, do you think a new import tool could be created?

Re: Dawn of War 2 model assistance

Posted: Fri May 22, 2009 2:04 pm
by Rheini
Well who knows, might help.

Re: Dawn of War 2 model assistance

Posted: Fri May 22, 2009 5:11 pm
by potemkis
I believe the animations are handled by Havok...


I'd have to mail the original dawn of war model to you, it won't let me post it.