Train Connecting to Cars

FishyUberMuffin

War Paints Everywhere
Apr 26, 2015
954
186
How can i connect the train cars to follow the main train? I am looking at this Train Tutorial and it doesn't say how to connect the cars up to the train.
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
Set up multiple func_tracktrains and send them speed changing outputs similatenously (Might use the same name for that)
 

SnickerPuffs

(*single chuckle*)
aa
Apr 10, 2014
1,315
1,857
I just give the other cars the same name as the engine and stretch the func-tracktrain over the new cars. They look fine in-game, but when they're not moving they spawn inside of each other.
 

Arceus

The equine creator everyone takes for granted.
Apr 19, 2016
42
3
I recently solved this problem in my newest map, Terminal.

Set the train cars' parent to the func_train entity.

Remember, trains must face to the right in Hammer.

The func_tracktrain does not have to stretch over the additional cars.
 

henke37

aa
Sep 23, 2011
2,075
515
The issue is when the train follows a curved track. Few methods work then.
 

FishyUberMuffin

War Paints Everywhere
Apr 26, 2015
954
186

henke37

aa
Sep 23, 2011
2,075
515
Then just make all of the brushes for all of the vagons, including the locomotive, part of the func_tracktrain. And parent all of the props to the tracktrain.
 

BigfootBeto

Party Time 2.0!
aa
Jun 8, 2016
496
847
Just pretend all the cars are one single prop. If they're all parented to the same func_track_train entity it should be fine.
 

Arceus

The equine creator everyone takes for granted.
Apr 19, 2016
42
3
I did something similar to what BigfootBeto said.
If you want, I can show you pictures and explain further, or you can download my vmf to see for yourself.