FS#4400 - Change var F2 with CB 36

Attached to Project: OpenTTD
Opened by George (George) - Tuesday, 11 January 2011, 23:49 GMT
Type Feature Request
Category Vehicles → Articulated
Status New
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



It would be useful to set var F2 with the CB 36, as the player did the refit already
This task depends upon

Comment by Remko Bijker (Rubidium) - Monday, 17 January 2011, 20:51 GMT
In what way would it be useful to override the player's choice of the cargo subtype?
Comment by George (George) - Monday, 17 January 2011, 21:31 GMT
It it useful for locos, that carry no cargo, to specify several subtypes.
May be I did a bad description, let me try to make it more detailed.
Usage 1)
I have a loco, let's say "5XXX Series".
F2 would mean, for example
0 - 5000
1 - 5001
... and so on
While life of production it is available, let's say
5000 in 1950-1960
5001 in 1955-1965
5002 in 1957-1958
5003 in 1961-1978
5004 in 1962-1980
in 1961-th, for example, initial value of F2 should be 03, that I supposed to set with CB 36, and disallow it to be 0 and 2
May be it can be done in some other way, but I have no idea which one, except use separate ID for each model (and here we get the limitation for ARvs to 128 IDs to attach.
Usage 2)
When the loco is build while testing the model, it has to have one view, while when bought on market being available for every one - the other. I have no idea how to store it except var F2. The year of build does not fit, because during first part of the year it is exclusive, while during last one - not