Main Connecting Starting



Building: Tubes and Trains

Building the Tubes

if you type 'tunnel' in a wilderness location, it will toggle there being a tube tunnel being underground or not.

e.g.

goin @wild_20:20+3
tunnel
makes there be a tunnel location @wild_20:20-2

If you 'bigmap tunnel' you can see a map of the underground.

Build the tunnels, and hook in the stations using patches. For example, wilderness_zone 5:5. The stations must have dock pointing to themselves.

Building the Train

Firstly, make a ship to act as the train. It must have LandVehicle flag set.

Set stop.0, stop.1 on it to the stops.

Set stop.route on the train to '1', to get it to use 'route' to actually move between stops.

By default it goes from 0 -> 1 -> ... n-1 -> n -> n-1 -> ... -> 1 -> 0 -> (and repeats), but you can set it to a loop from n to 0 by setting "stop.circle" to 1.

Set "plan" on it to "0 tube". Set the Timer and StartPlan flags on it. Reset the zone.

You may want to look at the wilderness_zone::wild_create and lstone_57::before_entry and lstone_67::after_go traps and use these for your tunnels. These are responsible for the safety barriers, squashing people who ignore them, and the rumbling sound that people here on the surface.

The movement of the train will generate rather a lot of messaging, and is of little interest to its human cargo. To suppress messages like 'The train moves north to the Tunnel', set the NoShip flag on the train.