#I've been trying to import the material for my model for the longest time and I can't get it to work

1 messages · Page 1 of 1 (latest)

ripe niche
#

so I can make a help request but not give anyone an image, bruh

#

I have the qc file for it and everything setup, it just refuses to apply the material.

#

I would put a screenshot but this server makes me wait a while

tame birch
#

Is the vtf/vmt the same name as the texture in blender?

tame birch
ripe niche
tame birch
#

Okay and the texture is pink and black or just invisible

ripe niche
#

pink and black, per usual for gmod when it has no texture

tame birch
#

Also don’t use capped letter source doesn’t like it

ripe niche
#

ill keep that in mind

tame birch
ripe niche
#

ill double check real quick

#

it should be

tame birch
#

Okay import your smd and check the texture of the model also remove the cap

ripe niche
#

it might just be the capital letters

#

ill change them and get back to you

tame birch
#

Yes maybe cause it seem right

tame birch
#

Oh nvm

ripe niche
#

:0

tame birch
#

I think I found why

tame birch
ripe niche
#

oo

#

didn't do it yet

tame birch
#

Oh Alr well I think the problem is just there (hold on I send it) :

ripe niche
#

ight

#

ill hold off until I see what your sending, its a slight pain to rename the crap

tame birch
#

On the vmt you have models/aburk

#

On the other you have aburk/roblox

ripe niche
#

ill change that real quick

tame birch
#

Yes check where the vtf is located

#

And use the path of this

ripe niche
#

this is saying it used the material now which is better then before, but then it proceesed to not use it

#

ill change those capital letters quick

tame birch
#

Then remove the cap

#

But you checked where the vtf is ?

ripe niche
#

that gotta be it at this point

tame birch
#

In your Garry’s mod

ripe niche
#

with the rest

tame birch
#

Okay then remove the cap at this point I don’t really know I’ve done many player models and this seems right 😅

ripe niche
#

ill let you know then, it should only take me a few minutes

tame birch
ripe niche
#

ohhhh, I still shoved it in there as I saw that folder

tame birch
#

Put your vtf/vmt in materials…

ripe niche
#

its in both

#

oh

#

I only had one of the 2 so ill shove both in it

tame birch
#

Put it in materials/models/aburk/RobloxAvatars

ripe niche
#

I only shoved the vmt in materials, I didn't have the vtf in it

tame birch
#

Oh okay

#

But you need to have your vtf/vmt in materials not models

ripe niche
#

so not materials/models/robloxavatars?

tame birch
#

Yes but rn on the screenshot it’s in garrysmod/models/aburk/RobloxAvatars

#

Put it in garrysmod/materials/models/aburk/RobloxAvatars

ripe niche
#

ight

tame birch
#

It should work now ?

ripe niche
#

forgot to change the name in the model itself to be lowercase for the material, one sec

tame birch
#

Okay so put it where I’ve said when it’s done and in the QC put models/aburk/RobloxAvatars in the cdmaterials and it should work

ripe niche
#

something must still be capitalized as crowbar still says it is, don't see where tho.

tame birch
#

Okay but have you done what I’ve said ?

ripe niche
#

ya

tame birch
#

And remove the cap on the vtf and in the vmt file too

ripe niche
#

I did

#

just gotta find what is telling that its capital

tame birch
#

You’ll need to screen share me cause by message It’s hard I guess

#

Show me where your vtf is located now ?

#

Just to see if it’s right

ripe niche
#

think I just found the issue.

tame birch
#

Youve forgot aburk..

ripe niche
#

that aswell

tame birch
#

It’s in materials/models/aburk/robloxavatars

ripe niche
#

having to reconfigure this crap its hard to keep track

tame birch
#

Yes but just copy past where I told you 😅

ripe niche
#

I did

tame birch
#

materials/models/aburk/robloxavatars/yourvtfvmt

ripe niche
#

thats what I got, I have one idea but ill have to get a screenshot for it to make sense

#

at the end of that line, is the name of the file fine or do I need the .vtf

tame birch
#

No it’s fine just the name without .vtf

ripe niche
#

and I assume this is fine?

tame birch
#

Yes

#

Now show me the path of your vtf again 😅

ripe niche
#

:0

tame birch
#

Wait no

#

Remove robloxmaterial_body in cdmaterials

ripe niche
#

ight

tame birch
#

You need to put the path where your vtf is

#

Not the vtf it self

ripe niche
tame birch
#

You only put the robloxmaterial_body in the vmt

#

Yes

ripe niche
#

the model is underscale as I fucked it up but we got it.

tame birch
#

👏

ripe niche
#

thanks mate, I shouldn't have to ask that again as I have this to check

tame birch
#

Alright no problem man 🙏🫡

#

Remembers to put the same path everywhere and same name in lower case

ripe niche
#

ya, I shouldn't make that mistake again

tame birch
#
  1. The cdmaterials in qc = the path where your vtf/vmt is

  2. In your vmt use the path where your vtf/vmt is with the name of your vtf at the end without .vtf

  3. Same name in blender

Etc.

#

Im on phone so it’s hard to explain mb haha

ripe niche
#

ight, here is a picture of the horror. gotta rework its rig so it works with animations a "bit" better

tame birch
#

Ohh.. this is proportion trick problem..

#

I can’t explain it rn I’ll go sleep but I can maybe tomorrow

ripe niche
#

ight, thanks again with the materials