External Publication
Visit Post

Graphics Development • Re: [OTTD] 2cc TrainsInNML

Transport Tycoon Forums - Index page [Unofficial] April 1, 2026
Source

At the moment I'm trying to standardise the 50-ish various image styles' codes for automatic generation. Good fun.

Not completely unrelated, I suggest using XPM image format (supported by GIMP and also by the NML compiler) for image data, because since it stores image as text it avoids inflating the git repo of the project (where using e.g PNG means that for every modification of the image basically the whole thing is added as a blob to the repo, so it can lead to very large sizes).

Btw, n00b question, but isn't/aren't badges natively supported by newer versions of ottd? Is an extra grf needed for it?

The new version supports displaying and filtering by badges, but for a badge to be present they need to be added to item properties by the GRF that defines them! So the current 2ccNML has all the trains without badges, and either an standalone GRF can be used to add them by overwriting the 2ccNML trains, or the badges could be added directly to the 2ccNML GRF by adding the relevant code to the GRF sources.

Statistics: Posted by althonos — 01 Apr 2026 13:17


Discussion in the ATmosphere

Loading comments...