Discussion in 'Mapping Questions & Discussion' started by maxtraxv2, Jan 25, 2009.
how would i go about adding a cart connected to the first one?
Like in pl_frontier?
I think what you do is just make another path_track behind your first one, then add your second carriage on it. Then set it to follow the same track as the first carriage.
nope, parent it to your train.
um.. alittle more info plz becase in a n00b at this becuase atm i got it to follow but you can walk throw it and doesnt quite follow the tracks also how can i link it to the Bomb_CapArea to another cap area i make for the cart to follow
most entities have parent settings.
Lets say your bomb is named "awesometasticbomb".
You would fill this in the parent field:
A parented entity does the exact same thing as the parent.
The parent moves forward, the child moves forward, etc.
I hope this is clear enough.
ya i got that...now did ya read what i sed....could ya explane that, because that's what im asking....
he explained it well enough. Go read some articles in the Valve Developer Community.
Oh and AWESOME-O, as awesome as your avatar is, it hasn't been Christmas for a month... :O
basically if i understand right you want to have a carriage that is pulled by a train/bombcart
what you do is make a 2nd track train, and use the 1st one to control it's starts/stops (i.e. when the 1st one isn't moving, it sets speed on the 2nd one to 0.
have the carriage train use the same path nodes as the "pulling" train.
the only other thing you ahve to do is make sure that the carriage has a track path, the correct distance behind the start point of the "pulling" train, to make sure they start (and stay) the right distance apart.
now if there's nocorners involved, you can make the carriage and train both into a single track train.
ok i hope that helps
I tested out AWESOME-O's version. If your path is perfectly straight it'll look ok. However if not, it'll move stiffly behind the parent as if it were glued on.
Go with Ezekel's explanation.
yer so ill have to try Ezekel way
This is way more complicated than you think, especially when you deal with control points.
When frontier's done I'll release a prefab.
well i did make a silly lil "train set" of a train with 2 carriages for a learning excercise for using trains
Separate names with a comma.