Please or Register to create posts and topics.

Problem with Doors

Page 1 of 2Next

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.

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.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

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 :?

Test Chamber 74:
(percentage calculation sphere self-test failed!)
108.1% done, -8.1% remaining...
Released here!

All maps for Portal (1/2) worth playing are mirrored here.

@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.

Yes, centered. But they must completely fill the "door hole" in the wall because they are solid - you can't shoot portals through them.

Test Chamber 74:
(percentage calculation sphere self-test failed!)
108.1% done, -8.1% remaining...
Released here!

All maps for Portal (1/2) worth playing are mirrored here.

The func_doors now completely fill the door hole and portals still pass through. >.<

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.

Image
Now with 100% more inline comments!

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.

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.

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

Page 1 of 2Next