Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDEA: Simple ATC system #47

Open
gpcf opened this issue Feb 16, 2017 · 2 comments
Open

IDEA: Simple ATC system #47

gpcf opened this issue Feb 16, 2017 · 2 comments
Labels

Comments

@gpcf
Copy link
Contributor

gpcf commented Feb 16, 2017

I'm going to implement this exact system soon.

ATC should be more simple, so any random player can use it. There are going to be a few kinds of blocks:

Switches and Train Destinations

Switches should include a formspec, which lets you select the direction of the train depending on train line. You can set the train line on the train menu formspec. For example:
straight: Line 4, Line 5
left: Line 3

Block signals

if you set a signal, a control rail will spawn next to it. you can set speed signals, that set the speed of the train and block signals that prevent trains from crashing into each other. In the block rails, you can set the blocks the train enters and the blocks the train exits after passing the signal. If the blocks the train is entering are blocked, the trains stop and wait until the block is free.

Station rails

You can set the stop times, where the doors open and whether the train should reverse. Also, you can set the train to wait for other trains, for instance, if you have a cross-platform interchange, you can set the trains to wait for each other.

@orwell96 orwell96 added the Idea label Feb 18, 2017
@orwell96
Copy link
Owner

orwell96 commented Mar 9, 2017

Have you done something on this yet? I would like you to implement it, for me, LUA ATC is enough for the moment and there are other things to implement first (see issues).
Of course, you don't have to if you don't want, and I'm not forcing you to do anything.

@gpcf
Copy link
Contributor Author

gpcf commented Mar 9, 2017

I have started to write a bit, but I haven't written progressed a lot so far, since I had a lot of other stuff to do, but I may be able to do this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants