Page 1 of 1
How do you make your own texture for maps?
Posted: Thu Oct 31, 2002 8:13 pm
by Danny
Im trying to make a texture, i want to take one of the wall textures and put my name and my friends name on it so it'll be in the map im building, also how do you make your very own texture from scratch? Like if i were to use a picture i found on the net, how would i incorporate that into a texture that could be used as a texture in my map? Any help that could be offered would be great. Thanks.
Posted: Sat Nov 02, 2002 3:42 am
by : )
Ok first things first, convert the picture you made or picture you got off the net to a .tga format. Most image editing programs have a file converter. Put it into a folder called whatever you want. Put that folder in a folder called textures.Then copy this into notepad:
Code: Select all
textures/mytextures/picture //this is the path to your .tga file
{
qer_keyword rock // This is the type of texture
qer_keyword wall // This is the type of texture
surfaceparm sand // THis is the debris type when you shoot the texture.
{
map textures/mytextures/picture.tga //this is the full path to the texture
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
The lines after a // just explain. you can delete them if you wish.
Then save that as picture.shader (picture being replaced with what you called texture. Then make a .pk3 (if you want) or place all of the folders in main. Hope this helped!

Thanks soo much ;o)
Posted: Sat Nov 02, 2002 11:25 am
by Danny
Thanks for your help, very very much appreciated