The International Simutrans Forum

 

Author Topic: Separate offset for images in depot  (Read 1413 times)

0 Members and 1 Guest are viewing this topic.

Offline The Hood

  • Devotee
  • *
  • Posts: 2889
  • pak128.Britain developer
Separate offset for images in depot
« on: December 16, 2012, 09:18:08 AM »
See the screenshot below:



The small icons you can see actually belong to the vehicle below the one where they appear, because I've used offsets to position the image as I want it for positioning in game. Obviously it would be nice to have them in the correct place - could we define a separate offset in dat files for use only in the depots?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9586
  • Languages: De,EN,JP
Re: Separate offset for images in depot
« Reply #1 on: December 16, 2012, 11:33:35 AM »
Must be a seperate line in the dat. If you go that far, maybe a special depot image is the best solution.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Separate offset for images in depot
« Reply #2 on: December 16, 2012, 11:46:59 AM »
a special depot image
That would be very useful! One could then "normalize" the pictures a bit, whether ships, planes, trucks ...

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Separate offset for images in depot
« Reply #3 on: December 16, 2012, 01:01:11 PM »
Depot image would be most useful.

Offline The Hood

  • Devotee
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Separate offset for images in depot
« Reply #4 on: December 16, 2012, 01:20:14 PM »
That would be fine for me too - presumably defaulting to current behaviour if none defined?

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Separate offset for images in depot
« Reply #5 on: December 16, 2012, 02:28:08 PM »
Separate offset for images in depot are very usefull.

Offline wlindley us

  • Devotee
  • *
  • Posts: 979
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: Separate offset for images in depot
« Reply #6 on: December 16, 2012, 04:13:02 PM »
The "build a factory / building"  dialog would also benefit from improvements in how "preview" images are displayed, particularly in that they do not respect offsets and multiple frontimage/backimages.