| Author |
Topic: Glass makes Walls see through |
| ToXiCuR3 |
 |
General Member Since: May 27, 2011 Posts: 10 Last: Sep 24, 2012 [view latest posts] |
|
|
|
|
| cskiller86 |
 |
General Member Since: Nov 23, 2009 Posts: 528 Last: Oct 25, 2011 [view latest posts] |
|
|
|
|
| Sevenz |
 |
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
|
|
| ToXiCuR3 |
 |
General Member Since: May 27, 2011 Posts: 10 Last: Sep 24, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Friday, May. 27, 2011 04:09 pm |
 |
cskiller86 writes...Quote: How do you make your glass ? Do you texture every face of the brush with the glass texture or do you texture only the visible sides and caulk the rest ?
I remember I had this problem also and I used one of the two methods and fixed it. Can't remember which of the two is the solution, though (and I don't have the tools installed).
Also, is the glass brush the exact size of the hole in the wall or is it slightly bigger ? I think it has to be the exact size, so that the glass brush doesn't pass through the wall.
I'm using the glass texture called "com_glass_clear". yes it is the exact same size of the window hole, the only difference is that the glass brush is thinner than the wall. I tried all the sides in that texture, just one and the rest caulk, two sides glass and the wall-touching sides in the same texture as the wall. None of that worked.
Sevenz writes...Quote: it's either the caulk texture or the cullFace property of the glass material (you may create your own with cullFace none)
Caulk didn't work unless i did it wrong. What is the cullFace property??
Thank you both for your answers. ![[thumbs_up]](images/BBCode/smilies/thumbs_up.gif) |
 |
|
|
| Sevenz |
 |
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
|
|
| ToXiCuR3 |
 |
General Member Since: May 27, 2011 Posts: 10 Last: Sep 24, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Friday, May. 27, 2011 05:28 pm |
 |
Sevenz writes...Quote: okay, try this:
front and back - glass texture
sides - nodraw
you should also try other glass/transparent textures!
The "nodraw" worked perfectly thank you a million!! ![[thumbs_up]](images/BBCode/smilies/thumbs_up.gif) |
 |
|
|
| maedhros89 |
General Member Since: Mar 5, 2012 Posts: 6 Last: Aug 19, 2012 [view latest posts] |
|
|
|
|
| Sevenz |
 |
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
|
|
| scillman |
 |
General Member Since: Nov 23, 2006 Posts: 360 Last: Sep 1, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Friday, Mar. 16, 2012 12:58 pm |
 |
maedhros89 writes...Quote: Hi, I have the same problem, with a little add:
nodraw works perfectly, but I can't have any bullet impacts when I shoot directly on the glass brush.
I have tried different nodraws tex (nodraw_decal, nodraw_notsolid, nodraw_glass) with any result.
I really hope somebody can help me, it's driving me crazy!
thx a lot
nodraw - This makes it non-solid
nodraw_glass - This makes it like glass, you can shoot through(like walls) but not walk through.
Always use nodraw_glass in this case! |
 |
|
|
| maedhros89 |
General Member Since: Mar 5, 2012 Posts: 6 Last: Aug 19, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Friday, Mar. 16, 2012 02:50 pm |
 |
scillman writes...
nodraw - This makes it non-solid
nodraw_glass - This makes it like glass, you can shoot through(like walls) but not walk through.
Always use nodraw_glass in this case!
Sevenz writes...Quote: How did you compile map lighting?
On "fast", bullet impacts won't show, untick it for normal lights or tick "extra"
I have tried all this, with any result..maybe I made some mistakes with brushes
structure, I'll check this out.
Anyway, I changed texture and it works! Not the textures I want, but can work for now.
thx a lot to everyone! |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|