Payload over a bridge

Discussion in 'Mapping Questions & Discussion' started by Scruga, Jun 30, 2009.

  1. Scruga

    Scruga L1: Registered

    Messages:
    39
    Positive Ratings:
    0
    Would it be possible to have the payload move over a bridge?

    Initial state:
    Code:
        /
       /
    CP/
    State after capture:
    Code:
    CP___
    Is it possible to have the payload move over a bridge that was lowered later. I assume it is possible, it's just that i have no idea how to fix this :p
     
    Last edited: Jun 30, 2009
  2. jpr

    aa jpr

    Messages:
    1,095
    Positive Ratings:
    507
    Very possible, what exactly is your problem here?
     
    • Thanks Thanks x 1
  3. Pyroguy

    Pyroguy L1: Registered

    Messages:
    23
    Positive Ratings:
    2
    Sure. The func_tracktrain that is the heart of the payload cart just follows the path_track entities, regardless of where they are (in the ground, the air, etc). Just make sure the moving bridge adjusts correctly, because the cart will keep going regardless and may seem to hover in the air.
     
    • Thanks Thanks x 1
  4. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,467
    Check the flag for the path_track to make it 'Disabled', then make the bridge a func_door and add the output 'OnFullyOpen' and send an input 'Enable' to the next path_track. When the 'door' is fully open the next path is enabled and the cart can continue.
     
    • Thanks Thanks x 1
  5. Scruga

    Scruga L1: Registered

    Messages:
    39
    Positive Ratings:
    0
    Thank you guys. This all helped me, i didn't think straight :p

    Especially the open bridge thingy is going to help me, it allows the cart to be closer to the bridge on capture.