Talk:Multi-stop elevators

From Valve Developer Community
Jump to: navigation, search

Is someone already writing this? Unsigned comment added by JJ45 (talkcontribs). Please use four tildes (~~~~) or {{Message}} template to sign your username.

I believe someone WAS but that was I don't know how long ago. so i'd figure no. And you can type --~~~~ to sign your comments. Helps people know who's saying what :) If you've got the buttons up top one of them will do it for you. --Angry Beaver 15:59, 18 Nov 2006 (PST)
I'm going to write this, then. (edit: sigh, I forgot the signature again >.<)--JJ45 00:17, 21 Nov 2006 (PST)

Seeing as nobody else has written it, I've now done so. More to come, once I can clean it up and format it correctly, but the information is all there. --Newinfinite 22:51, 4 Dec 2007 (PST)

Looking good so far. Consider splitting it up into sub-sections (steps) as common with tutorials. This should make it a bit easier for the reader to track progress. --Tourorist 02:13, 5 Dec 2007 (PST)

Good idea. Any helpful tips on writing tutorials are appreciated, as this is my first. Also, a thank you to whoever touched up the work so far, as I finished it very late and promptly went to bed and passed out, leaving it a mess. --Newinfinite 16:45, 8 Dec 2007 (PST)

Where are you finding the origin marker for the func_tracktrain? I'm editing in Ep2 mode, and I can see an origin value in the Object Properties, but no blue circle shows up in any of the 2D views. Thanks --Bobbert 21:56, 7 Mar 2008 (PST)

Does anyone have any pictures of the outputs tab of the logic_compare, or maybe even a working VMF? --Snake oil salesman 11:16, 3 Jan 2009 (PST)

I have a working .vmf still (that I used in my original demo) but .vmf files can't be uploaded. I could copy-paste it in plain text if you want, but if there's an easier way (e.g. just uploading the .vmf) that'd be much more helpful. Any advice? Does anyone still want this file? --Newinfinite 07:51, 30 June 2009 (UTC)


There are several ways to do so...

A *tip of the hat* to Brandished for the help. The .VMF file can be found at UploadPedia. If you need help deconstructing it, let me know (via this page or my own discussion page) and I will be glad to assist you. --Newinfinite

Added a screenshot of the logic_compare "Outputs" tab to the tutorial. I'll be cleaning the whole article up and making it as intuitive and easy-to-read as possible over the next day or so. Anything that is unclear, ask about here and I'll do my best to clarify in the article. --Newinfinite 12:04, 30 June 2009 (UTC)

Thanks for uploading this tutorial. I have tried to follow it several times but cant seem to get it working. The elevator just goes up and down between the first 2 path tracks. Could you please upload your version for me to look at . Thank You-- User:united785 my email address is [email protected]. Could you send it there or do u know what is causing it.

I figured out what was missing from this tut - ie why the elevator wasn't functioning properly. I have made the necessary modifications. -- Haliski 02:29, 08 Sept 2010 (EST)

Rewrote the Tutorial

Completely rewrote the tutorial. I hope it is much cleaner as easier to read. Feedback is welcome. --Markboydude 18:36, 11 July 2011 (PDT)

Despite following the instructions to the letter I get an elevator that doesn't open its external doors, starts with its internal doors open (and no others), and upon pressing a button only partially closes its internal doors before reopening them. It doesn't move at all throughout all of this. Is there a step missing from the tutorial? The link to the .vmf is dead for both the new tutorial and the older one found above. Lastly, "Go to the outputs tab and change the delay of the second output listed to 1.50." is unclear as Hammer has a tendency to reorder outputs sometimes, especially after crash recovery. I assume that this refers to the "elev_compare" output? --Toodice (talk) 22:53, 28 November 2014 (UTC)

This is probably irrelevant since it's been over a year (unfortunately I didn't have the discussion on my watch list), but I fixed the link and edited the ambiguous section. I'm not sure what your issue is though; hopefully looking at the vmf will help.

Tad late to the party, but "elev_doors*" should be changed to "elev_compare" in the button outputs in regards to "SetCompareValue". I was misled by the tutorial on this part, luckily the provided VMF gave me a solution. --SkyscraperBen 21:30, 5 January 2016. (AEST)

Thanks for pointing that out, it has been fixed. To think that this error went unnoticed for years! I hope you don't take this the wrong way, but keep in mind this is open for anyone to edit, so feel free to fix stuff yourself! --Markboydude (talk) 01:47, 7 February 2016 (UTC)

Elevator Misalignment with Floors & First Floor Bounce Bug

I'm new here so i'm sorry if i've done this incorrectly, but i wanted to report that the elevator not lining up flush with the floor can be remedied by adding a delay to the path_track entities' "SetValueCompare" Output, but this seems inconsistent and probably relies on the speed of the elevator. From the looks of it, the problem comes from how the path_track's "OnPass" event is fired, which seems to be fired when the origin of the elevator passes into the bounding box of the path_track, not the origin. This probably made sense as it could be possible for an elevator to be moving fast enough to miss the origin, requiring the usage of a ray cast which may gobble up performance.

Additionally, when elevators reach the first floor or last floor, they may bounce, which seems to be caused by the elevator moving fast enough to reach the origin before the delayed "OnPass" event is fired. This can also be remedied by adding a '0 Floor' beneath the first floor, to act as an extension of the first floor without acting as a stop, as the first floor will stop the elevator before it reaches the '0th floor'.

I made a YouTube tutorial showing these fixes.
This is all speculative though and should not be taken as facts. My knowledge on Source is very limited and i would love feedback to this discussion.


--Rmod8 21:23, 6 June 2023 (BST)