Payload over a bridge

Scruga

L1: Registered
Dec 8, 2008
39
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:

Pyroguy

L1: Registered
Jun 6, 2009
23
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.
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
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.
 

Scruga

L1: Registered
Dec 8, 2008
39
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.