Programmable signals idea

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

Locked
Alski
Engineer
Engineer
Posts: 5
Joined: 24 Oct 2006 22:04

Programmable signals idea

Post by Alski »

Perhaps an odd idea this one, but I’m gonna throw it out there anyway…

Would some kind of programmable signals / junctions be possible? What I mean is basically using BASIC programming like statements such as IF, ELSE, ie:

IF signal #1 is Red, then make signal #2 Red
IF a train is waiting at signal #1, then make signal #2 red
IF a train is inside junction #1 then make signal #2 green, else signal #2 = Red
IF X number of trains are waiting to exit a station, make signal #’s 1,2,3,4,5 Red

(a junction in this case possibly being defined as either a section of track “closed” by a definable group of signals, Or a number of tiles of track that are set as “switch tiles” )

the purpose of all this being to enable us to have more control over redundant lines, controlling traffic levels, making sure secondary exits from stations remain clear when a train is waiting to exit, giving priority to certain lines, etc etc

I think it could be a very interesting and powerful feature, but then I really don’t know much at all about programming, or the way such things like signals are handled by OTTD’s code, so basically I’m asking is a feature like this even vaguely possible, and do you guys think it is a feature worthy of consideration?

(btw, i've allready seen the NAND signals idea, coincidentley i thought of this one before seeing it, but i think this one differs enouth to warrent its own post)
User avatar
JGR
Tycoon
Tycoon
Posts: 2604
Joined: 08 Aug 2005 13:46
Location: Ipswich

Post by JGR »

Is this not described in the topic labelled 'Programmable signals' on the front page of the same forum you created this thread in?
That thread is quite active, the discussion having taken place as recently as yesterday.
Your idea is neither odd nor new, I suggest you contribute to that thread, instead of starting a virtually identical one.
Alski
Engineer
Engineer
Posts: 5
Joined: 24 Oct 2006 22:04

Post by Alski »

Doh! dammit i dident see it, my apologies, feel free to delete this one, or let it fall like the rock it deserves :oops:
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

locked as we only need one thread about this topic :wink:
Locked

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Google [Bot] and 12 guests