MaBo Posted February 22, 2016 Report Posted February 22, 2016 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:$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:"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/29aa333a35af92bfdc498b60e2bd327eBut when I check the model in csgo sdk model viewer it shows me this https://gyazo.com/6c3539cd44901ebee9f0e811da5c37a4It also gives me a error "[error] could not load material"Please help me to fix this.- MaBo Quote
tomm Posted February 22, 2016 Report Posted February 22, 2016 heyI think you're currently looking into "csgo\materials\industrial"try$cdmaterials "models\industrial" Quote
MaBo Posted February 22, 2016 Author Report Posted February 22, 2016 heyI think you're currently looking into "csgo\materials\industrial"tryNope this still doesn`t work I get the same result Quote
Vorontsov Posted February 22, 2016 Report Posted February 22, 2016 Go to CS:GO - SDK and open up the Model Viewer.In the model viewer open up your model and go to the "Model" tab, and see at the bottom it should say Materials used: blabla, in my case as an example it says subway_entry_uv, the model is subway_entry.This step is to make sure the model has any materials "attached" to it at all. Reply to me with what you find, also if you don't mind, upload the model files & the materials used for it so I could help you out more. hgn and MaBo 2 Quote
MaBo Posted February 22, 2016 Author Report Posted February 22, 2016 Go to CS:GO - SDK and open up the Model Viewer.In the model viewer open up your model and go to the "Model" tab, and see at the bottom it should say Materials used: blabla, in my case as an example it says subway_entry_uv, the model is subway_entry.This step is to make sure the model has any materials "attached" to it at all. Reply to me with what you find, also if you don't mind, upload the model files & the materials used for it so I could help you out more.Oh thanks for this tip, I found out I didn`t attach it to the model so I fixed it, now it shows the textures Vorontsov 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.