Hello,
So I started to learn blender today and wanted to import my blender model into hammer.
I use Blender source tools to export it to smd.
I used crowbar to compile it.
In the model.qc file I entered:
QuoteDisplay More$modelname "industrial/flowerplant.mdl"
$body mybody "flowerplant.smd"
$staticprop
$cdmaterials "industrial/"
$scale 1$sequence idle "idle.smd" loop fps 1
$collisionmodel "collision.smd" {
$automass
$concave
}$keyvalues
{
"prop_data"
{
"base" "Metal.Medium"
}
}
I used VTFEdit to create a vtf and a vmt file.
vmt file:
Quote"VertexLitGeneric"
{
"$basetexture" "models\industrial\xflowerplant"
"$surfaceprop" "Concrete_Block"
}
The material files are located in "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\materials\models\industrial"
The model files are located in "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\models\industrial"
But now my problem...
In the blender model it all looks normal and good https://gyazo.com/29aa333a35af92bfdc498b60e2bd327e
But when I check the model in csgo sdk model viewer it shows me this https://gyazo.com/6c3539cd44901ebee9f0e811da5c37a4
It also gives me a error "[error] could not load material"
Please help me to fix this.
- MaBo