Non-Shoot through glass.
Moderator: Moderators
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Lizard! You're back! 
Let me clarify something: func_window is just an entity that takes damage and is removed when its health is equal or less than zero, optionally substituting it with another entity (i.e. a brush with broken window texture). A func_window entity is not necessarily shoot-through - it's the shader that determines if it is or not.
And yeah, that nodamage + weaponclip surfaceparm should work.
Let me clarify something: func_window is just an entity that takes damage and is removed when its health is equal or less than zero, optionally substituting it with another entity (i.e. a brush with broken window texture). A func_window entity is not necessarily shoot-through - it's the shader that determines if it is or not.
And yeah, that nodamage + weaponclip surfaceparm should work.
That didn't work either.
If you notice, while testing maps trying to stop hackers from hacking on your map (like shooting through black windows, shooting through lamps n stuff) the black windows are actually world spawns and not func_windows!
So by ultimatly creating a "worldspawn" and not a func_window they will be able to shoot and kill through it. Because with a black window you can shoot through walls and kill people just by shooting throught he window.
Ex.
| | 0
1 2 3
1: window
2: wall
3: enemy
You can shoot through the black window, go through the wall, and kill your enemy. So I'm not sure without a func_window that you can actually stop your bullet.
So do you figure if I use a func_window and make it 9999 health, and then do the surface parm of weaponclip and nodamage that it would stop it?
If you notice, while testing maps trying to stop hackers from hacking on your map (like shooting through black windows, shooting through lamps n stuff) the black windows are actually world spawns and not func_windows!
So by ultimatly creating a "worldspawn" and not a func_window they will be able to shoot and kill through it. Because with a black window you can shoot through walls and kill people just by shooting throught he window.
Ex.
| | 0
1 2 3
1: window
2: wall
3: enemy
You can shoot through the black window, go through the wall, and kill your enemy. So I'm not sure without a func_window that you can actually stop your bullet.
So do you figure if I use a func_window and make it 9999 health, and then do the surface parm of weaponclip and nodamage that it would stop it?
(\_/)
(O.o) This is Bunny. Copy Bunny
(> <) to help him achieve world domination.
It's a glass window that you can see through but not shoot through.
then do this......................
START WITH A NEW PIECE OF GLASS..... GLASS CAULK.... not a window texture
Make a pane of glass using the glass texture from the common texture file.
With the pane of glass selected, hit "s" to bring up the surface inspector.
PUT a CHECKMARK in the boxes labled "NODAMAGE" and "weapon clip"
no checks in any other boxes................
Hit apply and ok... DESELECT the glass texture, save, recompile map.
You CANNOT shoot through it, but you can walk through it.
then do this......................
START WITH A NEW PIECE OF GLASS..... GLASS CAULK.... not a window texture
Make a pane of glass using the glass texture from the common texture file.
With the pane of glass selected, hit "s" to bring up the surface inspector.
PUT a CHECKMARK in the boxes labled "NODAMAGE" and "weapon clip"
no checks in any other boxes................
Hit apply and ok... DESELECT the glass texture, save, recompile map.
You CANNOT shoot through it, but you can walk through it.
Awesome, I'll try that in a bit.
I made sliding glass doors, where they slide upwards.
I noticed the problem of walking through them, I simply applied a caulk brush (the same size as the door). Selected the glass brush, the caulk brush, and the origin brush made 'em func_door, angel -1, speed 75 and it worked like a charm.
So I figure if I do the "glass" caulk, then do my glass pane with the surface parm, then slide in a layer of caulk I should be able to stop people from walking in and out really easily.
I made sliding glass doors, where they slide upwards.
I noticed the problem of walking through them, I simply applied a caulk brush (the same size as the door). Selected the glass brush, the caulk brush, and the origin brush made 'em func_door, angel -1, speed 75 and it worked like a charm.
So I figure if I do the "glass" caulk, then do my glass pane with the surface parm, then slide in a layer of caulk I should be able to stop people from walking in and out really easily.
(\_/)
(O.o) This is Bunny. Copy Bunny
(> <) to help him achieve world domination.
Ok I ran into a problem.
I did the glass "caulk" as you said.
Then I did the glass. I hit "s" selected NODAMAGE and WEAPONCLIP.
I saved, recompiled, and played it, didn't work.
I then checked my map in mohradiant, and clicked "s" on the glass texture (not caulk) and my checkmarks are gone.
grr...
I did the glass "caulk" as you said.
Then I did the glass. I hit "s" selected NODAMAGE and WEAPONCLIP.
I saved, recompiled, and played it, didn't work.
I then checked my map in mohradiant, and clicked "s" on the glass texture (not caulk) and my checkmarks are gone.
grr...
(\_/)
(O.o) This is Bunny. Copy Bunny
(> <) to help him achieve world domination.
Ok, now I noticed something else, if I select the glass "caulk" then deselect, then select my glass texture, and hit "s" the checks also go away.
Why is this?
***EDIT***
Ok I figured out the mohradiant thingy I was talking about, but the shit still don't work. My glass texture does have the both clicked... wtf
Why is this?
***EDIT***
Ok I figured out the mohradiant thingy I was talking about, but the shit still don't work. My glass texture does have the both clicked... wtf
(\_/)
(O.o) This is Bunny. Copy Bunny
(> <) to help him achieve world domination.
My god!
Oh my god! Did no one think of using a "Weapons Clip" textured brush? If it were me, I would use a thin brush and texture it with common/weapons clip. And then stick it inside a thicker glass brush. That way, you would still see the bullet marks, but none would get through. There is also a glass clip texture, but I can remember if it stops bullets -- it does cause sounds and glass fragments when shot.
Last edited by tltrude on Thu Jun 29, 2006 7:18 pm, edited 1 time in total.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Ok, I did do as you said and hit apply... both of those are checked.
Yesterday I did a thin layer of glass, then a weapons clip in the middle, the glass on the other side.
What I possibly shout do is do the thin layer of weapons clip then do the large glass, then do weapons clip on the other side, I'll do this then post.
Yesterday I did a thin layer of glass, then a weapons clip in the middle, the glass on the other side.
What I possibly shout do is do the thin layer of weapons clip then do the large glass, then do weapons clip on the other side, I'll do this then post.
(\_/)
(O.o) This is Bunny. Copy Bunny
(> <) to help him achieve world domination.
Ok
Well I read it all again and you guys are talking about changing surface parameters and shaders, when all he needs to do is add a clip brush. That is what the clip textures do, block things!


