Bulletclip...


(Flippy) #1

Hey

i need a brush which clips BULLETS (panzers, grenades, everything that can hurt you) but NOT movement…

actually the inverse of the Clip texture… (clip stops movement but not bullets… i need it the other way around…)

anyone know how to do this?

thnx…


(kamikazee) #2

Tried the Clipweapon shader from the common folder?


(psyco_mario) #3

that blocks players doesnt it?


(Shaderman) #4

Yes it does. You need a shader with surfaceparm nonsolid. Look at the clip shaders in common.shader and you’ll get an idea what else you need.


(psyco_mario) #5

:slight_smile:


(Flippy) #6

Hm i tried doing this already but when i added the surfaceparm which clips weapons (cant remember the name atm…) it also clipped me… maybe i did something wrong… ill try again tonight


(Shaderman) #7

This one should work:

textures/somewhere/clip_special
{
	surfaceparm clipmissile
	surfaceparm nodraw
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
}

(Flippy) #8

ok i just found “clipshot” … guess i didnt look properly but it seems to be what i need…
will test it now, and ill also test your’s shaderman…

Clipshot:

textures/common/clipshot
{
	qer_trans 0.3
	surfaceparm clipshot
	surfaceparm nodraw
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans

EDIT

both didnt work… :frowning: i could shoot through them…


(EB) #9

Not possible without a hard code re-write. Afterall, how is something supposed to stop bullets and weapons but not collide with anything else in the map ?
Lamens terms = collision fields…

…alot of requests for this, in the past.

You could do something like this with scripting:
A trigger area would alert a clip brush to disappear and then return.