I need help... (again)

Smitty #1

L1: Registered
Jul 1, 2019
17
0
Can someone explain to me how to make these yellow one-way prop doors? This is literally the only thing preventing me from uploading my first map.

133360-587a17be9759afa722732e2023f0245f.jpg
 

Smitty #1

L1: Registered
Jul 1, 2019
17
0
Oh wow, ok it's basically just that yellow gate that you can find on Swiftwater a lot.
 

Narpas

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
I've always just copied it from the decompiled version of Dustbowl
 

OctoBlitz

Sabotage related, and Tak approved!
aa
Jan 15, 2016
357
193
If you have the Ultimate mapping resource pack from A boojam snark press :entitytool: then on the right under Catagories, choose the doors prefab and select a setupgate door. Change the Select option on the top right to "objects" and disable props in the visgroups tab, then rename each of the doors (example Onewaydoor_top for the top door and Onewaydoor_bottom for the bottom door) and go into the outputs for each door and delete the "On fully open, Kill" output. Then using :brushtool: use the trigger texture as you would a regular door and make it a Trigger_multiple entity, then put in the regular outputs for a door, just instead of listing each door's name, list it as "Onewaydoor_*" the * at the end targets all entities with that name. then just move the trigger to one side to allow only that side to open the door. I can provide images if you do not understand what I am saying.
 

Box Of Paper

L3: Member
Jul 15, 2019
111
142
I created a map with an example of one-way door.

You basically need to parent the prop_dynamics to func_doors (with "Render mode" set to "Dont Render"),
and create two trigger_multiple:
- One that opens the gates, which mustn't extend beyond them [OnStartTouchAll PropDoor Open]
- And one that closes the gates which extends a little bit beyond them [OnEndTouchAll PropDoor Close]
It isn't necessary to separate the outputs, but this way prevents the player from getting stuck.
 

Attachments

  • One-way prop door.vmf
    33.8 KB · Views: 141

Smitty #1

L1: Registered
Jul 1, 2019
17
0
Ok, here is the problem, I need two of those doors in my map. And no matter what I do with the second door it keeps breaking in different ways.

btw. I really appreciate the map you made to help me.
 

Box Of Paper

L3: Member
Jul 15, 2019
111
142
You're welcome :)

I'm not sure of what's breaking the second door, I'd suggest checking the trigger_multiple's outputs and the func_doors' properties for wrongly setup targetnames;
also check if the prop_dynamics are parented with the right door.
If you have used * in the outputs like I did, make sure that the prefixes are diffrent for each gate, alternativly setup the trigger_multiples to open and close the doors you want to (using their full name).
 

Smitty #1

L1: Registered
Jul 1, 2019
17
0
I FUCKING DID IT!!!
Thanks, to everyone who helped! Koth_construct_a1 will probably release next Friday!
I'm just so relieved that this is over.
 

Smitty #1

L1: Registered
Jul 1, 2019
17
0
...
Yep... I added the doors to my map... and they didn't work...


GODDAMMIT I HATE YOU HAMMER!!!!!!!!!!!!!
 

Smitty #1

L1: Registered
Jul 1, 2019
17
0
Yes, but when I get close to the doors in-game they make a closing noise and they just don't open.
 

RevolutionTeam

L4: Comfortable Member
May 19, 2019
173
45
Ok, here's the best way to do the one way door.

ONE WAY DOORS:

STEP ONE - Create a brush (preferably translucent texture)

STEP TWO - Make the brush a func_door

STEP THREE - Make the func_door's speed 300, set the move direction to up, and name it "onewaydoor_top" (Remember the lip!)

STEP FOUR - Clone the door to the bottom, rename it "onewaydoor_bottom", and change the move direction to down.

STEP FIVE - Add a trigger that only triggers from the back, and do the "OnStartTouchAll" and "OnEndTouchAll" stuff.

STEP SIX - Add two prop_dynamics, sharing the names of the doors with "_prop" at the end, and parent them to their respective doors.

Congrats! You just made a one way door on a KotH map! Why did you even need it?​
 

Smitty #1

L1: Registered
Jul 1, 2019
17
0
How can I get one brush to move to the right and the other to move to the left?

Q: Why did you even need it?
A: I just need them.
 

RevolutionTeam

L4: Comfortable Member
May 19, 2019
173
45
Set the move direction to Left (relative to your "Top (X,Y)"), and vice-versa.
 

RevolutionTeam

L4: Comfortable Member
May 19, 2019
173
45
Unless you're trying to do something like Dustbowl, then one-way doors aren't desirable.
 

AsG_Alligator

qhull precision error
aa
Aug 5, 2016
595
1,191
Doors in general (outside of spawn doors obviously) are undesirable - they create really awkward gameplay around them. Running up to a door and getting a faceful of sentry rockets at point blank after the door reveals theres a lv3 behind it is not fun.
 

RevolutionTeam

L4: Comfortable Member
May 19, 2019
173
45
That's why you use setup doors, so that you can see what the hell is next.