News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Using of offsets

Started by Václav, May 17, 2013, 06:39:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Václav

May it be any bug - but I am not sure. For this reason I decided to place this topic in help center.

I created some trams and trains for pak96.comic.

Trams Urbanica and Pontica - and trains Varieta and Amphibia have cars of different length. Front and rear cars have length 12, inserted cars have length 8 (or even 12 in case of Varieta).

But I found that in-game alignment of these vehicles is broken.
A: Cars with length 12 (and even 16 in case of other trains) are aligned in such way that they are shifted a little to else game tile
B: Cars with length 8 are aligned as they should be
C: In final count it gives strange result that front and rear cars seems be aligned right - and middle cars are shifted out

I decided to correct this different alignment with using of offsets (while they might be implemented only for buildings)
D: I used them to cars with length 8 with good effect
E: When I tried to use them on cars with length 12, alignment of cars was broken (again) like if no offsets would be used

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní