Idea and proposal

NightFury · 16 days ago

Good day! And a great mood!
I would like to thank you once again for your work!


A little background, I'm trying to automate processes in the game using mods, including the Programable Network mod, and of course, your work!
What I see as the usefulness of this mod is the reduction of space. Instead of building stations for each product, you can build a single station, especially near sorting mining towers, where space is usually limited.

We have already found out that this mod will not work in the "network" mode. However, in the classic mode, your mod works perfectly at the final unloading point. However, I would like to try using it near the mining tower. However, with your stations, the train will always arrive there, as there is no "sufficient goods for loading" condition flag, as there is no pre-selected goods. I would like to avoid this behavior and make the trains smarter, so that they only arrive at the necessary stations. Something is probably like in the "network" mode, only without first reserving the final unloading point, since in my thoughts I assume that the final unloading point is always ready to receive the train.

What is the essence of the question, is it possible to add a flag option to your stations, maybe optionally, so that trains arrive only when there is enough cargo to load. As shown in the screenshot.Screenshot_210.png The product and condition are selected in the screenshot. But maybe it will be possible to make such a condition without the product =)

And then such behavior would already be quite similar to the behavior in the "network" mode, but with your stations that reduce the space.

I hope I have clearly expressed my thoughts. And thank you in advance for your attention!

wtmxhyy
wtmxhyy · 16 days ago

让列车只有在有足够货物可装载时才到站?这不是卸货站的任务.这是火车行进规则.
从逻辑推断,这是一个发车信号💚,首先判断下一个目标站点是否有指定数量货物,而站点反馈发送一个发车信号,火车确认有这个信号时启动任务,抵达指定地点开始卸货.

那么,其实就是一个上货站,用来装载货物,他的缓冲区到了用户设定阀值,也就是缓冲区大于用户自定义阀值时,发送💚标志.标记为可抵达任务区.自动给火车发送一个任务,要截获火车当前任务面板,清空当前任务,添加一条新的任务,然后火车自动开往目的地开始自动装货,然后自动执行下一个逻辑任务,按照火车线路规划继续执行.

智能卸货站设计目的就是用于最终的终点站,他不管车上有什么货物,都会全部依次卸载.不用手工设定.当然保留了手工设定,用户可以自己决定什么卸载,如果不指定就全卸载.

image.png
但是image.png

这个功能不是已经存在吗?
我观察到了,他是一个随着火车来判定的,你的意图就是存在一个持久的ui
一个可以手工直接选定一定额度的恒定阀值开关或者滑动条.他限定了这个站点就是具备一个强制的规则.
这个规则是绑定这个站点的,而不因为列车进入和驶离产生变化.
他是用户对这个站点控制权!
现在的游戏规则是设定一次,而车辆下一次就会重置规则,你要锁定规则对吧?

Should trains only arrive at stations when there is sufficient cargo to load? This is not the function of an unloading station; it is a train movement rule.

Logically deduced, this is a departure signal 💚. The system first checks whether the next target station holds a specified amount of cargo. The station then sends back a departure signal, and the train initiates its task upon recognizing this signal. It travels to the designated location and begins unloading cargo.

In essence, this is a loading station for cargo loading. When its buffer reaches the user-set threshold—specifically, when the buffer stock exceeds the custom threshold set by the user—a 💚 indicator is sent out, marking the zone as an accessible task area. The system automatically assigns a new task to the train: it intercepts the train's current task panel, clears all ongoing tasks, and adds the new task. The train will then automatically travel to the destination for automatic loading, proceed to execute the next logical task on its own, and continue operating according to its pre-planned rail route.

The intelligent unloading station is designed to serve as a terminal destination. It unloads all cargo on the train sequentially regardless of cargo types, requiring no manual configuration. Manual configuration is still available as an optional feature; users may specify which goods to unload, and all cargo will be unloaded by default if no specifications are entered.

Doesn't this feature already exist?
I've noticed that its judgment is tied to trains. What you want is a persistent UI: a toggle or slider that lets users manually set a fixed threshold value. It enforces a mandatory rule specific to this station.
This rule is bound to the station and will not change as trains arrive or depart.
It represents the user's full control over the station!
Under the current game logic, any settings you make will reset the next time a train arrives. You want to lock these rules in place, right?

NightFury · 16 days ago

Yes, I want to establish this rule regardless of the product.

wtmxhyy
wtmxhyy · 12 days ago

NightFury wrote:

Yes, I want to establish this rule regardless of the product.

经过3天的研究和分析,排除了很多冲突和问题.

我确定了基本的逻辑线路,虽然还很粗糙.但是已经具备了基本的功能逻辑.

剩下就是测试,告诉我改进的方向.没有方向指引,我无法继续改进,因为我不知道下面应该如何做呢.

测试后,给我反馈意见🦀🦀

After three days of research and analysis, many conflicts and issues have been ruled out.

I have finalized the basic logical workflow. It is still rough, yet it already has fundamental functional logic.

The next step is testing. Please tell me the directions for improvement. Without guidance, I cannot proceed with further refinements, as I am unsure what to do next.

Kindly provide feedback after testing 🦀🦀

image.png

35
Showing 1–5 of 5