{SOLVED} Importing new models
Quote from Axon9000 on February 21, 2014, 1:48 pmI have a model in blender, and I was wondering how would I go about importing it into a source game; I have tried other methods of doing this, but they were old and didn't work at all... I'm looking for a way to Import models that isn't 5 years old and actually works, any help would be much appreciated.
I have a model in blender, and I was wondering how would I go about importing it into a source game; I have tried other methods of doing this, but they were old and didn't work at all... I'm looking for a way to Import models that isn't 5 years old and actually works, any help would be much appreciated.
Quote from Lpfreaky90 on February 21, 2014, 4:21 pmThere is a plugin for blender that allows you to export to smd.
After you have the smd you will have to write a qc file.
I use notepad++ for this, but really anything will do.Then you can compile the qc file to the required files for the engine.
For this I use GUIStudioMDL.This is the help I can give at the moment, I'll see if i can find time in the not-so-distant future to elaborate a bit more, using a video or something
There is a plugin for blender that allows you to export to smd.
After you have the smd you will have to write a qc file.
I use notepad++ for this, but really anything will do.
Then you can compile the qc file to the required files for the engine.
For this I use GUIStudioMDL.
This is the help I can give at the moment, I'll see if i can find time in the not-so-distant future to elaborate a bit more, using a video or something
Quote from Axon9000 on February 24, 2014, 8:34 pmRight... well I managed to get it into a SMD file, and made a qc file, then I put it into guistudio and this happened...
Building binary model files...
Working on "SMD.qc"
ERROR: c:users????desktopSMD.qc(6): - could not load file 'moddel.smd'
ERROR: Aborted Processing on 'moddelmoddel.mdl'I have no idea what i'm doing wrong
Right... well I managed to get it into a SMD file, and made a qc file, then I put it into guistudio and this happened...
Building binary model files...
Working on "SMD.qc"
ERROR: c:users????desktopSMD.qc(6): - could not load file 'moddel.smd'
ERROR: Aborted Processing on 'moddelmoddel.mdl'
I have no idea what i'm doing wrong
Quote from FelixGriffin on February 24, 2014, 9:07 pmLook at the top of your QC. Is there a directory line there?
Look at the top of your QC. Is there a directory line there?
Quote from Axon9000 on February 24, 2014, 9:23 pmYes and no its kinda but not fully uh erm let me show you
===========================================================
$modelname "SteaveSteave.mdl"
$scale 1.00
$staticprop
$cdmaterials "modelsSteave"$body "Body" "Steave.smd"
$sequence seq-name "Steave.smd" loop fps 30 ACT_IDLE 1
$surfaceprop "metal"
$collisionmodel "Steave.smd" {
$concave
$mass 100.000
}
===================================================
Yes and no its kinda but not fully uh erm let me show you
===========================================================
$modelname "SteaveSteave.mdl"
$scale 1.00
$staticprop
$cdmaterials "modelsSteave"
$body "Body" "Steave.smd"
$sequence seq-name "Steave.smd" loop fps 30 ACT_IDLE 1
$surfaceprop "metal"
$collisionmodel "Steave.smd" {
$concave
$mass 100.000
}
===================================================
Quote from FelixGriffin on February 24, 2014, 9:32 pmI assume your SMD is in the same directory as your QC?
If you could post your full QC and error log without name mangling (id est without changing the names of files and animations and such), that would help.
I assume your SMD is in the same directory as your QC?
If you could post your full QC and error log without name mangling (id est without changing the names of files and animations and such), that would help.
Quote from Axon9000 on February 24, 2014, 9:56 pmActually my smd is in a different directory that my qc, I fixed that, now my model is in game but its missing its texture and no longer has its bones from blender, as well as its body parts being in the wrong position...
Actually my smd is in a different directory that my qc, I fixed that, now my model is in game but its missing its texture and no longer has its bones from blender, as well as its body parts being in the wrong position...
Quote from Skotty on February 28, 2014, 9:45 pmDid you exported it correctly?
About the texture, make sure your VMT is correct and has the name of the texture you applied to the model.
Did you exported it correctly?
About the texture, make sure your VMT is correct and has the name of the texture you applied to the model.