• Can't get material on custom prop...
    6 replies, posted
Hi, I have only made one model previously, that was about a year ago. I've made a model of a starbucks cup, I've compiled the model and it appears in Hammer and in-game. But the material won't work. I think I've setup the VMT file correctly: [code] "VertexlitGeneric" { "$basetexture" "mariners_court/Sbucks_Cup" "$surfaceprop" "Wood_Box" } [/code] And this is the qc file used to compile the model. [code] $modelname "mariners_court\Sbucks_Cup.mdl" $body mybody "Sbucks_Cup.smd" $staticprop $surfaceprop combine_metal $cdmaterials "mariners_court\props" $sequence idle "Sbucks_Cup.smd" $collisionmodel "Sbucks_Cup-phys.smd" { $concave } [/code] The texture file and material file are both in there correct folder. What I am doing wrong?
You have the vmt pointing to ""mariners_court" but the QC has the model looking for textures in "mariners_court\props"
[QUOTE=-nesto-;40457720]You have the vmt pointing to ""mariners_court" but the QC has the model looking for textures in "mariners_court\props"[/QUOTE] I've updated the vmt, but the material is still not showing?
Can you send me the mdl and textures so I can take a better look at it
[QUOTE=-nesto-;40458623]Can you send me the mdl and textures so I can take a better look at it[/QUOTE] Sure thing. I'm in bed now on tablet. I'll pm you tomorrow. Thank you.
[QUOTE=Meekal;40458317]I've updated the vmt, but the material is still not showing?[/QUOTE] Unless you moved the .VMT as well, updating it won't do a thing if your .qc isn't pointing to the proper directory.
Did you apply a texture called "Sbucks_Cup" to the model in your 3D software? Is this texture in "materials/mariners_court/props" as shown in your QC? Did you update your VMT to have "materials/mariners_court/props" in the $basetexture line? Is your .VMT named "Sbucks_Cup"?
Sorry, you need to Log In to post a reply to this thread.