Page 1 of 1
getting custom textures to work
Posted: Fri Mar 25, 2005 12:11 am
by yodaman26
hello, i can't get custom textures to come up in mradiant. I'v followed Nemisis's tut and nothing, it's probably some stupid mistake.
the only thing i have'nt done is make the picture 256x256, does this matter?
Posted: Fri Mar 25, 2005 12:39 am
by Deutsche Dogge
post the content of your shader file so we can see what's wrong.
there should be a line stating which file to show in radient:
Code: Select all
textures/your_forlder/texture_name
{
qer_editorimage textures/your_folder/texture_name.tga <--- missing this?
qer_keyword texture_category
surfaceparm alphashadow
{
...
Also, never forget that people don't want to explain every steps of everyting to everyone that asks for it so, use the "search" button and look for texture(s), sometimes it's faster, when you find what you need.

Posted: Fri Mar 25, 2005 12:52 am
by yodaman26
textures/bla/bla
{
qer_keyword m1
qer_keyword trim
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/bla/bla.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
i realize that people do not want to explain this to me, although i have searched for it on several differnet forums and nothing that helped me came up
Posted: Fri Mar 25, 2005 1:37 am
by Bjarne BZR
Dude, the german dog just explained it.

What your shader is missing is the line:
qer_editorimage textures/your_folder/texture_name.tga
...that is what tells Radiant what image to show in the texture browsing list. You can state the actual texture, or create a new, smaller texture to be shown.
Posted: Fri Mar 25, 2005 3:38 am
by yodaman26
um, ya, it still dont' work
Posted: Fri Mar 25, 2005 4:22 am
by Green Beret
go to the radiant prefrences and check mark the option
Show NoN shader images
that should do it

Posted: Fri Mar 25, 2005 4:22 am
by Green Beret
wierd. this should be the last post
well anyways just do as i posted above

Posted: Fri Mar 25, 2005 4:23 am
by Deutsche Dogge
yodaman26 wrote:um, ya, it still dont' work
Are the files in the paths specified in the shader file actually in those paths?
Are the files accessibles to Radient? in the mohaa/main directory?
i only see that
Posted: Fri Mar 25, 2005 12:32 pm
by yodaman26
that non-shader option did it, however, within mradiant it just looks like a non-texture or white, and when i test the map it looks like a non-textured item would. To answer the the other question, yes i believe the the files paths are correct and yes the files are accesible to mraidiant
NVM, the stupid problem was the format .TGA, (i thought it had to be .TGA because of nemesis's tut) i just switched it to .JPEG and it works fine, TY!!!!!!!!!
Another really quick question???...how come it's so zoomed in, (i got the image down to 256x256) i have a picture of a picture that i'm trying to put on the wall in my level, but like i said, the only thing visible is an enlarged part of the frame (of the picture)
Again, NVM i'm stupid, "fit to face"...arg i'm so dum
Posted: Fri Mar 25, 2005 6:17 pm
by Green Beret
hey it happens.probally to most of us when we first started out
