Please or Register to create posts and topics.

Entrance and Exit Doors, and Elevator video

Page 1 of 2Next

Okay, So I'm making a level from scratch.

I've set up the arrival elevator already, and the next step I want to do is to add the door.

How do I set it to open? I think it has something to do with trigger brushes, but how about closing it behind the player? Correct me, but am I right in thinking of a trigger brush in front of and after the door?

Also, how do I get the rounded brush thingy that goes around the door? I've heard of a prefab, but where do I get that?

One more thing, how do I get the videos playing on the elevator? The developer wiki says just changing the $arrival_video variable (I changed it to media/turret_dropin.bik), but that didn't do shit. vgui_movie_display says the brush to contain the video has to be textured with elevator/elevator_screen, but clicking the brushes around the elevator just selects the entire func_instance.

Thanks for whoever will answer. Also, if anyone would be kind for me to add them on steam with these questions, that would be super.

Image
Shift: Trichotomy - Beginnings ? Prelude ? Denouement

Use a trigger_once brush, both before and after the door. Name the door, set the output of the trigger_once to

Before the door:
onStartTouch > door > open.

After the door:
onStartTouch > door > close.

I highly recommend that you watch some tutorials before trying Hammer out.

I like to recommend all new hammer users SolarChronnus youtube channel. I learnt all the basics so easily with those first tutorials.

For the round frame of the doors I'd suggest you to look into the included sample maps you have in the sdk_content folder.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Yes, I'm watching SolarChronus, and yes, I have almost all tabs of Valve's developer wiki open. Thanks for verifying what I thought I should do for the triggered doors, but I still have to figure out the elevator videos. I saw a video_frams.vmf in the elevator folders, does anyone know how to use it?

Image
Shift: Trichotomy - Beginnings ? Prelude ? Denouement

For my one way doors I use a trigger_multiple starting a couple of metres in front of the door and finishing perfectly in the doorway (so that it cannot be touched when the door closes). Outputs are:
OnStartTouch - door - Open
OnEndTouch - door - Close - 2.00 seconds.

That way the door opens as you approach it and closes as you move away, but closes behind you and remains closed after you've gone through it.

---------------------------
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------
Aicxe wrote:
Yes, I'm watching SolarChronus, and yes, I have almost all tabs of Valve's developer wiki open. Thanks for verifying what I thought I should do for the triggered doors, but I still have to figure out the elevator videos. I saw a video_frams.vmf in the elevator folders, does anyone know how to use it?

With the latest update DLC2, Valve changed one script that managed these videos. The result was that they broke the normal videos management; now they only work fine in the PTI maps that haven't been modified on hammer.

This was already discussed in another thread

There a quick workaround: you might modify the arrival and departure elevator instances to point to the old video_splitter.nut script in order to get your videos back :D

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
they broke the normal videos management; now they only work fine in the PTI maps that haven't been modified on hammer.

There a quick workaround: you might modify the arrival and departure elevator instances to point to the old video_splitter.nut script in order to get your videos back :D

Thanks, but I don't think I'll mess with what VALVe messed with for now. Heh.

Image
Shift: Trichotomy - Beginnings ? Prelude ? Denouement

If you just name your entrance door @entry_door it automatically opens, there's a trigger inside the entrance elevator already that does that ;)
Then you only need another trigger_once after the elevator to close it again.

Aicxe wrote:
Thanks, but I don't think I'll mess with what VALVe messed with for now. Heh.

I could modify the instances for you and post them here this evening (Spanish time :D): I will try them to make use of the old script located into portal2/portal2/scripts/vscripts instead of the portal2_dlc2/scripts/vscripts folder... Don't really know if I could achieve that though.

Maybe the other way would be to rename the old script, make the elevator instances use it and then distribute the script along with your map so the players need to place it in the dlc2 folder, or maybe pakrat it into the bsp... but that would be the plan B :roll:

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

It works best to just rename the old one to video_splitter_bsp.nut or such, then point at that.

Falsi sumus crusto!
Page 1 of 2Next