Page 1 of 1
custom textures
Posted: Fri Nov 14, 2003 6:01 pm
by il sniper
how can i make custom textures? i've tried to make a .jpg and a .tga files, i putted them into a new folder in the pak2.pk3\textures;
when i go into the MRad, i select the "custom" folder in textures, the program loads my files but i don't see them in the usual window so i can't use them.
the textures files should have particularly size , resolution , extension?
please help me and sorry for my bad english!
Posted: Fri Nov 14, 2003 6:14 pm
by silversound
Man I hope this doesn't come off rude......but there are so many custom texture tutorials out there. One on this site!. Not to mention a search of this forum would yield many many many many results.
Keep them in values of 8,16,32,64 ect pixels ect. Have you made a shader for them?
Posted: Fri Nov 14, 2003 9:32 pm
by smartaiguy
Also don't add anything to the pak files add them to a textures folder in the main folder
Posted: Sat Nov 15, 2003 3:38 pm
by il sniper
yes, i readed the old topics but my problem is to create the shader (if i tick the "show non-shader images" i see my files). thanks
Posted: Sat Nov 15, 2003 4:19 pm
by Krane
First of all don't put anything inside the pak2.pk3 file. Put your custom textures in main/textures/mymapname folder.
Now open Pak0.pk3. Inside the scripts folder, extract to your desktop and open misc_outside.shader and you will see something like this:
textures/misc_outside/bark_set1
{
qer_keyword tree
qer_keyword natural
qer_keyword flat
qer_keyword wood
surfaceparm wood
{
map textures/misc_outside/bark_set1.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
This is the shader. Now just change the parts to fit your map's name and directory. Like:
textures/mymapname/mypict
{
qer_keyword mymapname
qer_keyword wood
surfaceparm wood // or whatever
{
map textures/mymapname/mypict.tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Repeat the process for other textures in the lines to come.
Save as a text and change the name to mymapname.shader and put inside main/scripts folder.
In Radiant your textures are in "mymapname"...
Hope it helps.
Posted: Sat Nov 15, 2003 8:40 pm
by Axion
silversound wrote:Man I hope this doesn't come off rude......but there are so many custom texture tutorials out there. One on this site!
Actually, there isn't. When you click on the link for the custom texture tutorial, you are taken to a page that says it is coming soon.
Posted: Sun Nov 16, 2003 1:58 pm
by il sniper
thanks a lot!!!!!
Posted: Sun Nov 16, 2003 5:59 pm
by silversound
Posted: Mon Nov 17, 2003 6:25 pm
by il sniper
thanks! very useful the 3rd link