JGR's Patch Pack - Programmable Signals

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
Oakman
Engineer
Engineer
Posts: 48
Joined: 15 Jul 2016 20:26

JGR's Patch Pack - Programmable Signals

Post by Oakman »

Hi,

first of all, a big "Thank You" to Jack and all other contributors to the Patch Pack, it lifts the game to a complete new level.

I've a question regarding the programmable signals - what I'm trying to do is, that signal "1" only gets green when signals "2" AND "3" are green. I've read viewtopic.php?f=33&t=47690, but honestly speaking, I didn't get the point. Is there any way to do this?
TreeCorp Inc..png
(377.93 KiB) Not downloaded yet


Thanks a lot!
User avatar
JGR
Tycoon
Tycoon
Posts: 2605
Joined: 08 Aug 2005 13:46
Location: Ipswich

Re: JGR's Patch Pack - Programmable Signals

Post by JGR »

Oakman wrote: 26 Jun 2024 14:59 Hi,

first of all, a big "Thank You" to Jack and all other contributors to the Patch Pack, it lifts the game to a complete new level.

I've a question regarding the programmable signals - what I'm trying to do is, that signal "1" only gets green when signals "2" AND "3" are green. I've read viewtopic.php?f=33&t=47690, but honestly speaking, I didn't get the point. Is there any way to do this?

TreeCorp Inc..png



Thanks a lot!
That thread is about programmable pre-signals, but in your screenshot you're looking at routing restrictions, which is something different.
You should have a look at this section here.
If signal 2 is red, then signal 1 will be red anyway, so you need only worry about signal 3.
Then:
  • Enable programmable pre-signals
  • Change signal 1 to be a programmable pre-signal
  • Change signal 3 to be an exit pre-signal
  • Program signal 1 to refer to signal 3
I'm also not sure who Jack is :).
Ex TTDPatch Coder
Patch Pack, Github
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 2 guests