|
Post by Mapping Help on Jun 12, 2013 4:36:07 GMT
Hi. I'm making a map and I would like to know how to make a garage door with a switch on the inside and outside of the building, I want the garage door to either go up and in the building or maybe curve up idk yet but I don't know how and was wondering if you could help, I was also wondering how to make a double door? any assistance would be appreciated thanks.
|
|
|
Post by Zeph on Jun 12, 2013 10:05:36 GMT
Moving up is easy - use a func_door. For curving, you're looking at a train of multiple segments along a path... Yeah...
The logic is also quite simple.
You have two buttons on either side of the door. They both point to a logic relay that toggles the position of the door.
The buttons: OnPress -> NameOfLogicRelay -> Trigger
The Logic_Relay: OnTrigger -> NameOfFuncDoor -> Toggle
For a double door, simply give them both the same name, and tick the flag "Reverse Direction" for one of the doors. When triggered, as they have the same name, they'll both open.
|
|
|
Post by Mapping Help on Jun 12, 2013 15:10:05 GMT
Thanks a lot! that really helped. Can you help walk me trough the garage door again in simpler terms lol. Can i make the door go up and then inside of the building easily? I think that would serfice in this situation.
Also got the double door working right away, who would have known it was that easy =D thanks.
|
|
|
Post by Zeph on Jun 12, 2013 15:47:16 GMT
Make a brush the size of your hole, but slightly thinner than the wall thickness. ctrl + T, pick func_door, click apply. Set it's "Move Direction" to "up" Set it's speed Set it's lip to either positive (to have a bit sticking out when open) or negative (to have the whole thing disappear into the wall). Avoid a zero value, as it'll clash with the brush above.
|
|
|
Post by Mapping Help on Jun 12, 2013 15:59:40 GMT
Thanks that really helped.
|
|
|
Post by Zeph on Jun 12, 2013 20:02:40 GMT
I'm pleased. You're welcome
|
|