after many hours of my own researching I’ve found that the way to make it work is you’ll need to put the mdl compiler in the source base sdk folder and then go to the bin folder and put the .exe in there. From there open up the .mdl and have it say where it should be exported (make sure to check the first two boxes and leave the last one unchecked) after that it should work.
Now the problem I’m having is trying to find a good .smd file importer/exporter for blender. I found the smd importer that 3D2Toy made. Though When trying to use the script in blender I keep getting the error
ImportError: no module named meshtools
So, being the novice python coder that I am (meaning I’ve only learned the programing language called basic and have to go off that) I tried deleting the line that calls on the variables:
Blender, meshtools, math, time
(it’s one of the first lines, and I deleted meshtools, since it seemed to be giving problems)
It seemed to work because then I could at least get to the choose your file screen. But after selecting the TF2 smd file I wanted (trying to mod some of the tf2 models) it came up with a new error saying:
AttributeError: type object “Bone” has no attribute “New”
sigh trying to work with valve models is no easy task. They like making it difficult what with having to decompile the .gcf file, then the .mdl file, then finding a way to import and then later export the file into .smd and then try and recompile it twice again back into the .gcf… well… I think. From there I don’t know if there is or isn’t another step to get the models to work right…
EDIT: Found a new import script: http://folk.uio.no/jonmd/blender/smdimport/
My friend says he got one of the models from TF2 to work though for some odd reason I can’t get it to work. I keep getting this error:
Traceback <most recent call last>:
file “<string>”, line 1, in <module>
file “C:\Program Files\Blender Foundation\Blender.blender\scripts\HL2_SMD_Importer_For_Blender\import_static_smd.py” line 81, in <module>
import Blender, meshtools, bpy, math, time
ImportError: No module named meshtools
Which… is the same as the first error I got… uhg it’s confusing @_@
oblivion is SO much easier to do, One file type, one importer/exporter script. Though making your own stand alone mods you’ll have to make the .esp file. But I usually just make mods of the the mods I’ve downloaded so that way I can just call upon that mod and not have to figure out the .esp step.