Electric Staff Safeworking

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
MHTransport
Engineer
Engineer
Posts: 97
Joined: 25 Mar 2004 00:32

Electric Staff Safeworking

Post by MHTransport »

I love the ability to start the game early (before 1900) and the North American Renewal Set and the eGRVS. I like the challenge of having to build with more consideration for terrain and engine power.

This is why I like the idea of adding Electric Staff Safeworking to OpenTTD.

Basically the train driver would stop at the signal and get a physical token before he could continue. The token machines would be wired together so that if you got a token then the other machine would lock until it received that token at the end of the signal track.

In game terms I would use the semaphore block signal. When the train reaches a semaphore signal either green or red it would come to a stop.

The change would be to the train running and path finding. In the train running code it would check if the signal type m4 bits 3 was set and if so it would come to a stop; even if green. In the path finding code it would have to penalise semaphore signals.

I would still leave the light signals as always available for those who don't want the trouble.

So I am not sure where this code is. Which files would I look in?

There is an detailed explanation of Token based Safeworking at Wikipedia

Photo of Machine (Still in Use)
(More Photos
A better OS: http://ubuntu.com/
Soon an even better OS: http://haiku-os.org/
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Re: Electric Staff Safeworking

Post by XeryusTC »

May I ask what the benefit is for the gameplay? I can only see people getting annoyed about their trains stopping in front of a green semaphore..
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
555gln22
Engineer
Engineer
Posts: 120
Joined: 09 Sep 2008 19:48

Re: Electric Staff Safeworking

Post by 555gln22 »

On the local Somerset and Dorset line that my Grandpa used to work on before it was closed, they had mechanical apparatus a bit like the mail bag thing that let them pick up the token at 40mph...
Formerly known as 'davepoth'
User avatar
MHTransport
Engineer
Engineer
Posts: 97
Joined: 25 Mar 2004 00:32

Re: Electric Staff Safeworking

Post by MHTransport »

XeryusTC wrote:May I ask what the benefit is for the gameplay? I can only see people getting annoyed about their trains stopping in front of a green semaphore..
Why would you have disasters, crashes, prevent 90 degree turns or any other difficulty? To make the game more challenging and more fun for the long term players.

If you look at a lot of the patches they make the game harder for the benefits of those who have been playing for 10 years and want a bit more realistic challenge.
A better OS: http://ubuntu.com/
Soon an even better OS: http://haiku-os.org/
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Electric Staff Safeworking

Post by Eddi »

i can't see how this would be adding "difficulty" when there are otherwise exactly equal gameplay measures to circumvent the behaviour
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 13 guests