The Source engine is a 3D game engine developed by Valve Corporation. Its unique features include a large degree of modularity and flexibility, an artist-driven, shader-based renderer, accurate lip sync and facial expression technology, and a powerful, efficient and completely network-enabled physics system.

Post tutorial Report content RSS feed HD Video Tutorial - Moving Brushes

Learn how to make a moving brush using the func_tracktrain and path_track entities together. This can be used to create trains, elevators, advanced doors and floating platforms just to name a few uses.

Posted by on - Intermediate Mapping/Technical

Rundown
First we create a simple brush that we tie to a func_tracktrain entity. Then we go through the different settings for that entity.

We continue by creating the path that our func_tracktrain will take by placing a few path_track entities, then we go through the options you have with those also.


Please give me a comment telling me what you think.
Also, don't forget to give me tutorial requests!

Comments
saivert
saivert

appreciated

Reply Good karma Bad karma+3 votes
Croco15
Croco15

Great tutorial.

Reply Good karma Bad karma+3 votes
Jokerme
Jokerme

That's a nice tutorial. I remember having hard time figuring out how to properly move brushes. I'm sure this will be helpful to a lot of people.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

I hope it will be!
Thanks!

Reply Good karma+2 votes
half-life
half-life

another great tutorial, thanks silverfisk

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

I'm glad you like it!

Reply Good karma+2 votes
Nebcake
Nebcake

Awesome tutorial, I really needed this for a map iam working on.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

I'm glad I could be of help.

Reply Good karma+2 votes
wazanator
wazanator

Good tutorial :)

But you might want to add that in most multiplayer games like ZPS you need to use new train speed on the path_tracks otherwise they get hung up or bug some other way

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

I was not aware of that! I'll add it to the annotations, thank you!

Reply Good karma+2 votes
Chrissstrahl
Chrissstrahl

Interesting, I see this is quite different in Source.
Thanks :)

I would like to add this:
When working with moving objects you should make sure your walls are not to thin. Your walls should be at least 8 (to be safe use 16) units depth.

If you are pushed by a moving object which does not kill you, the object can push you out of the level if the walls are to thin and the object is moving fast.

I'm not sure if that can happen with the source engine too, but I would be very surprised if not.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

I think you just have to place the actual train somewhere where it can't push you out of the level.
While researching for this tutorial I got pushed into a wall and got stuck there, so it's either go through the wall and fall for all eternity or get stuck and sit there for all eternity. Don't know what's best. :P

Thank you.

Reply Good karma+2 votes
cW#Ravenblood

cool
gj

Reply Good karma Bad karma+2 votes
Minuit
Minuit

Yet another good tutorial Silverfisk, and your Scandinavian accent makes it all the better. You're inspiring me to start working on a mini Source project once I get my new PC parts (Hammer for Source is a little bugged on this current PC).

I tried displacements the other day after re-watching your tutorial, but I ran into some problems and got annoyed. Just needs practice I guess.

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

Thanks!
Woah that's awesome I'm inspiring you with my tutorials! :D
If you need any help or tips on working with those displacements, don't hesitate to send me a PM!

Reply Good karma+1 vote
Highmist
Highmist

Little late, but great tutorial! Also i want to give a little imput on what some of it means(i think)
HL1 Train: The Half Life 1 Train, with controllable speed set into three or 4 sections
Fire Once: Think it means the train will only use that point once, so like an elevator which goes down but not up.
Love your tutorials anyways, great job!

Reply Good karma Bad karma+2 votes
Silverfisk Author
Silverfisk

The train is controllable like you described by default, so I'm guessing it's just a legacy thing.
I experimented with the fire once setting (I also thought that was what it did before I tried it out) but it didn't do anything.

Thank you for the praise! More tutorials will come.

Reply Good karma+1 vote
Hartliss
Hartliss

YOU NEED TO MAKE A GOOD TRAN AND MAKE IT A MOD!!!!!!!!!!!!!!!!!!

Reply Good karma Bad karma0 votes
Pongiup
Pongiup

Eh, I tried this in Half-Life 1(GoldSrc engine), the sound appears, but the train - it's simply not there. Any idea why?

Haha, fan vad man hörde att du var svensk.

Reply Good karma Bad karma+1 vote
Technodude010
Technodude010

Thanks, I sa a tut aout this once but it wasnt clear at all.

Reply Good karma Bad karma+1 vote
TheZealot
TheZealot

It's pretty fun parenting func_tanks and func_tankrockets to func_tracktrains.

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Platforms
Windows, VR, X360, XBOX, PS3
Company
Valve
Contact
Send Message
Licence
Commercial
Release date
Engine watch
Start tracking
Tutorial
Browse
Tutorials
Share
Related Engines
Source
Source Commercial
Related Groups
Level Design Group
Level Design Group Hobbies & Interests
The Human Pond
The Human Pond Hobbies & Interests
Valve
Valve Developer & Publisher