Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Being able to add cargo wagons to PAX only MU trains #3146

Closed
DorpsGek opened this issue Aug 25, 2009 · 5 comments
Closed

Being able to add cargo wagons to PAX only MU trains #3146

DorpsGek opened this issue Aug 25, 2009 · 5 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Chris_Booth opened the ticket and wrote:

You can add any cargo wagon to a PAX only train such as the TGV in 2cc train set. To do so build the wagons then the loco. Drag the loco to the end of the rake of wagons, then move the wagons beteen the logos heads.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/3146
@DorpsGek
Copy link
Member Author

Chris_Booth wrote:

Here are screen Shots of trains with incorrect wagons (this cant be dont in TTDPatch)

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3146#comment6536

@DorpsGek
Copy link
Member Author

Ammler wrote:

Well, I wasn't able to reproduce it with the patch, doesn't mean it isn't possible. The easiest might be just not allow moving engines around, that might be what the patch does.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3146#comment6537

@DorpsGek
Copy link
Member Author

frosch wrote:

So the problem is when a engine (E) is at second position in a free wagon chain.

My first thought was to let OTTD try to attach the remaining wagons to E, and to move them to a free row if not.
But when there are more engines in the chain you might have to split it into multiple parts and still check the train-limit.

As that sounds quite complicated, maybe indeed forbid moving the front wagon when the second vehicle is an engine.

Edit: Oh, the problem also exists when ctrl-dragging the engine to a new row. In that case every wagon can be checked.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3146#comment6539

@DorpsGek
Copy link
Member Author

frosch wrote:

Testcase attached. Three ways to create an invalid train:

  1. Ctrl-drag the dualheaded engine from first row to a new row.
  2. Ctrl-drag the dualheaded engine from second row to a new row. (maybe caused by same code as 1, maybe not)
  3. Drag the first wagon in the third row to new row.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3146#comment6722

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r18742


This comment was imported from FlySpray: https://bugs.openttd.org/task/3146

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant