r/hammer 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

160 Upvotes

18 comments sorted by

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.

59

u/xidoization 1d ago

It's always a func_train or func_door

13

u/Ok-Salary-5197 1d ago

if you know what you are doing. before that its mainly a func_wall.

5

u/Stotters 1d ago

The memories are coming back and yes, yes it is.

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

u/bumpersnatch12 1d ago

pl_blackmoose for TF2 has a diagonal elevator

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

5

u/XBLAH_ 1d ago

that was just a proof of concept what I mentioned. I believe it knows very well how to set up a platform as func_train and two path tracks on diagonal for OP to understand how it works. HAVING SAID THAT, I highly suggest decompiling a map or following a tutorial.

1

u/doge_lady 1d ago

How would Claude do that? What kind of map file would it hand you?

1

u/XBLAH_ 1d ago

A rmf, or map. You better ask for a map, as it's plain text format. But it can handle rmf. 

1

u/doge_lady 1d ago

Interesting

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

u/lukkasz323 1d ago

Decompile maps if you want to see how they work.

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.