Hi there!
I'm trying to wrap up the cart-scripting on my map but there is just one problem. The cart refuses to lower itself down with the cartelevator when the stage's final cap has been reached.
Nicely that it is. For at the moment it does what it should just that after the cart has been lowered a little bit (still visible) it flips and points RIGHT up. Not the most convincing exit, right? Well, it matches with the entrance as the cart is 50% in the ground in the next stage and you have to push it to move it out of the ground.
How is it scripted? Final path_track associated with cap that triggers my cap_relay that, amongst other things, turns of the "capping zone" for a while (the cart cannot be pushed). The path_track gives a new speed (50) that corresponds with the cart lifts speed of 50. The path_tracks that are used for lowering have "angle" instead of motion for the trains facing. After the cart has been lowered the doors shut and it becomes hidden to the player. It then "teleports" (checked box in flags) to the next path_track which is the initial position for stage 2. The path_track is of course the right height above the ground. So that when you push the cart it doesn't follow the ground but instead raises itself up until it reaches the supposed height above ground and THEN travels forward.
What is this mess?
I'm trying to wrap up the cart-scripting on my map but there is just one problem. The cart refuses to lower itself down with the cartelevator when the stage's final cap has been reached.
Nicely that it is. For at the moment it does what it should just that after the cart has been lowered a little bit (still visible) it flips and points RIGHT up. Not the most convincing exit, right? Well, it matches with the entrance as the cart is 50% in the ground in the next stage and you have to push it to move it out of the ground.
How is it scripted? Final path_track associated with cap that triggers my cap_relay that, amongst other things, turns of the "capping zone" for a while (the cart cannot be pushed). The path_track gives a new speed (50) that corresponds with the cart lifts speed of 50. The path_tracks that are used for lowering have "angle" instead of motion for the trains facing. After the cart has been lowered the doors shut and it becomes hidden to the player. It then "teleports" (checked box in flags) to the next path_track which is the initial position for stage 2. The path_track is of course the right height above the ground. So that when you push the cart it doesn't follow the ground but instead raises itself up until it reaches the supposed height above ground and THEN travels forward.
What is this mess?