i tried everything


(heyhey) #1

hello.

I tried everything i found around the mapping forums to try to solve my problem :

the famous yellow and black textures.

Tried this :

  • converted images to TGA.

  • resized to a multiple of 128

  • paked the files into pk3 and use pure server

  • removed all the shaders but two (sky shader and custom texture one / to be sure there aren’t bad ones)

the textures shows fine in GtkRadiant, but not in ET.

so any help would be so much appreciated :bored:


(Lightning) #2

Make sure your shader file is in the etmain/scripts folder and that your textures are in the folder specified by your shader file. It also might help if you posted your shaders here so we can check them for mistakes.

  • resized to a multiple of 128

It doesn’t have to be a multiple of 128 but it must be a power of 2, for example 2^2=2 or 2^3=8.

  • converted images to TGA

Make sure they end in .tga even if they are jpegs.


(heyhey) #3

Make sure your shader file is in the etmain/scripts folder and that your textures are in the folder specified by your shader file. It also might help if you posted your shaders here so we can check them for mistakes.

if the textures weren’t at the good place, i think they wouldn’t load when i use the shader in GTKRadiant :slight_smile:

I tried with just one shader a few minutes ago. basic. I didn’t used the sky shader, just to be sure :slight_smile:

here it is

textures/mydiv/27350
{
qer_editorimage textures/atex_div/27350.tga
surfaceparm metalsteps

{
	map $lightmap
	rgbGen identity
}
{
	map textures/atex_div/27350.tga
	blendFunc GL_DST_COLOR GL_ZERO
	rgbGen identity
}

}

Make sure they end in .tga even if they are jpegs.

perhaps you meant : in shader file.

yes that’s what i did. Sometimes, using .tga in the shader file, even for a jpg file works better, that’s what i noticed, too.

EDIT : also i removed all the custom maps from the etmain folder.


(heyhey) #4

also there is the “metal” sound when i shoot in the custom material.

Proof that the “metalsteps” paramater is okay, and that the shader is correctly loaded (well, but the texture :))


(SCDS_reyalP) #5

look in the et console for error messages, that will often give you a hint.


(heyhey) #6

THAAAAAAAAANKS !!!

dam

i found the pb

WoO !!

i spent SO MUCH time on this problem, for a stupidity. If i had just took a look at this console window…

i feel a bit stupid right now :smiley: