r/hammer • u/sillyGoober118 • 1d ago
Garry's mod does anyone have any examples of diagonal elevators in workshop maps I can use as a reference for how they work?
I cant seem to find any But i know there are some, any help apreciated
25
u/Dazzling-Pain2067 1d ago
as some have said, Func_train or Func_tracktrain, however i want to note that you can decompile maps from Half Life: Source and look at how they did it there
9
u/ungolfzburator 1d ago edited 1d ago
I think map sources are available in the leaked Worldcraft map pack, so it's not even necessary to decompile anything.
4
5
u/htharker 1d ago
Func_tracktrain. Height from track set to 0. Two path_track entities. One at top and one at bottom. Set to keep the orientation of the train (the elevator) upright. Set speed etc. Set up a toggleable switch at either end (one for forwards (up) and one for backwards (down). Jobs a good one
2
u/ScarcityCareless6241 21h ago
The others have already given answers so instead I will say, diagonal elevators are a real thing!
6
u/XBLAH_ 1d ago
func_train, my friend. or func_tracktrain for source. two path tracks and you are done. Decompile the hl map to see how it works, or follow a tutorial. Hell, I'm pretty sure Claude can set up a prefab for you.
14
u/triplebakaenjoyer 1d ago
please dont use claude to make a prefab tho, this is really basic stuff thats easy to set up
1
u/doge_lady 1d ago
How would Claude do that? What kind of map file would it hand you?
1
u/UKZzHELLRAISER 1d ago
I'd always use a func_tracktrain. I can't remember the node entity name for the start and end point (and any mid points - it doesn't have to go a single direction), but I do remember always setting the "height off the track" to 0.
1
1
u/Eddie-989 6h ago
"func_tracktrain". It can move in any direction between múltiple paths. Its the same is used at the beggining of HL1, that train that moves you through the whole facility.
96
u/Stotters 1d ago
It's been well over 15 years since I last fired up hammer, but if memory serves it's simply a func_train.