The International Simutrans Forum

 

Author Topic: Makeobj to ignore Experimental liveries  (Read 1335 times)

0 Members and 1 Guest are viewing this topic.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18721
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Makeobj to ignore Experimental liveries
« on: August 10, 2011, 11:36:35 PM »
Unfortunately, the liveries feature in Experimental requires additional characters to be inserted into the definitions of a vehicle's images as in the following example:

Code: [Select]
EmptyImage[E][1]=./images/lnwr-bloomer-tender-black_E.0

The version without the livery definition is:

Code: [Select]
EmptyImage[E]=./images/lnwr-bloomer-tender-black_E.0

This means that it is no longer possible to use .dat files written for Experimental and that use the liveries feature with the Standard makeobj (and there isn't an easy way around this, as the liveries code re-uses large parts of the freight images code). This is most unfortunate for any dual pakset such as Pak128.Britain. Would it be possible for the Standard Makeobj to ignore the Experimental livery definitions such that the .dat files once again work equally in Standard and Experimental?

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4597
  • Languages: EN, DE, AT
Re: Makeobj to ignore Experimental liveries
« Reply #1 on: August 11, 2011, 06:21:58 AM »
Yes, it would be possible. There is only one person needed who does it. My first choice would be the guy, who implemented the livery stuff for experimental and thus broke the things you mentioned.