Tracktrain with multiple carriages

Discussion in 'Mapping Questions & Discussion' started by x6herbius, Jul 30, 2009.

  1. x6herbius

    aa x6herbius

    Positive Ratings:
    Hello everyone.

    So this is me having a frantic moment in the evening after the computers are off and worrying that I'll never get any sleep unless I find a solution to this problem.

    I'm planning to have a func_tracktrain that runs on a track circuit in my duel map. If the player is agile enough they can hop on and take a trip to the enemy base, while if not, they get a face-full of floor and trigger_hurt.

    However, I'm struggling to think of a way to get the train working with multiple carriages. Simply parenting would mean that the extra carriages would swing out on a corner like a bizzare pole of train; phys constraints would mean that the carriages would be "dragged" and so not follow the rails, and I also know that a lot of phys constraints in multiplayer is never a good idea.

    Does anyone have any sort of idea as to how I could accomplish this? The only other way I can think of would beto have each carriage on its own func_tracktrain, but I'm sure that wouldn't be too god in terms of multiplayer optimisations.

    Suggestions appreciated. :)
  2. alecom

    alecom L8: Fancy Shmancy Member

    Positive Ratings:
    I think giving each one its own tracktrain would be the answer; can't say I know how well it fares with a lot of players though. Might be okay, might not - try it out?
  3. Vigilante212

    Vigilante212 L7: Fancy Member

    Positive Ratings:
    make each a seperate train and space them out so it looks like thier connected that may work.