ProgSigs - Programmable Signals patch
Moderator: OpenTTD Developers
Re: ProgSigs - Programmable Signals patch
hi guys
after behing routed to your thread, and after trying unsuccessfully to use the prog signal for what i want... i d like to get some help !
I m trying to make a siding(with a waypoint) giving the ability to stop a freight train when a faster train enter the parralel track of the siding... at the same time i d like to keep the fast trains running smooth by keeping the same signal distance on the fast lane (there is often two or more fast train following each other cause slowed down for a while by the slow freight train)...
Any hint on the programation i should set to get same result as in my exemple down there(link) would be very appreciated
this is my exemple(with path and normal signals), wich works perfectly but is very ugly. I d like to make it look more simple and realistic thanks the prog signals: http://www.tt-forums.net/viewtopic.php? ... &start=160
follow link and scroll down a little until you see this:
Coal train is in front (and enter the siding reserved for slow and unautomated timetabled trains).
Wali Transport, 20_08_1975.png [240.43 Kio]
The ICE train is entering the fast lane and by passing the first path signal make the simple signal go red at end of the slow lane... this signal willl stay red until the Ice trains is gone in front.
Wali Transport, 20_08_1975#1.png [240.91 Kio]
following moment where the ICE train is now way in front entering a tunnel, another ICE train following enough closely to keep the red signal on the slow lane... and you can even spot that a slow local passenger trains is also entering the fast lane and will keep the red signal for the coal train until its gone in front ... after the local train is gone the coal train will be able to keep going.
Wali Transport, 20_08_1975#3.png [241.11 Kio]
Thanks in advance
Romazoon
after behing routed to your thread, and after trying unsuccessfully to use the prog signal for what i want... i d like to get some help !
I m trying to make a siding(with a waypoint) giving the ability to stop a freight train when a faster train enter the parralel track of the siding... at the same time i d like to keep the fast trains running smooth by keeping the same signal distance on the fast lane (there is often two or more fast train following each other cause slowed down for a while by the slow freight train)...
Any hint on the programation i should set to get same result as in my exemple down there(link) would be very appreciated
this is my exemple(with path and normal signals), wich works perfectly but is very ugly. I d like to make it look more simple and realistic thanks the prog signals: http://www.tt-forums.net/viewtopic.php? ... &start=160
follow link and scroll down a little until you see this:
Coal train is in front (and enter the siding reserved for slow and unautomated timetabled trains).
Wali Transport, 20_08_1975.png [240.43 Kio]
The ICE train is entering the fast lane and by passing the first path signal make the simple signal go red at end of the slow lane... this signal willl stay red until the Ice trains is gone in front.
Wali Transport, 20_08_1975#1.png [240.91 Kio]
following moment where the ICE train is now way in front entering a tunnel, another ICE train following enough closely to keep the red signal on the slow lane... and you can even spot that a slow local passenger trains is also entering the fast lane and will keep the red signal for the coal train until its gone in front ... after the local train is gone the coal train will be able to keep going.
Wali Transport, 20_08_1975#3.png [241.11 Kio]
Thanks in advance
Romazoon
-
- Engineer
- Posts: 31
- Joined: 28 Feb 2013 00:20
Re: ProgSigs - Programmable Signals patch
a little help please
i am trying to figure out how to configure a programmable signal for an entry to a station and a depot that if the station is full then it is to enter the depot
there are no signals in between the programmable signal and the station or the depot
thanks mat
i am trying to figure out how to configure a programmable signal for an entry to a station and a depot that if the station is full then it is to enter the depot
there are no signals in between the programmable signal and the station or the depot
thanks mat
- Attachments
-
- Wruninghall Transport, 5th Feb 2089.png
- (148.89 KiB) Downloaded 2 times
Re: ProgSigs - Programmable Signals patch
You don't need programmable signals for this. Checkout http://wiki.openttdcoop.org/Two-way_end_of_line
don't worry, be happy and checkout my patches
-
- Engineer
- Posts: 29
- Joined: 31 Oct 2014 18:24
- Location: London, Ontario
Re: ProgSigs - Programmable Signals patch
im sorry if it has been mentioned before, aswell i have read the original post and have tried messing with it myself but am still kinda confused on this. first off if its actually possible i would like to have a two way single track section with signals for both ways, but i would like all signals for one way to be red if a train in the other direction start down that section, but i would also like all signals behind the train currently travelling that section to go back to green...is that possible? and would somebody be able to help or maybe show me somewhere that could help with stuff like this? the original game signals didnt work for that either, so thats why i think these ones could.
Re: ProgSigs - Programmable Signals patch
TS, can you help with this quest for programmable signals?
viewtopic.php?f=33&t=73469&start=780#p1186609
viewtopic.php?f=33&t=73469&start=780#p1186609
Re: ProgSigs - Programmable Signals patch
Why did not this patch appear in the normal game long ago? Creating a gate with logical trains is terrible.
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
- andythenorth
- Tycoon
- Posts: 5667
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: ProgSigs - Programmable Signals patch
Programmable signals are not a current goal for core OpenTTD
They might be available in patchpacks.
They might be available in patchpacks.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: ProgSigs - Programmable Signals patch
1. Its author hasn't been on the forums for 7 yearsagentw4b wrote:Why did not this patch appear in the normal game long ago? Creating a gate with logical trains is terrible.
2. Its author hasn't been here to answer questions.
3. Its author did not submit it to be included.
It's extremely doubtful that the developers are going to include a patch when it wasn't asked to be reviewed, its author not available to work with the developers and who has effectively abandoned the OpenTTD community.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
- andythenorth
- Tycoon
- Posts: 5667
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: ProgSigs - Programmable Signals patch
I wasn't just being flippant in my "it's not a current goal" reply btw
Currently we have:
This is because of evolution over time, with new ideas, which is good. But the results can be confusing. Both to players, and in the code for signals and pathfinders.
Adding programmable signals to this isn't a good move. Maybe if there was some simplification first. But currently not a good move. Even if there was a proven patch with an active maintainer.
Currently we have:
- Block Signals
- Pre-signals
- Path Signals
This is because of evolution over time, with new ideas, which is good. But the results can be confusing. Both to players, and in the code for signals and pathfinders.
Adding programmable signals to this isn't a good move. Maybe if there was some simplification first. But currently not a good move. Even if there was a proven patch with an active maintainer.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: ProgSigs - Programmable Signals patch
It's included in the JGR Patch Pack (IMO the best way to play OpenTTD today), but I doubt JGR wants any responsibility for maintaining it and making it ready for trunk.andythenorth wrote:Maybe if there was some simplification first. But currently not a good move. Even if there was a proven patch with an active maintainer.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: ProgSigs - Programmable Signals patch
No, I'm not interested in submitting it.kamnet wrote:It's included in the JGR Patch Pack (IMO the best way to play OpenTTD today), but I doubt JGR wants any responsibility for maintaining it and making it ready for trunk.
If I'd known then what I do now I probably wouldn't have included it in my patchpack TBH.
At the gameplay level, It's much less useful than routing restrictions in practice.
The code as in this thread has various major bugs, these are fixed in my patchpack repo (see the progsig-sx branch, older fixes are also back-ported to the progsig-rebase branch).
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
- andythenorth
- Tycoon
- Posts: 5667
- Joined: 31 Mar 2007 14:23
- Location: Lost in Music
Re: ProgSigs - Programmable Signals patch
Shows how patchpacks serve a useful role trying out experimental things - both the concepts and the specific patch implementations.JGR wrote:If I'd known then what I do now I probably wouldn't have included it in my patchpack TBH.
FIRS Industry Replacement Set (released) | HEQS Heavy Equipment Set (trucks, industrial trams and more) (finished)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Unsinkable Sam (ships) (preview released) | CHIPS Has Improved Players' Stations (finished)
Iron Horse ((trains) (released) | Termite (tracks for Iron Horse) (released) | Busy Bee (game script) (released)
Road Hog (road vehicles and trams) (released)
Re: ProgSigs - Programmable Signals patch
kamnet wrote:It's included in the JGR Patch Pack (IMO the best way to play OpenTTD today), but I doubt JGR wants any responsibility for maintaining it and making it ready for trunk.andythenorth wrote:Maybe if there was some simplification first. But currently not a good move. Even if there was a proven patch with an active maintainer.
I think, that in JGR Patch pack is other version of the programmable signal. There are not functions as XOR, NOT, OR and AND.
I saw Joker's patch pack and this version of Progsig patch have logic functions AND, XOR, NOT, OR.
Sorry, my english language is not good. I use Google translate...
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
-
- Tycoon
- Posts: 5950
- Joined: 27 Apr 2005 07:09
- Contact:
Re: ProgSigs - Programmable Signals patch
May I ask what it is what you know now? Apart from your following sentence?JGR wrote: If I'd known then what I do now I probably wouldn't have included it in my patchpack TBH.
Granted, programmable signals are occupying a very narrow niche in game, and they might be tricky to use for the unexperienced. But there are cases where they´re to be used, where routing restrictions can´t be of any help.
IMO, the most superfluous signals meanwhile are pre-signals.
regards
Michael
Re: ProgSigs - Programmable Signals patch
Maybe this patch is not the patch I used, but the patch in the Joker's patch set is good.agentw4b wrote:kamnet wrote:It's included in the JGR Patch Pack (IMO the best way to play OpenTTD today), but I doubt JGR wants any responsibility for maintaining it and making it ready for trunk.andythenorth wrote:Maybe if there was some simplification first. But currently not a good move. Even if there was a proven patch with an active maintainer.
I think, that in JGR Patch pack is other version of the programmable signal. There are not functions as XOR, NOT, OR and AND.
I saw Joker's patch pack and this version of Progsig patch have logic functions AND, XOR, NOT, OR.
Sorry, my english language is not good. I use Google translate...
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Re: ProgSigs - Programmable Signals patch
JGR uses this ProgSig patch. He may be using an earlier version of the patch. He also uses modifications from Pi1985's Spring 2013 Patch Pack.agentw4b wrote:I think, that in JGR Patch pack is other version of the programmable signal.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: ProgSigs - Programmable Signals patch
Programmable signals are really a type of fancy pre-signal, and so share most of the problems associated with them.michael blunck wrote:May I ask what it is what you know now? Apart from your following sentence?
Granted, programmable signals are occupying a very narrow niche in game, and they might be tricky to use for the unexperienced. But there are cases where they´re to be used, where routing restrictions can´t be of any help.
IMO, the most superfluous signals meanwhile are pre-signals.
regards
Michael
Pre and programmable signals are useful for things like track-based logic gates, but these are not especially useful for normal operation of trains.
In most cases, path signals, with routing restrictions if necessary, is better and simpler.
I started from the patch in this post, which still looks to be the most recent one: viewtopic.php?p=926682#p926682kamnet wrote:JGR uses this ProgSig patch. He may be using an earlier version of the patch. He also uses modifications from Pi1985's Spring 2013 Patch Pack.
There are changes from SpringPP as well, unfortunately they're not clearly separated in my commit history, I may look at this in more detail later.
In terms of bugs, these are mostly around multiplayer, and removing programmable signals or signals being pointed to by programmable signals.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
-
- Chief Executive
- Posts: 675
- Joined: 03 Apr 2016 20:19
Re: ProgSigs - Programmable Signals patch
Getting ready to go into lurker mode, but I figure I should ask... How do I set up a routing restriction?JGR wrote:Programmable signals are really a type of fancy pre-signal, and so share most of the problems associated with them.michael blunck wrote:May I ask what it is what you know now? Apart from your following sentence?
Granted, programmable signals are occupying a very narrow niche in game, and they might be tricky to use for the unexperienced. But there are cases where they´re to be used, where routing restrictions can´t be of any help.
IMO, the most superfluous signals meanwhile are pre-signals.
regards
Michael
Pre and programmable signals are useful for things like track-based logic gates, but these are not especially useful for normal operation of trains.
In most cases, path signals, with routing restrictions if necessary, is better and simpler.
I started from the patch in this post, which still looks to be the most recent one: viewtopic.php?p=926682#p926682kamnet wrote:JGR uses this ProgSig patch. He may be using an earlier version of the patch. He also uses modifications from Pi1985's Spring 2013 Patch Pack.
There are changes from SpringPP as well, unfortunately they're not clearly separated in my commit history, I may look at this in more detail later.
In terms of bugs, these are mostly around multiplayer, and removing programmable signals or signals being pointed to by programmable signals.
Licenses for my work...
You automatically have my permission to re-license graphics or code by me if needed for use in any project that is not GPL v2, on the condition that if you release any derivatives of my graphics they're automatically considered as ALSO GPL v2 (code may remain unreleased, but please do provide it) and carry this provision in GPL v2 uses.
Please ask someone in-the-know to be sure that the graphics are done by me. Especially TTD-Scale, long story.
You automatically have my permission to re-license graphics or code by me if needed for use in any project that is not GPL v2, on the condition that if you release any derivatives of my graphics they're automatically considered as ALSO GPL v2 (code may remain unreleased, but please do provide it) and carry this provision in GPL v2 uses.
Please ask someone in-the-know to be sure that the graphics are done by me. Especially TTD-Scale, long story.
Re: ProgSigs - Programmable Signals patch
If you have JGRpp installed, then on the signalling window there should be a couple of settings icons at the end. If you click the top one, then on the signal you wish to modify, it will bring up a menu where you can set routing restrictions.
Re: ProgSigs - Programmable Signals patch
agentw4b wrote:kamnet wrote:It's included in the JGR Patch Pack (IMO the best way to play OpenTTD today), but I doubt JGR wants any responsibility for maintaining it and making it ready for trunk.andythenorth wrote:Maybe if there was some simplification first. But currently not a good move. Even if there was a proven patch with an active maintainer.
I think, that in JGR Patch pack is other version of the programmable signal. There are not functions as XOR, NOT, OR and AND.
I saw Joker's patch pack and this version of Progsig patch have logic functions AND, XOR, NOT, OR.
Sorry, my english language is not good. I use Google translate...
Patch with logic function AND, XOR, OR, NOT (I think that is same as in Joker's patch pack ...) : viewtopic.php?f=33&t=68436 there is other graphic for logic signal.
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Who is online
Users browsing this forum: Bing [Bot] and 2 guests