Docs / Reference / Content formats
Timetables
On this page
Timetable files live in the map's TTData\ folder.
| File | What it is |
|---|---|
Busstops.cfg |
[busstop] name tile-index object-id offset 0 0 |
StnLinks.cfg |
Links between stops: [StnLink] length from to ... + [StnLink_entry] id path tile length -1 0 0 |
*.ttp |
A trip |
*.ttr |
A track: the lane sequence of a trip |
*.ttl |
A line: tours and departures |
*.ocu |
Car use: which vehicles run which tours |
Trains\*.zug |
A train's cars (see Vehicles) |
Tile index means the tile's position in global.cfg's [map] list.
Trips (.ttp)#
[trip]
Hbf
5
[station_typ2]
12345
[profile]
Weekday
1.5| Keyword | Parameters |
|---|---|
[trip] |
Track (empty for a bus going by its station links), terminus, line |
[trainreverse] |
The train runs reversed |
[station_typ2] object-id |
A stop |
[station] |
Old-style stop, 8 lines: object id, track entry index, name, tile index, four numbers |
[profile] name minutes |
A time profile |
[profile_man_arr_time], [profile_man_dep_time], [profile_otherstopping] |
Profile details |
A "type 1 (old)" trip (trains, and whole mod maps such as Novi Sad) uses [station] records
and runs on the track its [trip] names ("1 Klisa-Liman I" → 1_Klisa-Liman1.ttr).
Tracks, lines and car use#
.ttr:[track_entry] id path-index tile-index internal-path-no length 0.idis the spline or object id in that tile,path-indexthe[path]index in its.sli/.sco. The internal number is OMSI's per-tile path cache..ttl:[userallowed],[priority],[newtour] number ai-group extra,[addtrip] trip profile departure-minutes..ocu:[valid],[line],[onlytypes]...[end],[types_prefered],[number_tour].
Routing notes:
- AI buses follow a route in whichever direction it runs along a path. Station links and tracks do drive one-way paths backwards (invisible helper streets).
- A station link often runs a few paths past its station, while the next link starts at the stop on another path (122 of Spandau's 505 joins). Those extra paths are not driven.
Something wrong or missing? Fix it on GitHub or open an issue.