Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to Jongmeister, our newest member!


Site Stuff






Feeling Blue

What's your favourite shade of blue?














2 mins


13 mins


40 mins


54 mins


1 hours

Soup Miner

1 hours


1 hours



A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

Glass Doors Testing

Map Vault > Problem Maps

map screenshot

star star star star star
No votes yet

[More Screenshots]


By MMProductions (See more)
16th November, 2014

Hosted Externally - Nothing included

Last edited: Never


My first test map posted here for Counter-Strike.

I'm developing my debut Counter-Strike/Valve maps on Valve Hammer Editor 3.5, but I found an curious bug on one of them.

I'm currently testing an example of two sliding doors with dark glass windows. One of them opens only with a button, while the other one not.

When both of them close, their glass windows doesn't be aligned correctly.

Apart from this weird bug, the map was compiled and it worked correctly without any flaws. So, here it is. Feel free to download and test it :p


avatar Jessie says: 16th November 2014, 22:44 PM
I've always set up my glass doors with a trigger multiple and a multimanager, I think. I'mma have a look at this when I don't have an exam I have to get to.
avatar MMProductions says: 16th November 2014, 22:56 PM
Hum, right, Jessie. Thanks for commenting here :p

I've used trigger_multiple on my glass doors too and they worked correctly, as I said above.

The only thing I should fix is this annoying glass bug on the door. Apart from that, this map is working flawlessly.

It's because I'm developing my debut Counter-Strike maps. I'll just do 5 maps, for the time being, due to my personal life issues and lack of time.

By the way, I'm planning around 30 maps, for Half-Life, Counter-Strike, GoldSrc engine and the Source engine.

Anyway, thanks for commenting here ;)
avatar Captain Terror says: 16th November 2014, 23:07 PM
If what you were saying is the transparent glass window doesn't close at the same time as the other door, try attaching invisible clip brushes to the transparent door(so it's the same width as the actual door), and they will slide at exactly the same time.

If you're saiying you don't want that edge sticking out of the door jamb, try adding negative Lip, e.g., a value of -5.

Anyhow, Welcome to TWHL! =P
avatar MMProductions says: 17th November 2014, 00:40 AM
Thanks, C. Terror :p

The problem is: what entity I'll give to the "clip" blocks (brushes)?
avatar Captain Terror says: 17th November 2014, 01:09 AM
Make them part of the window, i.e. select the CLIP(s) and func_door, Ctrl+t to attach them.

BTW use may want to use NULL instead of CLIP, else you may get a compile error; VHLT33 will allow you to use CLIP brushes as part of entities, ZHLT3.4 will not, so use CLIP with VHLT, and NODRAW with ZHLT ;)
avatar Jessie says: 17th November 2014, 08:12 AM
I'm not seeing the problem, and the values look fine. Did you already fix it?
avatar Tetsu0 says: 17th November 2014, 15:23 PM
You might try adjusting the LIP setting to make up for the gap between the glass and the frame
avatar MMProductions says: 17th November 2014, 17:41 PM
Thanks for replying here :p

I already fixed it, but the problem remains there :(
avatar TJB says: 18th November 2014, 08:43 AM
I'm not on my computer at the moment, so I can only guess what exactly the problem is from the comments, but it sounds like you have the window brush and the door brush at different widths. The way that the game engine figures out how far each door is supposed to travel is based on how wide the brush is. So for the window to line up with the door whether it's open or closed, you have to make the window entity the same width as the door entity. Since doing so by just making the brush wider could lead to ugly texture problems at the door edges, the way Captain Terror suggested is to extend the width with clip brushes, like in the picture.
User Posted Image
The clip brushes should be tied to the same entity as the window brush, so in total you would still only have two door entities. This can be done by creating the clip brushes, selecting them and the glass, and clicking 'Tie to Entity'. This will open a little window saying that one of them is already tied to an entity, and do you want to just add the selection to it. Click yes, then it should work fine.
avatar Jessie says: 18th November 2014, 10:07 AM
"I already fixed it, but the problem remains there"
I suppose your dream smash as well.

Anyway, seemed to be fine on my end.
avatar MMProductions says: 18th November 2014, 17:43 PM
Thanks for replying here, folks! You're helping me a lot! :p

TJB, I'll try to put clip brushes on my glass doors, and I'll see if they work correctly.

By the way, what's the entity name I'll give to clip brushes?
avatar Jessie says: 19th November 2014, 00:45 AM
The glass and the clip would be the same entity, methinks.
avatar Captain Terror says: 19th November 2014, 07:35 AM
avatar TJB says: 20th November 2014, 18:16 PM
You must be logged in to comment.