#exec TEXTURE IMPORT NAME=LightSwitchTex1.bmp FILE=Textures\LightSwitchTex1.bmp.PCX
# 1.3.5 - 28/7/2019
# -Fixed the _TRANSLUCENT_ flag when importing and exporting materials to _TRANSLUCENT.
# -Added automatic detection of the model format.
# -Made importer not create any keyframes nor set any animation data if the mesh only has 1 frame of animation.
# -Exporter now checks for changes in vertex count to avoid unexpected breaking of animations due to procedural modifiers and the like.
# -Exporter now returns to the starting frame of the last exported animation to make re-exporting easier.
# -Importer now adds the name of the file to the material name. This is to ensure the material for the model is unique.
# -Fixed Importer only looking for materials in the created objects rather than all materials. This caused a new material to be made for each polygon using a material that already existed but wasn't used on the created object.
# -Fixed Exporter writing multiple #exec texture import lines for materials that share the same texnum.
# -Exporter now accepts both .BMP and .PCX extensions for textures when writing the .uc file. Any texture that isn't either of the two gets changed to .PCX. Also fixes issue where files got double file extensions.
#exec TEXTURE IMPORT NAME=Switch1Tex1.bmp FILE=Textures\Switch1Tex1.PCX GROUP=Skins FLAGS=2
#exec MESHMAP SETTEXTURE MESHMAP=Switch1 NUM=0 TEXTURE=Switch1Tex1.bmp