Modelling/Skins
From UFO:AI
General
Our models need skins of course - these skins are images in jpg, png or tga file format. They should be in the same directory as the model (the md2) (somewhere below base/models/. You can enter the complete path relative to the ufo game dir. For example when a skin is lying in base/models/directory/skinfilename.jpg you could enter the skin path as models/directory/skinfilename or as a .skinfilename. The latter is the prefered skinname. The dimensions of these images should always be power of two.
Fileformat
To change the filenames of the textures or the amount of available skins you maybe (depends on the model format) have to edit the model files.
To change the filenames of the textures or the amount of available skins you have to edit the md2 files.
There is a perl script available for that in src/tools called md2.pl. With this tool you can change the texture sizes, upgrade the number of skins & change skinnames.
You need a Perl distribution to be able to execute the script. A good one for Windows would be ActivePerl.
Be careful. The tool/script is not able to downgrade the number of skins in the md2 file, just to upgrade them. To downgrade this number you have to edit byte 20 with a Hex-Editor (see md2 file/header definitions).

