STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
219
IN-GAME
1,559
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Colrag 30 Jan, 2015 @ 5:43pm
Exporting .qc doesnt export textures?
Here are ALL the steps I do.
1. Load Blender
2. Model my test item
3. Texture it
4. Map it with the materials / texturing (heres finished product http://gyazo.com/f80fda4bee88efde3527eafe4d506ee8 )
5. Make the sample .qc ( http://gyazo.com/49cf9cf3fd5f6c9193a010494da20cdc )
6. Export the model with qc and studiomdl. It works, right? WRONG.
7. Multiple errors occur, some happen at random:
7a. Error Loading Model! in HLMV
7b. Loads, but is a invisible weapon
8. Loads, but as untextured weapon.
9. Spend the next 2 months trying to troubleshoot.
10. Post here.
11. Gaben.
Last edited by Colrag; 30 Jan, 2015 @ 5:44pm
< >
Showing 1-15 of 26 comments
Artfunkel 31 Jan, 2015 @ 6:07am 
Only material/texture names are exported. It's up to you to create the VMTs and VTFs and put them in the right folder.
Colrag 31 Jan, 2015 @ 7:27am 
@Artfunkel I know, I did. The suggestion was to ahve it all in one folder for exporting, so I did. The VMT and VMF are created, but I can't figure this out. Please ask for any info that you need, such as files and locations. I need to figure this out, I spent 2 months getting this $!@# to work, and I might give up soon which I just can't...
Artfunkel 31 Jan, 2015 @ 9:31am 
Post the contents of your VMT file.
Colrag 31 Jan, 2015 @ 10:11am 
"LightmappedGeneric"
{
"$basetexture" "C:/Users/Felix/Dropbox/Hammer Tools/Weapons (TF2)/The Slicker/models/weapons/the_slicker-phys"
}
automatically generated via vtfedit
Colrag 31 Jan, 2015 @ 10:14am 
Another thing is on the HLMV, it loads but as the black/pink checkered texture. But the model loads the materials file "the_slicker-phys" but it says it tried loading a materials file it couldnt find, yet the VMT, VTF are named the same thing with the correct file pathsa nd everything
Artfunkel 31 Jan, 2015 @ 10:57am 
LightmappedGeneric is the shader for static BSP geometry. You want VertexLitGeneric.
Artfunkel 31 Jan, 2015 @ 11:19am 
Also, the VTF path looks very wrong. It should be something like "materials/models/weapons/the_slicker-phys". I don't think the engine will load materials unless they're in the materials directory.
Last edited by Artfunkel; 31 Jan, 2015 @ 11:21am
Colrag 31 Jan, 2015 @ 5:50pm 
Okay. VMT: "VertexLitGeneric"
{
"$basetexture" "C:/Users/Felix/Dropbox/Hammer Tools/Weapons (TF2)/The Slicker/materials/models/weapons/c_models/slicker/the_slicker-phys"
}
QC:
$modelname "weapons\the_slicker-phys.mdl"
$body mybody "the_slicker-phys.smd"
$surfaceprop "metal"
$cdmaterials "materials\models\weapons\c_models\slicker"

$sequence idle "the_slicker-phys" // no animation wanted, so re-using the reference mesh
Error in HLMV: Could not find one or more of the VMTs specified.
Last edited by Colrag; 31 Jan, 2015 @ 5:51pm
Artfunkel 1 Feb, 2015 @ 9:40am 
Is your VMT in the folder materials\models\weapons\c_models\slicker? Does it match the name of the Blender material?
Colrag 1 Feb, 2015 @ 10:38am 
Yes.
Artfunkel 1 Feb, 2015 @ 11:22am 
It clearly isn't, or you wouldn't be seeing the error. :) HLMV will give you the complete path to every material it expects in the bottom-left of the Model tab, labelled "Materials used".
Artfunkel 1 Feb, 2015 @ 11:37am 
File extensions are being hidden in Explorer. You don't have a file called "the_slicker-phys.vmt", you have one called "the_slicker-phys.vmt.vmt".

http://windows.microsoft.com/en-gb/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-7
Last edited by Artfunkel; 1 Feb, 2015 @ 11:37am
Artfunkel 1 Feb, 2015 @ 1:15pm 
Follow the instructions in the link I posted.
< >
Showing 1-15 of 26 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: 30 Jan, 2015 @ 5:43pm
Posts: 26