| |
Train |
|
- This is the main engine script that is driven by the content of a notecard.
It implements a simple touring language with a very simple command format -
the first character denotes the main command, the second char (optionally)
denotes the subcommand, the rest is parameters. Empty lines are skipped.
|
Train |
|
- This script is the simple follower that is used to make a car follow the
train or follow another car. It uses a simple inchannel and outchannel
mechanism - each position on inchannel is handed over to one of several
movement scripts and then announced on the outchannel. A car has to handle
it's queue length itself - the length of the queue is based on the engine
speed and the car and engine sizes.
|
Train |
|
- This script moves the train car to the given position using warping to
allow even updates over a longer distance. This script needs to be inside
the train cars multiple times, at least 2 times. Each instance of this
script needs to have it's own "mynum" value. It gets the number in the
on_rez event from it's own name (multiple instances will be numbered
by SL automatically and so get different numbers)
|
Train |
|
- This script manages triggered sounds like the whistle
|
Train |
|
- This script is the scheduler for the train stations. It will show the
next train going, it's destination and when appropriate, send a rezzer
command via chat to the train rezzer
|
Train |
|
- This script manages looped sounds like the sound when running the train
|
Train |
|
- This is the rezzing script that rezzes a car behind the engine or
another car. It needs adaption for offset, so the height is corrected,
and for the distance it should have to the part that rezzes it.
|
| |
| |
| |