custom textures

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

Moderator: Moderators

Post Reply
il sniper
Private
Posts: 5
Joined: Fri Nov 14, 2003 5:58 pm

custom textures

Post 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!
User avatar
silversound
Second Lieutenant
Posts: 167
Joined: Wed Jun 18, 2003 6:33 am
Location: West Seattle, WA, USA, Earth, Milky Way

Post 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?
PM me your tips of the day.

Image
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

Also don't add anything to the pak files add them to a textures folder in the main folder
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
il sniper
Private
Posts: 5
Joined: Fri Nov 14, 2003 5:58 pm

Post 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
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post 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.
Image
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post 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.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
il sniper
Private
Posts: 5
Joined: Fri Nov 14, 2003 5:58 pm

Post by il sniper »

thanks a lot!!!!!
User avatar
silversound
Second Lieutenant
Posts: 167
Joined: Wed Jun 18, 2003 6:33 am
Location: West Seattle, WA, USA, Earth, Milky Way

Post by silversound »

PM me your tips of the day.

Image
il sniper
Private
Posts: 5
Joined: Fri Nov 14, 2003 5:58 pm

Post by il sniper »

thanks! very useful the 3rd link
Post Reply