Blender to GMOD, problem : Can't find steam app user info.
11 replies, posted
Hello !
At first, please, excuse my language, I don't speak english very well.
I'm making this thread because I've got a lot of problems for exporting a model I made in Blender to GMOD.
I export it in .smd, made the .qc and etc, but I just can't have a .mdl.
I'm using GUIstudioMDL2.2, I have set the right path to studiomdl (in EP1) but it says "Can't find steam app user info." no matter what I do.
I googled it, it seems that I am not the only one with this problem but I didn't find a real solution.
Thanks for your help.
A friend of mine mentioned to try and use the SFM version SDK a while ago, as most other ones are currently not working for importing models.
I'm going to try that, but I never use SFM.
So let's go for the 8 hours of installation :zoid:
I had to as well when working on a model :v:
Last time I checked, the only tools in the SFM SDK were for Maya users. When I export my models from blender to source (SFM), I use Blender Source Tools: [url]http://steamreview.org/BlenderSourceTools/[/url]
You can find information on how to use the tool here: [url]https://developer.valvesoftware.com/wiki/Blender_Source_Tools_Help[/url]
After you mount the .py within Blender, you'll be able to find an export menu that looks like the picture below. Very rarely do I use all the submenus. Static props usually need only the top and bottom ones.
[t]https://developer.valvesoftware.com/w/images/e/ed/Blender_smd_export_prefs.png[/t]
@Daemon White : Thanks a lot, it works with the SFM studiomdl.
@Leintharien : It didn't work, but thanks, I didn't know that the SMD exporter was doing the qc to mdl.
I've got another problem, I can spawn my model in GMOD, but it have no texture. It appears pink and black. Any idea about this ?
Thanks again for your fast and accurate answer :)
Pink and black means you have something wrong with the vmt file.
Typical reasons:
* Your vmt is pointing to the wrong spot where the vtf is
* Your QC's $CDmaterial is not pointing to the same spot the vmt is at
Thank you for your answer, but there is still no texture. Probably a bad path, so here are my files.
The model name is noirdecoco.mdl
VMT
[CODE]
"VertexLitGeneric"
{
"$basetexture" "models/noirdecoco/noirdecoco"
"$surfaceprop" "metal"
"$model" 1
}
[/CODE]
QC
[CODE]
$modelname "noirdecoco/noirdecoco.mdl"
$body mybody "noirdecoco.smd"
$staticprop
$surfaceprop "watermelon"
$cdmaterials "models/noirdecoco"
$scale 0.5
$sequence idle "idle.smd" loop fps 1
$collisionmodel "noirdecoco-phy.smd" {
$automass
$concave
}
$keyvalues
{
"prop_data"
{
"base" "Metal.Medium"
}
}
[/CODE]
When I compile, eveything goes in models/noirdecoco
Then, I add the vmt and vtf, but maybe I shouldn't ?
So, in models/noirdecoco, I've got this :
noirdecoco.dx80.vtx
noirdecoco.dx90.vtx
noirdecoco.mdl
noirdecoco.phy (shouldn't it be noirdecoco-phy.smd ?)
noirdecoco.sw.vtx
noirdecoco.vmt
noirdecoco.vtf
noirdecoco.vvd
Thanks again.
The vmt should just be
[CODE]"VertexLitGeneric"
{
"$basetexture" "noirdecoco/noirdecoco"
"$surfaceprop" "metal"
"$model" 1
}
[/CODE]
[B]not [/B][I]"models/noirdecoco/noirdecoco"[/I]
It still doesn't work.
Where should I put my vmt and vtf, in materials or in models ?
Thanks.
I uploaded it before and after the compil with guistudiomdl 2.2 if someone wants to look :
[url]https://www.mediafire.com/?dmexiy1crldr8o5[/url]
Thanks again, and sorry for posting again
Open noirdecoco.smd with notepad
Replace every instance of "Material.001"
Change it to noirdecoco
[t]https://dl.dropboxusercontent.com/u/3779442/Screenshots/Noirdecoco.JPG[/t]
The material should have model/noirdecoco/noirdecoco
as the qc is placing the material path to that directory.
Sorry, you need to Log In to post a reply to this thread.