Patchman wrote:George, in the next version of your cargo set, you should make sure to set tourists to be in cargo class 0 (i.e. cargo prop 16 set to 01 00). This way, they'll appear at bus stations and not truck stations from a59 on.
And why should it be 01 00? As I understand the wiki, it should be 05 00, isn't it? And petrol should be 44 00?
Wiki says
Code: Select all
To make vehicle sets more compatible with future new cargo definitions, these two properties allow vehicles to define what type of cargo they should be refittable to. A wagon will be refittable to all cargo types that match the classes set in prop. 28 except for the ones that match the classes set in prop. 29. In addition, afterwards those cargo types listed in prop. 1D will be toggled. In terms of logic, it is
Refit list = (cargos from prop. 28 AND NOT cargos from prop. 29) XOR cargos from prop. 1D
This means, if a cargo type is in the list because it matches prop. 28 but not prop 29, having the respective bit set in prop. 1D will disable it again. Conversely, if the cargo type is not in the list, the bit in prop. 1D will add it. This way, if props. 28/29 are unset, prop. 1D will retain the original meaning, but it is still able to selectively add or remove certain cargo types even if props. 28/29 are used.
As a consequence, you have both full control over the cargo types that you know of (using prop. 1D), and those you don't know of yet (using props. 28/29). Leave the bits for cargos that you don't know of unset in prop. 1D, and set/clear the bits for known cargos to add/remove them from the list as appropriate.
The class list is a bit mask, with the following bits defined so far:
Bit Value Cargo classes
0 1 Passengers
1 2 Mail
2 4 Express cargo (Goods, Food, Candy)
3 8 Armoured cargo (Valuables/Gold/Diamonds)
4 10 Bulk freight (Coal, Grain etc., Ore, Fruit)
5 20 Piece goods (Livestock, Wood, Steel, Paper)
6 40 Liquids (Oil, Water, Rubber)
7 80 Refrigerated cargo (Food, Fruit)
Note that cargo types may belong to several classes. This is the reason for making two properties, an additive and a subtractive one, because this way a vehicle can be specified to be refittable to, for example, all express cargo that does not require refrigeration (i.e., from the default cargos, no food).
For the cargo types added in this way, the vehicle will probably have no specific graphics (in action 3) to show the cargo load. In this case, the default will be used, which should therefore be sufficiently generic-looking if possible.
And one more question. Now any long vehicle is refitted to any cargo (because all the variants have the same ID for ID saving). Would it be possible to specify, that for known cargos (that are in the list in action 03) vehicles are refitted as intended, and for unknown cargos the refit would be defined on class (oil tankers for liquid cargos, box goods van for express cargos, containers for piece cargo and so on)?