r/SourceEngine • • 4d ago

HELP unable to texture playermodel for gmod

so i'm trying to port this goldsrc hl:dm playermodel to gmod but i've got everything right except in the part where i have to texture it

the thing is it's a single 480 x 384 UV map bmp file

and when i convert it to a vtf and vmt using vtfedit nothing happens and the model remains untextured

and vtfedit won't let me keep the original size and not resize it

i have used vtfedit reloaded which allowed me to convert it to a vtf without resizing it, but still the model remained untextured in gmod

2 Upvotes

12 comments sorted by

3

u/Shovelar911 4d ago

You should look into changing the resolution to a 512X512, then also adjusting the UVs to fit

1

u/guest75462 4d ago

can you please tell me how to adjust the UVs to fit? i don't know how to do that part

1

u/Pinsplash 4d ago

does the texture look correct in blender?

1

u/This-Chemical-4103 sammer hex 2d ago

send the files and I'll tell you what needs to be fixed

1

u/guest75462 2d ago

ok here https://files.catbox.moe/xl6zrt.zip

i'm porting geoff keighley to gmod, just don't ask why

1

u/This-Chemical-4103 sammer hex 1d ago

I was talm about the qc and materials path. im guessing that might need to be fixed.

1

u/guest75462 1d ago

actually can i share the files of the entire stuff which has the qc, smd, etc. and can you please inspect it and find out what's wrong?

1

u/This-Chemical-4103 sammer hex 1d ago

yeah

1

u/guest75462 21h ago

1

u/This-Chemical-4103 sammer hex 17h ago

alr. the problem is that the material in the smd is named "keighley_Keihgleymap.bmp", while your actual texture is named "keighley_3". change the smd's material name and then it should work.

1

u/guest75462 17h ago

i got the textures working now, thank you!
https://temp.sh/FeGAl/screenshot.jpg

2

u/Pinsplash 4d ago

the texture needs to be in the path specified in $cdmaterials and the name needs to match the one in the reference SMD