How to make one way glass

How to make one way glass

Re: How to make one way glass Posted by Kittamaru on Wed Sep 6th 2006 at 11:07pm
Kittamaru
13 posts
Posted 2006-09-06 11:07pm
13 posts 11 snarkmarks Registered: Aug 7th 2006
I used to have a tutorial on one way glass... but I can't find it. Anyone have any ideas?

NOTE: It HAS to be HL1 compliant.
Re: How to make one way glass Posted by Captain P on Thu Sep 7th 2006 at 1:29pm
Captain P
1370 posts
Posted 2006-09-07 1:29pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Use the NULL texture on one side and a glass texture on the other side. Can be used for walls just as well, though I doubt if players will like being shot at without seeing where the fire came from. :wink:
Create-ivity - a game development blog
Re: How to make one way glass Posted by Kittamaru on Thu Sep 7th 2006 at 5:10pm
Kittamaru
13 posts
Posted 2006-09-07 5:10pm
13 posts 11 snarkmarks Registered: Aug 7th 2006
doesn't work, it seems to break the map in that you can see outside of
it. It's like the compiler takes the null texture and spreads it beyond
where it's supposed to be. I've tried adding in trims and such, but no
dice :sad:
Re: How to make one way glass Posted by Pvt.Scythe on Thu Sep 7th 2006 at 6:31pm
Pvt.Scythe
730 posts
Posted 2006-09-07 6:31pm
730 posts 113 snarkmarks Registered: Sep 19th 2004 Occupation: student Location: Finland
Make a func_wall entity from the window you want to use as a one way window then apply the null texture to the side you want to be see through. You can also use the 'invisible'
texture(completely blue). Also if you want the other side to be window
like you can make a nother func_wall that has the values you want for
the window.
''Everyone wades in s**t until they're competent enough to walk on it. Jesus style.''
Dystopia - Empires
Re: How to make one way glass Posted by Captain P on Thu Sep 7th 2006 at 11:20pm
Captain P
1370 posts
Posted 2006-09-07 11:20pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Sounds indeed like you didn't use it on an entity - I guess I had to say that in my previous post.

But, if you did apply it to an entity surface, can you describe exactly what you've been doing?
Create-ivity - a game development blog
Re: How to make one way glass Posted by Unbreakable on Mon Sep 11th 2006 at 5:56pm
Unbreakable
56 posts
Posted 2006-09-11 5:56pm
56 posts 16 snarkmarks Registered: May 26th 2005 Occupation: Cook Location: Canada
Actually guys alot of times the null texture causes a HOMing effect. So you should use {blue texture and make the rendermode Solid, ad RenderEffect 255.
Re: How to make one way glass Posted by Pvt.Scythe on Mon Sep 11th 2006 at 6:16pm
Pvt.Scythe
730 posts
Posted 2006-09-11 6:16pm
730 posts 113 snarkmarks Registered: Sep 19th 2004 Occupation: student Location: Finland
Actually guys alot of times the null texture causes a HOMing
effect. So you should use {blue texture and make the rendermode Solid,
ad RenderEffect 255.
No HoMM if you use it with entity. :smile: And you have to use it with
entity for to use {blue(the texture I referred as 'invisible' before as
I had forgotten its name). :smile: Trust me I've done this plenty of times.
:biggrin: There's even a working one way window in my cs_block maps toilet. :razz:
''Everyone wades in s**t until they're competent enough to walk on it. Jesus style.''
Dystopia - Empires