Skip to main content
Topic: [patch] z-offsets for trees (Read 3748 times) previous topic - next topic

[patch] z-offsets for trees

Hi

In may game I have trees on the way... The road is public, built on the start of the game, I do not know when the trees have appeared.

Pak 128 Nightly 808 - Simutrans 102.2.2 (last stable)

Giuseppe

Re: Trees on the way

Reply #1
Nature conquers back! It is a known bug. Internally these trees are not on the road tiles but on neighboring tiles, and the graphics have a wrong offset.
Parsley, sage, rosemary, and maggikraut.

 

[patch] z-offsets for trees

Reply #2
This patch introduces z-offsets for trees. This allows a more precise positioning of trees on tiles. After rotation trees are resorted on the tile to avoid strange overlapping of images.

Reminder: The simutrans code ****umes that the graphics of the trees in the pak-files are centered on the tile.
Parsley, sage, rosemary, and maggikraut.

Re: [patch] z-offsets for trees

Reply #3
Maybe we should wait with this until the next version is released, as it an esthetical problem. The solution seems ok, and it will just increase savegame size.