Problem with Doors

Avatar
jwien001
36 Posts
Posted Aug 25, 2009
So I'm kinda new to Hammer, but have been following the tutorials on the VDC Wiki. I created a button and door combo, which works perfectly except I can shoot portals through the door even when it's closed. Any idea what could be causing this? I compared my setup to a door in one of the in-game levels and all the properties for both the prop_dynamic and func_door line up exactly.
Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted Aug 26, 2009
Replied 5 hours later
Check the solidity of the door brush and/or the models. It sounds like you don't have a flag ticked or a property set.
Avatar
Mek
459 Posts
Posted Aug 26, 2009
Replied 3 hours later
Paint your func_door brushes with the nodraw texture and align them to block the space of the door.
I made that mistake in my map too, however, found out 6 months after releasing :confused:
Avatar
jwien001
36 Posts
Posted Aug 26, 2009
Replied 2 hours later
@msleeper - Like I said, I compared the properties and flags of my doors to those in one of Valve's levels and everything matched up. Any idea what I should be looking for specifically?

@Mek - Both func_doors are no_draw and centered in the doorway.

Avatar
Mek
459 Posts
Posted Aug 26, 2009
Replied 1 hour later
Yes, centered. But they must completely fill the "door hole" in the wall because they are solid - you can't shoot portals through them.
Avatar
jwien001
36 Posts
Posted Aug 26, 2009
Replied 50 minutes later
The func_doors now completely fill the door hole and portals still pass through. >.<
Avatar
WinstonSmith
940 Posts
Posted Aug 26, 2009
Replied 2 hours later
Copy everything except the door rig, paste in into a new map, and overwrite the original map with the new copy. Remake the door setup and see if it works; if it does, something just went wrong with the older VMF. If it doesn't, it's something else.
Avatar
jwien001
36 Posts
Posted Aug 27, 2009
Replied 23 hours later
I did exactly what you said. The only thing that changed was that now I can only shoot portals through the middle of the door, whereas before I could only shoot through the sides.
Avatar
jwien001
36 Posts
Posted Aug 27, 2009
Replied 48 minutes later
Hooray! It works now! Why? I have no idea. I just copied a door setup from a Valve level into mine, changed the names, and now it works. Thank you all for your suggestions though.
Avatar
pestchamber
614 Posts
Posted Aug 27, 2009
Replied 14 minutes later

jwien001 wrote:
Hooray! It works now! Why? I have no idea. I just copied a door setup from a Valve level into mine, changed the names, and now it works. Thank you all for your suggestions though.

You could download Ald?z' prefabs. There's alot of premade portal stuff there. Including doors, buttons, High-energy pellet launchers and much much more! Call now and we'll also throw in - Valve Hammer editor - The fan edition! Just call the number on your screen

222-The-Cake-Is-A-Lie-9001

Avatar
Stormrain
80 Posts
Posted Aug 27, 2009
Replied 44 minutes later

pestchamber wrote:
You could download Ald?z' prefabs. There's alot of premade portal stuff there. Including doors, buttons, High-energy pellet launchers and much much more! Call now and we'll also throw in - Valve Hammer editor - The fan edition! Just call the number on your screen

222-The-Cake-Is-A-Lie-9001

If you do this, try to make everything at least once of twice before using the prefabs. You won't learn much if you just prefab everything.

Avatar
pestchamber
614 Posts
Posted Aug 27, 2009
Replied 12 minutes later

Stormrain wrote:
If you do this, try to make everything at least once of twice before using the prefabs. You won't learn much if you just prefab everything.

Yeah.

Avatar
Siiig
98 Posts
Posted Aug 27, 2009
Replied 3 hours later

Mek wrote:
Paint your func_door brushes with the nodraw texture and align them to block the space of the door.
I made that mistake in my map too, however, found out 6 months after releasing :confused:

O hey I remember that!

I'm gonna have to start trolling both of these forums, because I like some of the people here.

Avatar
jwien001
36 Posts
Posted Aug 27, 2009
Replied 3 hours later
OK, problem not solved. So the same door that did not let portals pass before does now. The only thing I changed was I rotated the door and changed the movement directions of the func_doors to match, but now it doesn't work. Any ideas about how the movement direction of the func_doors affects the solidity of the door?
Advertisement
Registered users don’t see ads! Register now!
Avatar
jwien001
36 Posts
Posted Aug 27, 2009
Replied 8 minutes later
Nevermind, I fixed my own problem. Apparently the angle property of the func_door entity affects whether or not it repels portals. Who knew?

Please lock this thread before I noob something else up. =P