windows bulletproof
Moderator: Moderators
windows bulletproof
I need some help on making my windows bulletproof
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
- williewisp
- First Lieutenant
- Posts: 208
- Joined: Fri May 16, 2003 1:10 pm
- Location: ireland
thanks for the help, but i figured it out
This is what i had to do
textures/barracks/window22
{
qer_editorimage textures/barracks/window22.tga
qer_keyword window
surfaceparm nodamage
qer_keyword glass
surfaceparm glass
// cull none
{
map textures/barracks/windowshadow22.tga
tcgen environment
alphagen const .2
blendFunc blend
}
{
map textures/barracks/window22.tga
// blendFunc blend
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
}
}
//-----------------------------------------------------------------------
i had to ad surfaceparm nodamage
textures/barracks/window22
{
qer_editorimage textures/barracks/window22.tga
qer_keyword window
surfaceparm nodamage
qer_keyword glass
surfaceparm glass
// cull none
{
map textures/barracks/windowshadow22.tga
tcgen environment
alphagen const .2
blendFunc blend
}
{
map textures/barracks/window22.tga
// blendFunc blend
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
}
}
//-----------------------------------------------------------------------
i had to ad surfaceparm nodamage
-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
