Shooting through


(Yorrick) #1

How do you make a brush able to get shot through. Is there a way to make this without being able to walk through that brush.


(|WF|Doofy) #2

maybe texture it “clip” from all sides, except one with actual texture, so u should prolly be able to shot through but not walk
or u could also work on shader of texture, just look on parameters of scripts/common/clip


(Wezelkrozum) #3

This shader will do the trick:


<path of texture>  //example: textures/common/clip
{
	surfaceparm nomarks     //no marks will be drawn when somebody shoot through the brush
	surfaceparm nonsolid     //you can walk through the brush and nothing can hit it
	surfaceparm playerclip    //a player can't walk through the brush
}