Changing graphics over time [OpenTTD vs. TTDPatch]
Posted: 15 Feb 2009 09:54
Hi,
I just stumbled across the following problem: For an articulated tram, I want to provide two different sets of sprites to reflect the modernization that the model has been going through. To simulate that, I want to switch from the "old" sprites to the "new" ones at a certain time. Since this should only happen at a depot (no tram has ever been magically reconstructed in the middle of town), I cannot use the current date as a decision criterion. Instead, I opted for the date of last service (var 92 according to the vehicle structure). This works fine in TTDPatch, the vehicle enters a depot for service and the sprites are switched correctly. However, in OpenTTD only the very first vehicle of the consist is updated. It seems the value of var 92 is only correct for that first vehicle. Is this intended or is this a bug that should be fixed?
Regards,
Uwe
I just stumbled across the following problem: For an articulated tram, I want to provide two different sets of sprites to reflect the modernization that the model has been going through. To simulate that, I want to switch from the "old" sprites to the "new" ones at a certain time. Since this should only happen at a depot (no tram has ever been magically reconstructed in the middle of town), I cannot use the current date as a decision criterion. Instead, I opted for the date of last service (var 92 according to the vehicle structure). This works fine in TTDPatch, the vehicle enters a depot for service and the sprites are switched correctly. However, in OpenTTD only the very first vehicle of the consist is updated. It seems the value of var 92 is only correct for that first vehicle. Is this intended or is this a bug that should be fixed?
Regards,
Uwe