That code already exists. It's part of the train pathing algorithm.computeraddict wrote: βMon Jun 10, 2024 9:28 amMy point was that even just finding that value is not trivial.
Search found 46 matches
- Mon Jun 10, 2024 7:58 pm
- Forum: Ideas and Suggestions
- Topic: Trains: Chain signals should factor in the length of the train
- Replies: 55
- Views: 11582
Re: Trains: Chain signals should factor in the length of the train
- Mon Jun 10, 2024 2:10 am
- Forum: Ideas and Suggestions
- Topic: Trains: Chain signals should factor in the length of the train
- Replies: 55
- Views: 11582
Re: Trains: Chain signals should factor in the length of the train
But with the proposal, it will lead to LCCCCCCC train ALWAYS reserving both junctions. Even when it is not stricly necessary. Although in such case it is for safety, in other case i think the throughput will be (forcibly) reduced compared to what it is now (without safe exit). Er, no, it'll only re...
- Mon Jun 10, 2024 1:26 am
- Forum: Ideas and Suggestions
- Topic: Trains: Chain signals should factor in the length of the train
- Replies: 55
- Views: 11582
Re: Trains: Chain signals should factor in the length of the train
If you do not use "safe exit block", then the current system is not fool-proof, but the current system allow train to follow each other closely in a junction if you signal for it, whereas with the proposition it will no longer be possible and all train will have an increased distance betw...
- Sun Jun 09, 2024 11:28 pm
- Forum: Ideas and Suggestions
- Topic: Trains: Chain signals should factor in the length of the train
- Replies: 55
- Views: 11582
Re: Trains: Chain signals should factor in the length of the train
The one thing about this idea that I'm unsure on, if you have a long train trying to pass through multiple busy intersections of smaller trains that don't have enough room between them for the larger one, you could end up with the larger train being deadlocked unable to proceed. In contrast, with s...
- Sun Jun 09, 2024 10:55 am
- Forum: Ideas and Suggestions
- Topic: Trains: Chain signals should factor in the length of the train
- Replies: 55
- Views: 11582
Re: Trains: Chain signals should factor in the length of the train
[*]The biggest unanswered question of the proposal is how the chain signal should indicate when it is blocked because of a lack of room on the other side [*]This suggestion isn't about 'eliminating gameplay' or 'enabling bad track design'. It's about taking something tedious and manual - checking e...
- Sat Jun 08, 2024 7:09 pm
- Forum: Ideas and Suggestions
- Topic: Trains: Chain signals should factor in the length of the train
- Replies: 55
- Views: 11582
Re: Trains: Chain signals should factor in the length of the train
That is already optimal everywhere except the block immediately after a chain signal.Illiander42 wrote: βSat Jun 08, 2024 9:28 amThis would create an optimal design of "fit as many non-chain-signals into your straights as possible."
- Sat Jun 08, 2024 8:05 am
- Forum: Ideas and Suggestions
- Topic: Trains: Chain signals should factor in the length of the train
- Replies: 55
- Views: 11582
Re: Trains: Chain signals should factor in the length of the train
Given all the improvements to trains in 2.0 - including, if I understood some of the FFF blog post correctly, some major internal cleanups to make the system more amenable to future upgrades - it seems like a good time to revisit this idea. To summarize things so far and address some of the predicta...
- Sat Jun 08, 2024 6:41 am
- Forum: Implemented in 2.0
- Topic: Specify Lamp Colour On Lamp Itself
- Replies: 7
- Views: 1924
Re: Specify Lamp Colour On Lamp Itself
As discussed in FFF-388, this has been implemented in 2.0. This thread should be moved to the appropriate subforum.
- Sat Jun 08, 2024 6:29 am
- Forum: Ideas and Suggestions
- Topic: Enable click-and-drag when setting item slot filters
- Replies: 0
- Views: 162
Enable click-and-drag when setting item slot filters
TL;DR When copying settings from one building to another, you can Shift-Right-click on a building to copy its settings, then hold Shift-Left-click and drag your mouse over multiple buildings to update them all. But when you're setting item slot filters (e.g. in a cargo wagon), you have to Shift-Lef...
- Sat Jun 08, 2024 4:42 am
- Forum: News
- Topic: Friday Facts #383 - Super force building
- Replies: 173
- Views: 32856
Re: Friday Facts #383 - Super force building
I have one suggestion: the FFF shows an offshore pump being bluprinted in on landfill, and the landfill being removed to create a water body of the appropriate size. It would be better if, in this case, the pump were simply placed without removing the landfill, producing a well-water pump. The disti...
- Sat Jun 08, 2024 4:10 am
- Forum: News
- Topic: Friday Facts #403 - Train stops 2.0
- Replies: 131
- Views: 21200
Re: Friday Facts #403 - Train stops 2.0
We're getting a way to bulk-rename train stations. Will we also be able to bulk-change their colours?
- Sat Jun 08, 2024 4:06 am
- Forum: News
- Topic: Friday Facts #393 - Putting things on top of other things
- Replies: 231
- Views: 51699
Re: Friday Facts #393 - Putting things on top of other things
One thing I'm wondering - will there be an option, when using 'Set filters from signal', to control how many filters are used? I recall a couple years ago when working with a complex, heavily circuit-conditioned train unloader, the fact that a Stack Filter inserter only took a single filter conditio...
- Sat Nov 14, 2020 3:19 am
- Forum: Ideas and Suggestions
- Topic: Keep Equipment Grid Button
- Replies: 9
- Views: 2845
Re: Keep Equipment Grid Button
No, mining is right-click.AmericanPatriot wrote: βSat Nov 14, 2020 3:16 amI donβt think so. Iβm not at my computer so maybe my memory is failing, but left mouse button would mine the chest.KeepGridButton wrote: βSat Nov 14, 2020 2:59 amMany containers like chests are opened/accessed with left button
- Mon Nov 09, 2020 2:22 pm
- Forum: Ideas and Suggestions
- Topic: Train schedule: Need way to fast replace stop and/or copy+paste criteria
- Replies: 13
- Views: 4025
Re: Train schedule: Need way to fast replace stop and/or copy+paste criteria
+1 on copy/paste within a schedule. I use automated deliver-on-need trains for my outpost supplies, which means I have a lot of trains which have a schedule consisting of one loading station and then many identical copies of the drop-off station, and it's tedious setting the same set of departure co...
- Mon Nov 09, 2020 2:16 pm
- Forum: Ideas and Suggestions
- Topic: Option to Lock Power Poles Against Auto-connection
- Replies: 17
- Views: 5277
Re: Option to Lock Power Poles Against Auto-connection
Wiring manually: I cannot speak for other player, but I think that this is a process, that can get very tedious soon. In my eyes wiring power should be done only in special cases, especially when connecting the power switch. Almost everything else should wire up automatically. I agree. Special case...
- Sun Nov 08, 2020 6:54 am
- Forum: Ideas and Suggestions
- Topic: Option to Lock Power Poles Against Auto-connection
- Replies: 17
- Views: 5277
Re: Option to Lock Power Poles Against Auto-connection
- I see problems if you want to expand an area by duplication. Poles wonβt connect. Need to unlock first. Source of possible player frustration. Actually, no, you don't need to unlock them. As I specified, you can still connect to a locked pole by running a wire manually. If you've already got a co...
- Fri Nov 06, 2020 5:43 pm
- Forum: Implemented in 2.0
- Topic: Specify Lamp Colour On Lamp Itself
- Replies: 7
- Views: 1924
Specify Lamp Colour On Lamp Itself
TL;DR Let the player set the colour a lamp glows in the lamp GUI without needing to specify it via a signal What ? The lamp GUI would have an option that lets the player select a colour from the existing colour list. If a colour is selected, the lamp glows that colour at all times; if no colour is ...
- Fri Nov 06, 2020 5:40 pm
- Forum: Ideas and Suggestions
- Topic: [0.17.44] Lamp light color does not consider condition signal color
- Replies: 6
- Views: 2457
Re: [0.17.44] Lamp light color does not consider condition signal color
There are cases where overwriting colors is useful, but are there any that also use one of the colors as the condition on the lamp? I can't think of any instances where flexibility would be lost with the proposed implementation, because it would have to be a situation where β the lamp is exposed to...
- Fri Nov 06, 2020 3:08 pm
- Forum: Ideas and Suggestions
- Topic: Train Filter Signs
- Replies: 28
- Views: 6712
Re: Train Filter Signs
I thought that suggestion was already discussed and there where too much issues with it. That is the exact opposite of true: Honestly previous topic about chain signals taking into account the train length was easier in terms of possible implementation. This however could have more possible use cas...
- Thu Nov 05, 2020 7:52 pm
- Forum: Ideas and Suggestions
- Topic: Train Filter Signs
- Replies: 28
- Views: 6712
Re: Train Filter Signs
This is a long way without fuel supply. Do not even enter without X GJ fuel. And then what happens? The train has to stop somewhere to pick up more fuel. If the next stop in the schedule is too far away to make it, what is is supposed to do? If the filter signal is an absolute barrier, then the tra...