User Tools

Site Tools


dev:proposals:simsig

This is an old revision of the document!


Train/Signalling Simulation Game

Idea

Advtrains is currently a game where you can build railways in a voxel world and drive trains on them. The trains can be manually driven or (much more common) automatically controlled.

There are two genres of games that are traditionally completely separate (except for a paid game called Run8 apparently): Train Simulators and Signalling Simulators. Notably, both of these genres have an outstanding lack of free/open source software and scenarios.

Train simulators

A classical train simulation game focuses on the aspect of driving a train across a detailed and realistically made route. This route is mostly fixed and pre-built by some creative people. The game focuses on realism on the train‘s controls and the driver‘s experience.

What advtrains falls short in:

  • Realism of driver controls
  • Realism of tracks (sharp turns)
  • General detailed-ness of models and worlds

All of these can be improved by putting in some work, but they are no immediate blockers and ideas exist for how to improve (e.g. the set-track proposal). Other than that, advtrains can serve as a train sim game with only minor changes.

Train Sim Mode Idea

When a player is on a driver stand of an advtrains train, he/she can switch to a „train sim mode“ where all automatic controls are replaced by a grading system. The player must observe signals, speed and stop points, and LZB serves only as a benchmark against which the player is scored.

For instance:

  • Stopping at the right place at a station awards 10 points
  • If the player drives over a red signal he gets -100 points

With this in place, scenarios can be built by builders and distributed simply as Luanti worlds. Or players can drive trains in sim mode on multiplayer servers.

Signalling Simulators

Games in which the player acts as a signalman in a signal box (German Fahrdienstleiter). There are a number of freeware games like SimSig, a couple of German ones, and I even started a fork of something called „ts2“ once (then abandoned it).

Advtrains has a quite powerful interlocking system. While it has a few feature gaps (for example overlap, warner routes…) it nevertheless can serve as a solid base for such a Signalling simulator. The unique feature of this one is that the trains can actually be observed in a 3D world.

Signal Box Webapp

I am not a masochist so I won’t even start trying to implement this in formspecs. It will be a web app.

Builders can create a signal box schematic, which looks similar to SimSig/ts2/german ESTWs, and link the schematic elements to components in the Luanti world. This way the player can then directly control the signals in the world.

Technology wise, since Luanti can only serve as a http client, the Webserver serving the webapp will also need to act as a relay. Luanti can receive commands from the relay (and thus the webapp) via http long polling.

While a signal box session is in place, ARs will be disabled on the signals in the area.

Taking timetables data as a basis, also for this game mode scoring can be performed. One further idea is to simulate failures (both on the trains e.g. door problems) and on the trackside equipment (signal lamp/switch failures) like in SimSig.

dev/proposals/simsig.1768158952.txt.gz · Last modified: by orwell