Page 1 of 1

Shooting through a solid texture?

Posted: Sat Oct 04, 2003 5:03 pm
by Ramah Palmer
Ok, I've got an idea where I want some air ducts that go along the ceiling in some rooms but I want to be able to shoot throught them so any defender that hears someone iside them can lett off a volley of bullets into them. Now I assume I can do this by making the texture non_solid and then turning on the player_clip property? But this would mean that nades would fall through it right?
So what I want is a solid texture with no alpha channel that can be walked upon, does NOT let nades through it, but can be shot through (and hopefully leave bullet marks).
Is this possible? :?

Thanks in advance.

Shader

Posted: Sat Oct 04, 2003 5:15 pm
by tltrude
You will probably have to make a new texture shader file for that one. It can be set to allow bullets and not projectiles (granades are projectiles). You can also have it leave marks (bullet holes) and still allow the bullets to pass through. A shader for a steel grate might be the place to start.

Posted: Sun Oct 05, 2003 12:22 pm
by Ramah Palmer
Ok, thanks for the answer TL, I've looked at a few shaders but I still cannot figure out how to make this work.
What is the syntax for the no projectiles?

surfaceparm projectileclip ?

The only relevant code I can find in any shader is weaponclip. But obviously this would stop all weapons.

The steel grate textures all seem to work on the alphashadow channel to allow bullets through and do not use a weaponclip. Just a playerclip and monsterclip.

Sorry to bug you about this. :oops: