Hello everyone,
I am making a custom hat to submit to the Steam Workshop. I think I have quite a good idea (so I wont be posting my files for fear of someone stealing it) and also have enough 3DS Max and Source knowledge to hopefully flesh it out, but I have come across a problem.
I imported the heavy SMD, made my model on his head, deleted the main heavy section, deleted all the bones except for bip_head, made my hat a skin attached to the bip_head bone, exported as smd, decompiled football_helmet (some errors showed, but it seemed to export idle.smd ok), placed idle.smd in my folder, made a .qc file (I would use the testitem wizard but it doesn't have support for vmt materials yet), and I finally get to the stage where I'm just about to compile it when:
C:\Program Files (x86)\Steam\steamapps\sourcesdk\bin\orangebox\bin>studiomdl.exe "C:/<my qc file name>.qc"
WARNING: AppFramework : Unable to load module p4lib.dll!
qdir: "c:\"
gamedir: "c:\program files (x86)\steam\steamapps\<my user name>\team fortress 2\tf\"
g_path: "C:/<my qc file name> .qc"
Building binary model files...
Working on "<my qc file name>.qc"
SMD MODEL C:\Users\Yoshie\Desktop\<my directory name>/<main model name>.smd
SMD MODEL C:\Users\Yoshie\Desktop\<my directory name>/idle.smd
ERROR: cannot find bone bip_head for bbox
ERROR: Aborted Processing on 'player\items\heavy\<output model name>.mdl'
(Note that I have taken out some information that I wish to remain confidential)
I looked this up and apparently the warning at the start is fine to ignore. The error at the end, however, is bad. Apparently my model is not connected to the bone or something, but when I open 3DS Max and move the bone, my model moves with it. I selected my model and the bone and then pressed Ctrl+I, Delete, to get rid of anything unrelated, but still no joy. Any ideas? Is my SMD exporter not exporting the bone? If so, what smd exporter should I use? (I am using wunderboy's, http://www.wunderboy.org/3dapps.php)
Thankyou!