Rail type property 0x10 : Rail type flags have a bit setting (3) :
Enable use of precombined overlay sprites
What does that setting actually do ? How does that work ?
Rail Type related queries
Moderator: Graphics Moderators
Re: Rail Type related queries
Good question. Generally, if there are any joints/crossings etc in openttd, just two or more overlay are drawn on each other. It doesn't looks nice, especially if more detailed sprites are in use.
Above options allow to prepare separate sprites for all possible track combinations.
Now my question: anybody is using this? Any example?
Above options allow to prepare separate sprites for all possible track combinations.
Now my question: anybody is using this? Any example?
Re: Rail Type related queries
With that flag, you can instead have specially drawn sprites for every possible track combination, which will avoid some slightly weird overlapping that happens.
There are 63 regular track combinations possible, including those which are just a single piece of track on the tile. Of those, the regular baseset has just 9 drawn, the rest are made by combining pieces in the above way.
There are also special sprites for track on sloped ground, I haven't included those in that count.
See the sprite sheet here in OpenGFX: https://github.com/OpenTTD/OpenGFX/blob ... nfra06.png
Re: Rail Type related queries
Nice ...
One more thing, apart from using Action-3 'Cargo'-Type 0x0C, are the Underlays [0x02] (and PBS Overlays [0x01]) still being drawn as normal or do they have to be included with the track bits in 0x0C.
A sample ... CanBase - Narrow Gauge Rail System in temperate snowy landscape.
[workers still need to lay rails on junctions]
I don't think so, but I will. It should be perfect for my Pipeline Network ...
One more thing, apart from using Action-3 'Cargo'-Type 0x0C, are the Underlays [0x02] (and PBS Overlays [0x01]) still being drawn as normal or do they have to be included with the track bits in 0x0C.
A sample ... CanBase - Narrow Gauge Rail System in temperate snowy landscape.
[workers still need to lay rails on junctions]
Who is online
Users browsing this forum: No registered users and 25 guests