Home - AlpyneDreams/qc_generator GitHub Wiki
Blender QC Generator requires that you also have Blender Source Tools installed!
-
When your model is ready, set up everything you want as a separate SMD/DMX in its own collection.
-
Click on Find Engine Path in the QC Generator section of the Properties Editor's Scene tab.
Note: This button will only work seamlessly if your blend file is in a folder like <root>/content/<game>/<whatever>, where <root> is some arbitrary folder, <game> is the name of your game (e.g. hl2) and there exists a source engine game folder (the one that would contain GameInfo.txt) in <root>/game/<game> and a bin folder with studiomdl.exe in <root>/game/bin.
This will set the following options for Source Engine Export and QC Generator:
| Option | Path |
|---|---|
| Your .blend File | <root folder>\content\hl2mod\models\props_generic\television03\television03.blend |
| Engine Path | <root folder>\game\bin |
| Game Path | <root folder>\game\hl2mod |
| MDL Name | props_generic\television03.mdl |
| CD Materials | models\props_generic |
-
Set up your SMD/DMX models with Blender Source tools an export them all.
-
Set the parameters of your QC to generate, you can choose a model to be your collision model if desired, and then click Write QC
-
If you have
Open in Text Editorchecked then the generated QC file will open in a Blender text editor. If there is no Blender text editor on your screen, the largest area (usually the 3D view) will be changed to a text editor. -
If you have
Automatically Overwrite Filechecked then the QC file will be saved for you automatically. -
You can then simply click on the QC file under the
Source Engine QC Compilessection. -
Congratulations, you've just fully compiled a MDL file! Open HLMV to see how it looks.