Source SDK

Source SDK

ComedyGTV Jan 12, 2018 @ 6:07am
Custom Models Missing Textures (Solved)
So as the title says, I have created a player model for Garry's Mod and when I have compiled it into Garry's Mod I get the purple missing textures. This is my 3rd attempt in making a model from scratch and not a single worked with textures and been at it for months so it would be a great big help if someone could help me out please.

QC File:
https://pastebin.com/s2if1u5S

SMD File:
mega nz/#!eMVGnISa!OB6OD8OfDYhVDf_9B3SFx_GiShGHkCsxlocyKS4GcdU

Screenshots in Blender:
https://imgur.com/a/jqvo4
Last edited by ComedyGTV; Jan 16, 2018 @ 8:17am
< >
Showing 1-15 of 19 comments
Misuune Jan 12, 2018 @ 6:09am 
find those files that u use in blender for textures and learn how to use vtfedit
all can be searched on google
ComedyGTV Jan 12, 2018 @ 6:16am 
Originally posted by Spy-the-MAN:
find those files that u use in blender for textures and learn how to use vtfedit
all can be searched on google
I have used that and everything seems ay okay but it's not working
I'm not a modeler but, for what I know, model textures must be VertexLitGeneric, not Lightmapped.
ComedyGTV Jan 12, 2018 @ 10:23am 
Originally posted by B.n.B AlcyToronto:
I'm not a modeler but, for what I know, model textures must be VertexLitGeneric, not Lightmapped.
Thanks for replying but that has not worked either
ComedyGTV Jan 13, 2018 @ 5:16am 
Bump
ComedyGTV Jan 14, 2018 @ 11:32am 
bump
Rectus Jan 15, 2018 @ 4:55am 
The $cdmaterials command in the QC needs to be relative to the materials folder, so: $cdmaterials "models\player\comedy\"
ComedyGTV Jan 16, 2018 @ 5:15am 
Originally posted by Rectus:
The $cdmaterials command in the QC needs to be relative to the materials folder, so: $cdmaterials "models\player\comedy\"
Yeah sorry I knew that ah I was just testing that and forgot to delete that when showing you all but it still not working with $cdmaterials "models\player\comedy\"
Rectus Jan 16, 2018 @ 7:21am 
Does the console give any errors related to the material if you run mat_reloadallmaterials?
ComedyGTV Jan 16, 2018 @ 7:29am 
Originally posted by Rectus:
Does the console give any errors related to the material if you run mat_reloadallmaterials?
I will have check
ComedyGTV Jan 16, 2018 @ 7:44am 
Originally posted by Rectus:
Does the console give any errors related to the material if you run mat_reloadallmaterials?
There is no errors in my console
Rectus Jan 16, 2018 @ 7:53am 
Try running the game with -dev or -allowdebug, and make sure the model is spawned before reloading the materials.
ComedyGTV Jan 16, 2018 @ 8:10am 
Originally posted by Rectus:
Try running the game with -dev or -allowdebug, and make sure the model is spawned before reloading the materials.
It now says:
player\comedy\comedy.mdl : material "models/player/comedy/material01/material01" not found.

eh... so the model is serching for:
"models/player/comedy/material01/material01"

instead of:
"models/player/comedy/material01"
ComedyGTV Jan 16, 2018 @ 8:13am 
Originally posted by Rectus:
Try running the game with -dev or -allowdebug, and make sure the model is spawned before reloading the materials.
OMG!!! Thank you soooo much dude!! I got it working now, I can never be so much greatfull
< >
Showing 1-15 of 19 comments
Per page: 1530 50

Date Posted: Jan 12, 2018 @ 6:07am
Posts: 19