#Porting texture from blender to Garry's mod?

1 messages · Page 1 of 1 (latest)

eternal raptor
#

Hello, is there a way to get the texture wrap image thing to work with garry's mod?

north marlin
#

texture wrap?

#

you mean their face? Or you mean the whole model’s materials?

#

you just convert the diffuse & other supporting images to VTF (vtfedit is good, also some export plugins exist for other programs)
then write a VMT file. VMT is a plaintext script that defines how the game renders a set of textures. A basic one looks like this: (materials/models/npc/catbot/body.vmt)

VertexLitGeneric
{
    “$basetexture” “models/npc/catbot/white”
    "envmap" "env_cubemap"
}```
The vmt’s filename is the same name as your blender material name, which sits in the folder you put in $cdmaterials in your .qc
eternal raptor
#

really anything really

#

you can tell i'm no into modelling

north marlin
#

na it's pretty good

#

u just not into gmod modeling ;p

#

yet

eternal raptor
#

coding is easier

#

lua even more

#

i'll try this stuff tomorrow tho

#

Bc doing this on my makeshift laptop will be probably even more of a pain in the ass

north marlin
#

not bad

#

you havee a MOUSE AND KEYBOARD, JUST NOT...WINDOWS

eternal raptor
#

linux gaming

#

Lmao

north marlin
#

tf

#

does steamdeck actually use kde or is that someth you added

eternal raptor
#

Yeah it does

#

Altought its very hard to use without a keyboard and mouse