# these are parameters for exporting my aircraftI usually switch off all the ignore-flags except warnings (-i, -in- -i8) since the -b option switches everything to ignore which causes makemdl to run through smoothly and you will never know that you might have a bug in your object names (expecting them to animate but used wrong misspelled name etc.).
# -b shut up (batch)
# -keep keeps all intermediate files .asm and such
# -i ignore warnings
# -i8- do not ignore bad triggers (might be important for stock anims)
# -in- do not ignore bad normals
# -viewlog view logs in case of error (only if -b deactivated)
-b
-i
-in-
-i8-
-keep
-viewlog
+savexfile
# these are parameters for exporting my aircraft with automatically
# creating the interior model file for MakeMDL
# -b shut up (batch)
# -keep keeps all intermediate files .asm and such
# -i ignore warnings
# -i8- do not ignore bad triggers (might be important for stock anims)
# -in- do not ignore bad normals
# -viewlog view logs in case of error (only if -b deactivated)
-b
-i
-in-
-i8-
-keep
-viewlog
+savexfile
+autointerior
Parameter |
Info |
+savexfile |
The modelfile is intercepted and saved
as modelname.x in the output directory - There you got your .x-file
! I recommend use this option always for a couple reasons: I can pass then mymodel.x to makemdl which will drive it into automatically adding any .x - LOD or _interior.x files to the LOD tab. Also you have something to look into if stuff doesn't get exported as you want it, perhaps gives you an idea whats wrong. |
+autointerior |
The modelfile is intercepted and saved
as modelname_interior.x in the output directory. Don't use with -b switch
since MDLCommander can't pass the interior file name as parameter to
MakeMDL. Instead when MakeMDL pops up you have to go to the LOD - tab
and add the ..._interior.x file there to the LOD-names with the add button. Autointerior just makes it easier to model, since you can use one model as exterior AND interior model without having to manually copy any files before continuing with MakeMDL. Thats done by MDLCommander. Note: don't set this for scenery objects - nothing bad will happen, just doesn't make much sense ! Also: If the exported models name ends with ..._interior then this flag is ignored since mdlcommander assumes this already IS the interior model. |
+batch |
This flag is meant for programs like middleman
which might want to re-enable the batch mode of makemdl from the commandline,
since mdlcommander removes the -b flag from commandline automatically to
interrupt makemdl. If +batch is set, then mdlcommander passes a -b flag
to makemdl and things run through smoothly. May also be placed in par files
but doesn't really make sense, can use -b there as well. |
+nocompile |
Instead of calling makemdl at the end it just
returns to gmax without compiling. This is the option you need in final
stages of developement or if you just want to get the .x - file without
compiling. |