Author Topic: [Blender problem] Blender refuses to accept in-game textures in GMod  (Read 1948 times)

Please note that I also posted this in the Facepunch forums, but I will also post here hoping I will get more help from either side.
Note: No, don't go "This fits in Modification Discussion or General Discussion", this has absolutely nothing to do with Blockland, except that the topic is on the Blockland Forums.

I'll sum this up with every single detail which could help in resolving this problem.
I am not new to Blender, I know how to apply UV textures, model (basics), animations (not much), but I am encountering a problem.
As my first model in Garry's Mod I decided to make a keyboard (Yes I know Esc, F1-F12, Prt. Screen Sys Rq, Scroll Lock and Pause Break are missing).
Here is a render of the keyboard:


I've used this tutorial to compress the model:
Facepunch
Youtube

Additional information (all I can supply that would help with this problem):

garrysmod/garrysmod/materials/models/prop:


garrysmod/garrysmod/models (same content I also have in garrysmod/garrysmod/models/props):

Quote from: llkeyboard.vmt (garrysmod/garrysmod/textures/models/prop)
"VertexLitGeneric"
{
   "$basetexture" "models/props/llkeyboard"
   "$surfaceprop" "metal"
   "$model" 1
}
Quote from: idle.smd
version 1
nodes
0 "joint0" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0 0.000000 0.000000
end
Quote from: model.qc
$modelname      "props/llkeyboard.mdl"
$body mybody   "llkeyboard.smd"
$staticprop
$surfaceprop   "metal"
$cdmaterials   "models/props"
$scale         1

$sequence idle   "idle.smd" loop fps 1

$collisionmodel   "llkeyboard-phy.smd" {
   $automass
   $concave
}

$keyvalues
{
   "prop_data"
   {
       "base"  "Metal.Medium"
   }
}
Quote from: llkeyboard start
version 1
nodes
0 "joint0" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0 0 0 0 0 0 0
end
triangles
llkeyboard.vtf
Quote from: llkeyboard-phy start
version 1
nodes
0 "joint0" -1
end
skeleton
time 0
0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0 0 0 0 0 0 0
end
triangles
undefined.tga

The problems come to this:

As simple as I can supply, textures don't work. The model works, physics works, lightning works, but the texture appears as the default missing texture, Black & Purple boxes.

Help much appreciated.
Thanks in advance.

If any more information is needed I'll gladly provide them.
« Last Edit: April 02, 2011, 06:30:19 PM by LeetZero »