Page 1 of 1
glass
Posted: Sun Aug 31, 2003 12:39 am
by chad
hey pplz i just wanted to know if i make my own window frames is the a glass texture i can use in them. but i still want the glass to be able to brake
Posted: Sun Aug 31, 2003 7:18 am
by rOger
No there is not a glass only texture. Most just scale one with frames up so that the frame doesn't show. this is however less optimal if you need the glass to break. I would suggest that you make your own texture, or two of them one whole and one broken.
Posted: Sun Aug 31, 2003 8:35 am
by Major Pain
Or you select a window with transparent glass, and then enlarge the brush till your whole window is covered with that glass. Then return the size...
glass
Posted: Sun Aug 31, 2003 10:10 am
by chad
thanks for your help ppl but how would i go about making my own textures and putting then into the maps
Posted: Sun Aug 31, 2003 4:30 pm
by rOger
In pak0 there are .shader files in the scripts folder and in pak2 there are .tga and .jpg files that combined becomes textures. Find a window texture that you know works, and look how the shader for that texture is written, and write one for your self. Open the tga file in Photoshop or any other paint program that supports the tga file format and alpha channels. Look at how they made the two window textures, one whole and one broken, and make one much like that without a frame.
Place you shader file in main/scripts/, and your textures in main/textures/[insert name here]/ . Name your folder to the same as you shader file for convenience.
If you don't understand all the lines in the shader try searching for Q3shader manual at google.com.