Author Topic: oil rigg  (Read 3046 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4251
  • Total likes: 177
  • Helpful: 149
  • Languages: EN, DE, AT
oil rigg
« on: August 06, 2010, 01:06:03 PM »
Ships will drive over the oilrigg, which does not look nice.

The images have to be cutted into back- and front images.

Is there anybody out there who  could help?
Parsley, sage, rosemary, and maggikraut.

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • Total likes: 2
  • Helpful: 14
  • I'm the constructor, the architect
    • Escala real
Re: oil rigg
« Reply #1 on: August 08, 2010, 09:27:07 AM »
I think that's not a matter of front-back images, but the way the water buildings are drawn by the graphic engine.

Escala Real...a blog about Simutrans in Spanish...

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4251
  • Total likes: 177
  • Helpful: 149
  • Languages: EN, DE, AT
Re: oil rigg
« Reply #2 on: August 08, 2010, 01:07:21 PM »
Yes you are right: there a no errors with the front images of this graphic. There is simply no front image defined.

And no: the graphics engine does take front images into account even on water. I know how the graphic engine works - I implemented a significant part of it ;)
Parsley, sage, rosemary, and maggikraut.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8819
  • Total likes: 322
  • Helpful: 229
  • Languages: De,EN,JP
Re: oil rigg
« Reply #3 on: August 08, 2010, 08:46:50 PM »
Stupid question: Which images should be back images? The oil rigg is cutted like all other images.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4251
  • Total likes: 177
  • Helpful: 149
  • Languages: EN, DE, AT
Re: oil rigg
« Reply #4 on: August 09, 2010, 08:24:39 AM »
Basically, everything that has to be drawn on top of the ships, has to go to the front image. See attachment. Everything above green line should go into frontimage imho (the plattform and some of the pillars).

Edit:

Actually, defining Front images as
Code: [Select]
BackImage[0][0][0][0][0]=-
BackImage[0][0][1][0][0]=-
BackImage[0][1][0][0][0]=-
BackImage[0][1][1][0][0]=./n0-oilrigg.0.0
FrontImage[0][0][0][0][0]=./n0-oilrigg.0.3
FrontImage[0][0][1][0][0]=./n0-oilrigg.0.2
FrontImage[0][1][0][0][0]=./n0-oilrigg.0.1
FrontImage[0][1][1][0][0]=-
cures a great part of the bug.
« Last Edit: August 09, 2010, 08:41:36 AM by Dwachs »
Parsley, sage, rosemary, and maggikraut.