Some testing ...
Reversing
Karn wrote:
Then there is the reversing idea. My plan is to rework reversing, basically as mentioned ^^.
Then it will allow more combinations for shunting.
Yeah, after decoupling and later re-coupling at the back of train (engine running around), the consist is "flipped" (switches around). Maybe "reworking reversing" would be also beneficial for the old "push-pull" problem?
Querying the engine
Some applications need querying the engine, either by "wagon override" or by using CB36. E.g., consists of rail cars expanded by (non-motorized) coaches. Usually, these come in fitting liveries, which get broken on decoupling. Supplying coaches with fitting liveries would be excessive, and would confuse the player. There needs to be some method to either retain the overridden livery, or to prevent such trains from decoupling (set by the newgrf).
Apart from "livery/wagon override" and/or CB36 there´s another problem.
Although there´s maintenance cost for wagons, there´s no real "maintenance" for wagons in depots, i.e. vars 4B and 92 are not set for wagons, making livery changes by visiting a depot after a certain time (use case: DBXL, SBB Set, ...) impossible. And thus, only available when being attached to an engine:
Code: Select all
def(1) lastservicedate(
engine(
ref(10) if(<date(31-12-1949)) // cream livery
ref(11) else // red livery
)
)
def(2) ageinyears(
ref(10) if(0 .. 10) // still cream, try later
ref(1) else // 10 years older, check maintenance date
)
def(3) yearbuilt(
ref(2) if(< 1950) // old livery, check for change
ref(11) else // already red
)
Without exposing vars 4B/92 also for wagons, this cannot be worked around.
MUs, callback handling
Karn wrote:
MUs (dualheads) won't be allowed to decouple, there is not much to do with generic
wagons, it would be just weird. Only possibility to decouple will be to decouple 2 already
coupled MUs.
Amazing! This works as intended. I´ve already tested it with 2 coupled 3-part articulated MUs (CBs 10, 16, 1D, 2D, 36, plus (internal) livery override). It´s even amazing that it´s possible to give the decoupled part another order (manually), and when meeting again, both MUs will couple again. O/c, after recoupling, the orders for the originally decoupled MU is lost. Would be nice to have "portion working" feature as well ("flügeln"), but I have no idea how this could additionally be achieved ...
- test4.png (1.39 MiB) Viewed 1548 times
... to be continued.
regards
Michael