getting custom textures to work

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
yodaman26
Lance Corporal
Posts: 19
Joined: Tue Mar 15, 2005 11:46 am

getting custom textures to work

Post 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?
User avatar
Deutsche Dogge
First Lieutenant
Posts: 183
Joined: Wed May 07, 2003 11:50 pm
Location: Quebec
Contact:

Post 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. :)
Image
Click sig to visit the alternation modding community
yodaman26
Lance Corporal
Posts: 19
Joined: Tue Mar 15, 2005 11:46 am

Post 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
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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.
Admin .MAP Forums
Image
Head above heels.
yodaman26
Lance Corporal
Posts: 19
Joined: Tue Mar 15, 2005 11:46 am

Post by yodaman26 »

um, ya, it still dont' work
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

go to the radiant prefrences and check mark the option
Show NoN shader images
that should do it :wink:
Image
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

wierd. this should be the last post :roll:
well anyways just do as i posted above :P
Image
User avatar
Deutsche Dogge
First Lieutenant
Posts: 183
Joined: Wed May 07, 2003 11:50 pm
Location: Quebec
Contact:

Post 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
Image
Click sig to visit the alternation modding community
yodaman26
Lance Corporal
Posts: 19
Joined: Tue Mar 15, 2005 11:46 am

Post 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
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

hey it happens.probally to most of us when we first started out :wink:
Image
Post Reply