The International Simutrans Forum

 

Author Topic: game images above of object made.  (Read 3497 times)

0 Members and 1 Guest are viewing this topic.

Offline sheldon_cooper

  • *
  • Posts: 176
  • Languages: PT,EN
game images above of object made.
« on: April 17, 2016, 02:28:37 AM »
Hello, I do not know if this is the right place to report this problem, but come on!  :)
I am creating a parking on the street, road. The only problem is that when any vehicle passes over the car, the vehicle 'goes over' my car.
How can I solve this?
in advance, thanks for the help!  :D

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2591
  • Languages: EN
Re: game images above of object made.
« Reply #1 on: April 17, 2016, 04:13:31 AM »
Please post screenshots of the problem. I doubt it will be fixable however.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: game images above of object made.
« Reply #2 on: April 17, 2016, 09:15:36 AM »
If I understand this correctly think can be solved by using frontimage[...] To put cars in the front image when they need to be painted over vehicles and the rest of the road and cars to be painted behind vehicles in the normal image[...]. I think frontimage was allowed for all ways anyway...

Offline gauthier

  • Moderator
  • *
  • Posts: 3629
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: game images above of object made.
« Reply #3 on: April 17, 2016, 09:29:18 AM »
Are you talking about one of pak128's parkings or a complete new addon you are currently making ?

Offline sheldon_cooper

  • *
  • Posts: 176
  • Languages: PT,EN
Re: game images above of object made.
« Reply #4 on: April 17, 2016, 01:17:18 PM »
It is a parking lot that I'm creating for pak128, it is specific for single-way street, where cars can park at 45 degrees.
In this case I am having a problem, see:

In the first image, we see that the bus is above the parked cars, this okay!
In the second image, the bus continues over parked cars, which is wrong, because the parked cars is that it should be at the forefront for game viewing angle.

Offline gauthier

  • Moderator
  • *
  • Posts: 3629
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: game images above of object made.
« Reply #5 on: April 17, 2016, 04:50:11 PM »
as Kierongreen suggested, you have to use frontimages.

Stations are usually composed of backimages and frontimages. Backimages are displayed behind vehicles passing in the station whereas frontimages are displayed over vehicles. In your right picture, you have to use a frontimage. More information here.

Offline Leartin at

  • Devotee
  • *
  • Posts: 1152
  • PAK-DEV P192C
  • Languages: DE, EN
Re: game images above of object made.
« Reply #6 on: April 17, 2016, 04:52:41 PM »
I'd recommand using a one-way-sign instead. Thus, each sign already disables normal cars from crashing in the parked once - even on map rotation. However, the drawback is that you can place signs on other pieces of the road but flat straight, which would look very wrong.

Offline sheldon_cooper

  • *
  • Posts: 176
  • Languages: PT,EN
Re: game images above of object made.
« Reply #7 on: April 17, 2016, 07:56:28 PM »
this should be the part where I change? What should I change?
...
...
BackImage[0][0][0][0][0]=car_park.0.0
#FrontImage[0][0][0][0][0]=car_park.0.0
BackImage[1][0][0][0][0]=car_park.0.1
#FrontImage[1][0][0][0][0]=car_park.0.1

Offline gauthier

  • Moderator
  • *
  • Posts: 3629
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: game images above of object made.
« Reply #8 on: April 17, 2016, 09:45:48 PM »
Remove backimage line and uncomment frontimage.