Elevator level change problem Created 18 years ago2006-06-18 01:33:41 UTC by srry srry

Created 18 years ago2006-06-18 01:33:41 UTC by srry srry

Posted 18 years ago2006-06-18 01:33:41 UTC Post #185571
Okay, so I'm trying to make a level change in an elevator, but I'm running into some problems...

I have the normal setup with a trigger_changelevel and an info_landmark. You shouldn't be able to change levels unless you're inside the elevator with the doors closed, so I put a trigger_transition inside it, gave it the same name as the trigger_changelevel, and had one of the elevator doors "fire on close", triggering the trigger_changelevel (but it should only work if I'm standing in the trigger_transition, right?). The elevator door has its "toggle" flag set, so I have to press the button inside or outside the elevator again to get it to close.

Now, this would all work fine, if the map wouldn't change when I'm still outside the elevator. The way it is, it's almost as if the trigger_transition isn't even there. The map will just change whenever the elevator door closes, no matter if you're inside it or not.

So, do you see any problems with the setup? This is the first time I've attempted using a level change of this sort, so I'm sure there's got to be some mistake in there, right?
Posted 18 years ago2006-06-18 03:53:34 UTC Post #185574
get a trigger to activate a multi manager to close the doors and activate the level change after a delay

...or something.

i've quit HL1 mapping, and i'm getting so used to source's IO system that i have forgotton all the fiddly bits that source bypasses :P
Penguinboy PenguinboyHaha, I died again!
Posted 18 years ago2006-06-18 04:10:09 UTC Post #185575
But if you do it like that, there's still no way of insuring that you're inside the elevator when the level change occurs... They did it twice in HL1 I think, I just don't know how they did it. SOMEBODY here must have done this at some point...
Posted 18 years ago2006-06-18 04:37:40 UTC Post #185576
just make sure that the doors close really quickly...
or make it so some sort of invisible brush instantly closes the elevator off before the doors close (can you do that in HL1?)
Penguinboy PenguinboyHaha, I died again!
Posted 18 years ago2006-06-18 04:49:16 UTC Post #185577
Yeah, I thought of that (you can do it in HL1), but you'd somehow need to make it so the button on the outside can't trigger the doors to close, only to open. Anyway, I just found some tutorial on 69th Vlatitude, so I'll read that and see if it helps.
Posted 18 years ago2006-06-18 04:57:34 UTC Post #185580
you need to use a multisource, so that only when the transisition is triggered and the doors are closed does the level change.
Posted 18 years ago2006-06-18 05:04:55 UTC Post #185581
But the transition is triggered by the door... :

If I'm just not understanding what you're saying, maybe you should create a flowchart or something. :confused:
Posted 18 years ago2006-06-18 05:13:32 UTC Post #185584
make the multimanager trigger the doors AND the transition
so...
closedoorbutton triggers multimanager
multimanager triggers doors to close
doors close
multimanager triggers level change after a delay of...say 5 secs
dont make the doors trigger anything
Penguinboy PenguinboyHaha, I died again!
Posted 18 years ago2006-06-18 05:23:37 UTC Post #185587
Ok, thanks, this should work. Just as long as the player doesn't push the button inside the elevator through the wall while still standing outside it (remember that nice little feature of HL1?), it'll be fine.
Posted 18 years ago2006-06-18 05:45:41 UTC Post #185590
make the wall extra thick ;)
Penguinboy PenguinboyHaha, I died again!
Posted 18 years ago2006-06-18 05:47:07 UTC Post #185591
User posted image
Stay Open Doors By SlayerA


Use this method to make the multisource stay on aslong as you are in the elevator and when you leave it it's off.

You should make a button in the elevator that will trigger the doors and maybe the trigger_changelevel. Place the button far away from the doors. And don't listen the Pinguinboy, the thickness of the wall doesn't really matter.
Posted 18 years ago2006-06-18 05:56:31 UTC Post #185593
well it does if the player wants to press the button from the other side of the wall, the player can 'reach' by deafult a certain distance, and if the wall is thicker than that distance, they wont be able to press the button from the wrong side...

you could also just put the buttons on the back or side of the elevator, thats usually where they are in real life - and most elevators dont have a singular up/down button inside the elevator like in HL1... :D
Penguinboy PenguinboyHaha, I died again!
Posted 18 years ago2006-06-18 05:58:02 UTC Post #185595
Place the button far away from the doors. And don't listen the Pinguinboy, the thickness of the wall doesn't really matter.
As I understand, it's really just based on your proximity. I don't think I'm going to want to place the button on the other side of the elevator, just for the sake of realism.

Maybe if I get around to it, I'll try copying the setup Valve had from a decompiled map. Theirs worked without a hitch, and it seems like it might be simpler than combining the ideas of three people.

EDIT: Penguinboy, the buttons are usually right next to the door in real life. What kind of elevators have you been riding lately?
Posted 18 years ago2006-06-18 06:02:55 UTC Post #185598
Well thick walls not always look nice. ;)

User posted image
H.E.V suit required by Elon Yariv


I made an elevator in that map with a button inside that can't be pushed from the outside.
Posted 18 years ago2006-06-18 06:29:02 UTC Post #185605
Penguinboy, the buttons are usually right next to the door in real life. What kind of elevators have you been riding lately?
meh, it depends where you go...i have seen alot of button placements including, next to doors, on side, and behind - what about them hospital elevators with 2 sets of doors :D
Well thick walls not always look nice.
i wasn't actually being serious anyway :P
Penguinboy PenguinboyHaha, I died again!
Posted 18 years ago2006-06-18 08:32:20 UTC Post #185628
They did it twice in HL1 I think, I just don't know how they did it.
no. no they didnt. In the levels with elevator level changes, you can stay outside and press the button to change level.

Its one of the tricks from the HL in 45 minutes video
Archie ArchieGoodbye Moonmen
Posted 18 years ago2006-06-18 08:36:14 UTC Post #185630
gotta love them speed runs :D
Penguinboy PenguinboyHaha, I died again!
You must be logged in to post a response.