MED commandline features

Posted By: HeelX

MED commandline features - 07/17/07 18:26

Hello,

WED's commandline features are really useful, but I would like to ask you if you could add commandline features for MED, too. I want to integrate it in my selfwritten toolchain so that I can easily do some batchjobs with MED. Here are my suggestions:

converts an external model file into MDL:

-import source destination

flags:

/FBX6 - for fbx 2006 files, if source is a fbx file (default, if FBX file)
/FBX5 - for fbx 2005 files, if source is a fbx file
/NOBONES - imports no bones
/POINTANIM - converts to point animation
/FPS <float> - if /POINTANIM is set, this is the fps rate
/SCALE <float> - scale factor

edits an existing MDL file

-edit source

edit flags:

/SKIN <number> - editing a specific skin with the following flags:
/LOAD <file> - loads the texture into the skin
/EXT - ..as external file
/DEL - deletes the skin number
/DELREST - deletes all Skins after skin <number>, if <number> is = 0, all skins are deleted

merges two MDLs, after merging, the result is stored in MDL_A

-merge <MDL_A> <MDL_B>

merge flags:

/JOINGROUPS - merges everything into one group


I hope you will see the sense in this and I hope, if you add this onto your list, this will be implemented soon! I need at most the merge feature.

Thanks in advance,
Christian
Posted By: Zapan@work

Re: MED commandline features - 07/18/07 15:34

This is a really usefull feature because the most time we're using med we just import and export (save) models... This way we can create our own little "convert" program and can save a lot of time!
Posted By: Uhrwerk

Re: MED commandline features - 07/18/07 17:55

Absolutely agreed. This could save a lot of time by writing batch files and just let them run through instead of opening tons of models and converting them manually.

Maybe a feature like batch convert could also be implemented in MED?
© 2023 lite-C Forums