Hi people
i may find it hard to explain this but i try my best. I want to create a custom texture whereby parts on the texture have see through parts (not glass) but like railings.
Yes like the railings textures in Mohaa where by u got a metal post then a gap then a another metal post etc.
and one other question where is the stain glass church testure on the bridge i never found it.
thx 5
note i do know how to add normal custom textures.
Texture question
Moderator: Moderators
you need what's called an alpha channel and that's basically black/white image exactly as big as your texture where (i THINK) the black is see-through/shoot-throguh and white is solid. you could have anything in where the see-throguh is and it 'll just disappear for the shoot-through.
of course you need something special in the .SHADER, try cracking open a railing .SHADER and copy/pasting.
of course you need something special in the .SHADER, try cracking open a railing .SHADER and copy/pasting.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
Open photoshop if you have it. Create a new file and make sure you have transparent checked when you create the texture in the atributes window when you start. You'll notice that the blank area has smnall checkered grey and white boxes this is the see through area. Just create your texture like say a metal fence. When you save it make SURE you save it as a .tga file (targa) and make SURE its saved as 32 bit when it asks. Ok so this textures name is my textures name as illustrated below and the texture goes in a folder named of your choice like my textures folder and this folder goes in another folder called textures. Open notepad and place this on it. The goto save, go down below where it says save as .txt and change it to all files where the little arrow is. Now name the shader whatever you want but follow this rule. Name it say my shader.shader Don't forget the .shader after the name. This file goes in a folder called scripts in packscape and the my textures name goes in the my texture folder
When your all done save your pk3 as a quake pk3 not a .zip file lol and then put it in the main folder in mohaa
When your all done save your pk3 as a quake pk3 not a .zip file lol and then put it in the main folder in mohaa
Code: Select all
textures/my textures folder/my textures name
{
qer_keyword my texture
surfaceparm metal
//surfaceparm fence
surfaceparm trans
surfaceparm nomarks
cull none
nomipmaps
nopicmip
{
map textures/my textures folder/my textures name.tga
alphaFunc GE128
depthWrite
nextbundle
map $lightmap
}
}