Please forgive me. I am linguistically challenged here, I only understand english.
Given an arbitrary vehicle V and a portable good G, what is the the relationship in the game engine between the capacity of V and the current load of G regarding the display of "EmptyImage" and "FreightImage" and "FreightImagetype"? In particular
Quote
The parameters freight and FreightImagetype
The value of this parameter must be a valid object name of a type of goods. Allowable names are usually all good .*.pak files used in the pak directory. The values None, Passagiere and Post can be used in all paksets.
For a list of goods that may be used in a specific pakset, consult the pakset documentation.
QuoteThe value of this parameter must be a valid object name of a type of goods.
I am guessing that "this parameter" is 'freight' and that the value must be a "known" good, say V.freight="Passagiere" (as that is available in all paksets).
But for the life of me, I cannot understand what V.FreightImagetype does? Even more how this relates to V.EmptyImage...
Again, please forgive me. I just can't work out what these parameters do?
tia
CY
A real example is worth 10 explanations, then...
DAT http://simutrans.svn.sourceforge.net/viewvc/simutrans/pak128/vehicles/road-cargo/bulk_truck_0.dat?revision=1161&view=markup
PNG http://simutrans.svn.sourceforge.net/viewvc/simutrans/pak128/vehicles/road-cargo/bulk_truck_0.png?revision=1161&view=markup
AFAICT both freight= and all freightimagetype[]= should reference a good that exists, or you get an error.
I'm working on the new page for vehicle dat. With examples and more details.
EmptyImage[] have the image for the vehicle when empty.
When you set a good on Freight parameter you can carry all goods with same category. (like bulk goods)
FreightImageType[] you set a good name that is in the same category the freight parameter. You can add as much as you want.
FreightImage[][] have the same logic from EmptyImage, but you set the 'x' value the same of FreightImageType. Thus, when you load the good you chose in FreightImageType it will use the corresponding FreightImage.