2 registered members (TipmyPip, 1 invisible),
18,789
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: import models
[Re: Tonyjack221]
#401956
05/26/12 22:18
05/26/12 22:18
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
Expert
|
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
ofd.lpstrFilter = "Models *.x *.obj *.tga *.bmp *.pcx *.dds\0*.x;*.tga;*.bmp;*.pcx;*.mdl;*.obj;*.dds\0\0";
becomes
ofd.lpstrFilter = "Models *.x *.obj *.tga *.bmp *.pcx *.dds\0*.x;*.tga;*.bmp;*.pcx;*.mdl;*.obj;*.dds *fbs; *3ds; \0\0";
Next you could look at stiro.c in the include folder. Made my life a lot easier when loading files.
STRING* filename = " "; filename = file_dialog("SAVE a FSA file","*.filetype_here",0); if(!filename)return;
Last edited by FoxHound; 05/26/12 22:19.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
Re: import models
[Re: Tonyjack221]
#401959
05/26/12 23:08
05/26/12 23:08
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
Expert
|
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
looks like i wrote it wrong.
.....................*.dds *.fbx; *.3ds; \0\0";
I forgot the dot in front of fbx and 3ds.
If that is not it then where is the error? If it is ent_creat are you sure ent_create can load those files?
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
Re: import models
[Re: Tonyjack221]
#401964
05/27/12 09:08
05/27/12 09:08
|
Joined: Aug 2007
Posts: 1,922 Schweiz
Widi
Serious User
|
Serious User
Joined: Aug 2007
Posts: 1,922
Schweiz
|
Not possible, you can load only *.mdl, *.x or *.obj for models with ent_create. (See in the manual for suportet files.)
Last edited by Widi; 05/27/12 09:09.
|
|
|
|