News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

district-4-wheel constraints

Started by Vladki, May 02, 2019, 08:21:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

Here is a fix for district-4-wheel constraints. Particularly the rear brake constraint[next] were broken.


diff --git a/london-underground/district-4-wheel.dat b/london-underground/district-4-wheel.dat
index 5d04803db..370bb875a 100644
--- a/london-underground/district-4-wheel.dat
+++ b/london-underground/district-4-wheel.dat
@@ -100,7 +100,6 @@ Constraint[Next][0]=met-ashbury-1863-third-unfitted
Constraint[Next][1]=met-ashbury-1863-brake-rear-unfitted
Constraint[Next][2]=district-4-wheel-third-unfitted
Constraint[Next][3]=district-4-wheel-brake-rear-unfitted
-Constraint[Next][4]=none

liverytype[0]=District-Standard
liverytype[1]=LT
@@ -157,12 +156,6 @@ max_loading_time=30
comfort[0]=0
comfort[1]=39

-Constraint[Next][0]=met-ashbury-1863-third-unfitted
-Constraint[Next][1]=met-ashbury-1863-brake-rear-unfitted
-Constraint[Next][2]=district-4-wheel-third-unfitted
-Constraint[Next][3]=district-4-wheel-brake-rear-unfitted
-Constraint[Next][4]=none
-
Constraint[Prev][0]=met-ashbury-1863-third-unfitted
Constraint[Prev][1]=met-ashbury-1863-brake-front-unfitted
Constraint[Prev][2]=district-4-wheel-third-unfitted
@@ -318,7 +311,6 @@ Constraint[Next][8]=met-dreadnought-third
Constraint[Next][9]=met-dreadnought-brake-rear
Constraint[Next][10]=district-4-wheel-third-fitted
Constraint[Next][11]=district-4-wheel-brake-rear-fitted
-Constraint[Next][12]=none

EmptyImage[E][0]=./images/district-4-wheel-brake-front.1.4
EmptyImage[SE][0]=./images/district-4-wheel-brake-front.1.5
@@ -374,20 +366,6 @@ comfort[1]=39
liverytype[0]=District-Standard
liverytype[1]=LT

-Constraint[Next][0]=met-jubilee-third
-Constraint[Next][1]=met-jubilee-brake-rear
-Constraint[Next][2]=met-ashbury-1863-brake-rear-fitted
-Constraint[Next][3]=met-ashbury-1863-third-fitted
-Constraint[Next][4]=met-ashbury-1863-composite-fitted
-Constraint[Next][5]=met-ashbury-1863-first-fitted
-Constraint[Next][6]=met-bogie-third
-Constraint[Next][7]=met-bogie-brake-rear
-Constraint[Next][8]=met-dreadnought-third
-Constraint[Next][9]=met-dreadnought-brake-rear
-Constraint[Next][10]=district-4-wheel-third-fitted
-Constraint[Next][11]=district-4-wheel-brake-rear-fitted
-Constraint[Next][12]=none
-
Constraint[Prev][0]=met-jubilee-third
Constraint[Prev][1]=met-jubilee-brake-front
Constraint[Prev][2]=met-ashbury-1863-brake-front-fitted

jamespetts

Thank you for this. The .diff file is not easy to apply manually as it is not clear to which vehicles that the changes apply; are you able to put this on your Github repository for automatic merging? I should be most grateful.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Vladki

Pull request created. I'm sorry that my previous diff was against older version (without classes).