how can i do it? i have a tent wich i want players to be able shoot thru, but dont throw grenades, mortar, panzer etc thru it, and players shouldnt be able to walk on it (like its nonsolid)
clip missile but dont clip player?
how can something be nonsolid to a player but solid to a missile? Take a look at the common shaderfiles and see if there are flags you can make use of. Else I do not think there is a preset available.
I thought clip_missile only holds grenades/missiles and clip_weapon works against bullets. So maybe if you only do clip_weapon this will work?
If you made your tent out of brushes than this should work:
Use the shader below on one side of the brush only and use textures/common/clipmissile on the other 5 sides of the brush. This should clip players, grenades and panzers, but players will still be able to shoot through the tent.
textures/yourtenttexture
{
qer_editorimage textures/yourtenttexture.tga
cull disable
implicitMask textures/yourtenttexture.tga
}
yes, it’s out of brushes, but i do not want to clip players. players should be able to walk thru.
and maybe with more simple english…
players going thru = yes
missile going thru = negative
bullets from mp40, thompson etc = yes
If you only use a clip_missile doesn’t that work then?
so, using the shader of clip_missile but with a normal texture
Yes but clipmissile blocks player too. According to what I remember, you can’t do that in ET. But you can always try. This might be your only possibility in ET. See what happens if you remove the playerclip from:
textures/common/clipmissile
{
qer_trans 0.3
surfaceparm clipmissile
surfaceparm nodraw
surfaceparm nomarks
surfaceparm playerclip
surfaceparm trans
}
