Map array question regarding (de)acceleration
Moderator: OpenTTD Developers
Map array question regarding (de)acceleration
Will the new map array allow greater acceleration and slowing down?. I use the realistic acceleration, but it is hardly realistic...lets be honest, in conventional british railway stations an HST doess not enter a station at 60mph..nor does it speed off and reach full speed before the station is even out of sight.
The new map array allows more information to be stored..so, considering this will it allow trains to slow down on the approach to a red signal rather than like..from 100 to stop instantaneously. If so, then i believe that will allow Green, Orange and Red signals to be used.
So, on the slowing down on approach can it slow down realisticially coming into a station. This suggestion is dodgy.. but here goes.
If your going for realstic (de)accel, then naturally, one would assume your station layouts will be designed 'realistically' so..generally trains will enter the station at like..25/30 and slow down inside the platform. You could put a waypoint before the station which will trigger the train to gradually slow down. So the train perhaps is going 60mph and you place the waypoint six tiles away from the platform the train would slow down 5mph per tile..perhaps. The same goes for leaving the station, 3/4 mph increase per tile...
Everyone knows by now, my games are done with realism in mind, it'd be nice therefore to see a communter train slowing down into the bay platform rather than a train entering at 60 and slamming on the brakes.
Realistic speeds will allow for a greater realism of signals and train travel.
The new map array allows more information to be stored..so, considering this will it allow trains to slow down on the approach to a red signal rather than like..from 100 to stop instantaneously. If so, then i believe that will allow Green, Orange and Red signals to be used.
So, on the slowing down on approach can it slow down realisticially coming into a station. This suggestion is dodgy.. but here goes.
If your going for realstic (de)accel, then naturally, one would assume your station layouts will be designed 'realistically' so..generally trains will enter the station at like..25/30 and slow down inside the platform. You could put a waypoint before the station which will trigger the train to gradually slow down. So the train perhaps is going 60mph and you place the waypoint six tiles away from the platform the train would slow down 5mph per tile..perhaps. The same goes for leaving the station, 3/4 mph increase per tile...
Everyone knows by now, my games are done with realism in mind, it'd be nice therefore to see a communter train slowing down into the bay platform rather than a train entering at 60 and slamming on the brakes.
Realistic speeds will allow for a greater realism of signals and train travel.
Ukončete, prosím, výstup a nástup, dveře se zavírají
Which realistic acceleration do you use?* The behaviour of trains at stations highly depends on which version you use. You might try all versions to see what version you like the most.
As for yellow signals, there was a patch implementing yellow signals, but it has not been kept up to date with either the trunk or MiniIN versions. It might even be incompatible with the current map array, as the bits used for yellow signals may now be used for something else.
I also have thought about slowing down gradually (as opposed to instantly) at red signals. I don't think you'll need a new map array for this, but it needs a clever way of using the pathfinder to determine which signal is next, how far away it is, at what the state (red, yellow, green, or maybe also something else) is. I will (again) have a look at it, as I planned (long ago) to implement such a feature in my realistic acceleration patches. I hope that the introduction of YAPF has simplified the implementation of such a feature.
I also remember that someone wrote a patch for speed signs, which allowed you to set a maximum speed for a piece of track. It has been a while since I last heard/read about it. I fear that this patch (along with all other patches that are not updated regularly) is also incompatible with the current versions.
Such speed signs might be a solution to the problem of trains entering a station with high speeds. Just place speed signs "slow" before the entrance(s) of the station, and place speed signs "fast" at the exit(s).
*Select one from: realistic acceleration in trunk version, realistic acceleration of MiniIN, semirealistic acceleration from (patched) MiniIN
As for yellow signals, there was a patch implementing yellow signals, but it has not been kept up to date with either the trunk or MiniIN versions. It might even be incompatible with the current map array, as the bits used for yellow signals may now be used for something else.
I also have thought about slowing down gradually (as opposed to instantly) at red signals. I don't think you'll need a new map array for this, but it needs a clever way of using the pathfinder to determine which signal is next, how far away it is, at what the state (red, yellow, green, or maybe also something else) is. I will (again) have a look at it, as I planned (long ago) to implement such a feature in my realistic acceleration patches. I hope that the introduction of YAPF has simplified the implementation of such a feature.
I also remember that someone wrote a patch for speed signs, which allowed you to set a maximum speed for a piece of track. It has been a while since I last heard/read about it. I fear that this patch (along with all other patches that are not updated regularly) is also incompatible with the current versions.
Such speed signs might be a solution to the problem of trains entering a station with high speeds. Just place speed signs "slow" before the entrance(s) of the station, and place speed signs "fast" at the exit(s).
*Select one from: realistic acceleration in trunk version, realistic acceleration of MiniIN, semirealistic acceleration from (patched) MiniIN
Can we keep it a little bit civil here? I hope you have read the forum rules before joiningRMJ wrote:... So just pleast stop it, so very very annoying.

TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Reading what was said, it is possible with speed sign patch and orange signal state patch and perhaps possible with the new map array...so what he was saying was out of order...and saying it was realism *** was also out of order, realism is a valid suggestion. He really needs to know what he's on about before commenting.
Ukončete, prosím, výstup a nástup, dveře se zavírají
A little comment on what I said earlier about looking ahead to red signals. I already managed to implement such a feature for single (i.e. non-branching) tracks. Also, for trains in tunnels and on bridges it also doesn't work yet. But as soon as I can get this to work as well, I will post a patch with this feature.*
*Note to people who don't like this feature: There will be a patch option to enable/disable it.
*Note to people who don't like this feature: There will be a patch option to enable/disable it.
Who is online
Users browsing this forum: No registered users and 1 guest