Please or Register to create posts and topics.

{SOLVED} Importing new models

Page 1 of 4Next

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.

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 :)

Alright, thanks man, I'll try this out and see if it works.

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 :(

Look at the top of your QC. Is there a directory line there?

Falsi sumus crusto!

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
}
===================================================

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.

Falsi sumus crusto!

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...

Anyone?

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.

Page 1 of 4Next