Page 1 of 1
[2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 3:32 am
by flamefield
Under normal circumstances, the maximum span of two elevated railway bracket houses should be 16 grids (excluding rail support), but sometimes I create bridges that can span up to 24 grids, which seems difficult to achieve and cannot be replicated by copying and pasting. I cannot confirm if this is a bug because the game does not specify how many grids a bracket can hold for a railway
2.0.21
Re: Regarding the maximum span of elevated railways
Posted: Mon Nov 25, 2024 3:57 am
by flamefield
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 5:27 am
by IsaacOscar
How did you build the various rails?
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 5:38 am
by IsaacOscar
This is what I got:
- Screenshot 2024-11-25 153500.png (1.91 MiB) Viewed 647 times
They were all built from remote view. The bottom one was building by placing an elevated support, then putting a rail in my cursor, then clicking the green arrow that shows up, and dragging my mouse.
The next one was built the same, but holding shift.
The next ones were built similarly, but I ctrl-x'd the ghosty for the right support and move it slightly, and added some more rails.
The strange things is I swear the second one from the top was fully built before, but then I moved it and now it's not.
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 5:46 am
by flamefield
IsaacOscar wrote: Mon Nov 25, 2024 5:27 am
How did you build the various rails?
I can only confirm that these 24 grid spans were triggered while holding down the shift, but it's difficult to trigger. I'm not sure if there are any other reasons for this phenomenon, and railway supports that have already been successfully placed cannot be duplicated through replication. After replication, there will be 8 grids in the middle that cannot be placed by robots. If manually placed, additional rail supports will inevitably occur
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 6:00 am
by flamefield
IsaacOscar wrote: Mon Nov 25, 2024 5:38 am
This is what I got:
Screenshot 2024-11-25 153500.png
They were all built from remote view. The bottom one was building by placing an elevated support, then putting a rail in my cursor, then clicking the green arrow that shows up, and dragging my mouse.
The next one was built the same, but holding shift.
The next ones were built similarly, but I ctrl-x'd the ghosty for the right support and move it slightly, and added some more rails.
The strange things is I swear the second one from the top was fully built before, but then I moved it and now it's not.
I was trying to use an elevated
bridge to cross another railway (four tracks, 20 grids wide) in the game when I suddenly noticed that one of the railways used fewer support to cross over. I noticed that there were more railways between the two supports of this railway than normal, so I immediately transferred it to the test archive for testing. After trying a few times, I reproduced a railway with a 24 grid span, but I never succeeded again
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 6:08 am
by IsaacOscar
flamefield wrote: Mon Nov 25, 2024 6:00 am
I was trying to use an elevated
bridge to cross another railway (four tracks, 20 grids wide) in the game when I suddenly noticed that one of the railways used fewer support to cross over. I noticed that there were more railways between the two supports of this railway than normal, so I immediately transferred it to the test archive for testing. After trying a few times, I reproduced a railway with a 24 grid span, but I never succeeded again
Wait, you're using the map editor, in that case the dev's are likely to not consider this a bug (see
120012).
Unless you can produce a non-edited save that exhibits the problem.
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 6:15 am
by IsaacOscar
According to
https://github.com/wube/factorio-data/b ... s.lua#L111 and
https://github.com/wube/factorio-data/b ... s.lua#L309
The "support_range" of a rail ramp is 6, and a rail-support is 11.
And in game, a ramp can support 4 rails And i can have one rail support support 10 rails. So maybe these numbers are related? (I'm to lasy to try modding them to see if they make a difference)
Naturally the API-Docs don't say at all what those fields do
https://lua-api.factorio.com/latest/pro ... port_range (just that they can be between 1 and 500).
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Mon Nov 25, 2024 6:21 am
by flamefield
flamefield wrote: Mon Nov 25, 2024 5:46 am
IsaacOscar wrote: Mon Nov 25, 2024 5:27 am
How did you build the various rails?
I can only confirm that these 24 grid spans were triggered while holding down the shift, but it's difficult to trigger. I'm not sure if there are any other reasons for this phenomenon, and railway supports that have already been successfully placed cannot be duplicated through replication. After replication, there will be 8 grids in the middle that cannot be placed by robots. If manually placed, additional rail supports will inevitably occur
That's bad. When I transferred to the test archive, I forgot to save the official archive, which seems to be an occasional problem I can only wait until the next time there is a problem to save the evidence. The reason why I want to test the archive is because I just created a set of straight, curved, and diagonal railway blueprints for a pure elevated railway in the test archive. Suddenly, I realized that I suspected that the blueprint I had just completed would be completely invalidated, so I hurriedly started testing
Re: [2.0.21] Spacing of elevated rail support inconsistent
Posted: Thu Dec 05, 2024 10:02 pm
by boskid
Given that editor was used which may violate some assumptions related to building entities, i am going to throw this to Not a bug.