The International Simutrans Forum

PakSets and Customization => Pak128 => Pak128 Bug Reports => Topic started by: sheldon_cooper on April 17, 2016, 02:28:37 AM

Title: game images above of object made.
Post by: sheldon_cooper 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
Title: Re: game images above of object made.
Post by: DrSuperGood on April 17, 2016, 04:13:31 AM
Please post screenshots of the problem. I doubt it will be fixable however.
Title: Re: game images above of object made.
Post by: kierongreen 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...
Title: Re: game images above of object made.
Post by: gauthier 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 ?
Title: Re: game images above of object made.
Post by: sheldon_cooper 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:
(http://i.imgur.com/5P2nBTP.jpg)
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.
Title: Re: game images above of object made.
Post by: gauthier 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 (http://simutrans.fr/doku.php?id=en:tutostation).
Title: Re: game images above of object made.
Post by: Leartin 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.
Title: Re: game images above of object made.
Post by: sheldon_cooper 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
Title: Re: game images above of object made.
Post by: gauthier on April 17, 2016, 09:45:48 PM
Remove backimage line and uncomment frontimage.