Docs / Routes and rail / Trolleybuses
Quick start
On this page
A wire for a map#
Save this as trolley.txt next to the map's global.cfg. It is one straight pair of wires,
150 m long, 6 m up, fed at 600 V.
[trolley_net]
voltage 600
spacing 0.6
[trolley_span]
p 0 0 6.0
p 150 0 6.0Poles and a drive for a bus#
Add these blocks to the bus's .bus file. Every key you leave out keeps its default.
[trolley_pole]
side left
pos -0.3 -1.0 3.2
length 6.6
motor 1
[trolley_pole]
side right
pos 0.3 -1.0 3.2
length 6.6
motor 1
[trolley_rheostat]The bus now has two poles that its motor can raise from the cab, and a ZiU-style rheostat drive. With Ctrl+R in the cab the poles go up on the wire.
Something wrong or missing? Fix it on GitHub or open an issue.