FS#3281 - Add new 4x var for ARV

Attached to Project: OpenTTD
Opened by George (George) - Tuesday, 27 October 2009, 17:40 GMT
Last edited by frosch (frosch) - Saturday, 08 December 2012, 01:08 GMT
Type Feature Request
Category Vehicles → Articulated
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
  • George (George) (2011-04-20)
Private No



Wiki says:
Curvature info (var 45)
Format: xxxTxBxF
This returns the amount of curvature between the adjacent wagon pairs. It is useful for train vehicles that normally tilt in curves. The curvature is the difference in direction between the surrounding vehicles:
F = for the front pair (previous wagon to current wagon, 0 if vehicle is first)
B = for the back pair (current wagon to next wagon, 0 if wagon is last)
T = for the triplet (previous wagon to next wagon; is zero in an S-bend)
Possible values ...

I would like to ask to make 2 more vars. one for DX and one for DY.
DX=X1-X2, DY=Y1-Y2 (The X location, The Y location of two parts of ARV)
May be 6x var, where the parameter is offset, >0 forward, <0 backward
This task depends upon

Closed by  frosch (frosch)
Saturday, 08 December 2012, 01:08 GMT
Reason for closing:  Implemented
Additional comments about closing:  available via var 62 for some time
Comment by George (George) - Saturday, 07 November 2009, 15:48 GMT
I'd like also to ask DZ too, because I found that I forgot to request it before.