Trp. Jed
11-11-2004, 06:29 PM
Although I dont have the Source SDK yet, I got sent some of the files to look at and noticed the differences in some of the SMD formats. Its not a big change, just uses vertex weights on some vertices.
Anyway, I've mailed Mete over at Milkshape3D about adding support for them to the SMD importer but in the meantime I wrote this little command line proggy to convert between the formats.
Download (http://www.wunderboy.org/comments.php?id=87#comments)
If you run it without any parameters you get a help screen but the basics are:
smdconvert.exe -source|hl infile.smd outfile.smd
use -source or -hl to tell it what format the infile is in and it will make the outfile the opposite. You get the drift.
Might be fun if you want to import the urban reference SMD model and replace it with a DoD model and then export it and compile - see if you can get a DoD model into CS ;) I'd try myself but I dont have a copy yet.
Anyway, I've mailed Mete over at Milkshape3D about adding support for them to the SMD importer but in the meantime I wrote this little command line proggy to convert between the formats.
Download (http://www.wunderboy.org/comments.php?id=87#comments)
If you run it without any parameters you get a help screen but the basics are:
smdconvert.exe -source|hl infile.smd outfile.smd
use -source or -hl to tell it what format the infile is in and it will make the outfile the opposite. You get the drift.
Might be fun if you want to import the urban reference SMD model and replace it with a DoD model and then export it and compile - see if you can get a DoD model into CS ;) I'd try myself but I dont have a copy yet.