When importing a whole directory, auto-convert will attempt to convert all files with a .jpg, .bmp, .tga or .mdl extension. If the conversion is successful the resulting file will be imported using the same path with only the extension changed to .blp or .mdx. Otherwise the original file is imported using its original path. You can explicitely overrule this attempt by keeping the same extension in the imported path, although it doesn't make much sense:
//! external FileImporter ..\MyMap\DiscoStu.mdl Models\DiscoStu.mdl
Finally there's a naming convention that will add icon borders to images with a certain prefix in the filename.
- infocard- attack/armor type icons
- level-infocard- same but with levels (caster upgrade art)
- CMD normal icon
- PAS passive icon
- AUT autocast icon
The icons in the following example will get a normal/autocast/passive icon border:
//! external FileImporter CMDBTNMyIcon.bmp MyIcon.blp AUTBTNOtherIcon.tga OtherIcon.blp PASBTNNewIcon.jpg NewIcon.blp
The imported path for icons doesn't matter, they will end up in
ReplaceableTextures\CommandButtons\BTNMyIcon.blp,
ReplaceableTextures\AutocastButtons\BTNOtherIcon.blpand
ReplaceableTextures\PassiveButtons\BTNNewIcon.blp and a disabled version will automatically be put in
ReplaceableTextures\CommandButtonsDisabled\DISIconName.blp. Now let's combine the prefixes to make use of a shared disabled icon:
//! external FileImporter AUTPASCMDSharedIcon.tga SharedIcon.blp
This will create a normal, a passive and an autocast version of the same icon and put the shared disabled version in
ReplaceableTextures\CommandButtonsDisabled\DISSharedIcon.blp.