The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: passengerpigeon on August 18, 2019, 01:00:36 AM

Title: How can I fix these ship stops?
Post by: passengerpigeon on August 18, 2019, 01:00:36 AM
(https://i.imgur.com/2sgyht2.png)
(https://i.imgur.com/SVFHUrJ.png)

Dear community,
I have recently created two different dock objects, but as the above images show, neither one of them is properly obscuring the tile on which they are placed. I want the stone wharf to be recessed into the slope tile, but the wooden pier to obscure it completely so that there are no walls around each pier tile. How can I modify the attached .dat file to fix this issue?
Title: Re: How can I fix these ship stops?
Post by: Matthew on August 18, 2019, 01:15:26 PM
Hi, passengerpigeon!

It's good to meet you.  :)

I also find harbour stops difficult to understand  :-[, so I look forward to learning more from this thread.

Have you tried changing the stone wharf to needs_ground=1? Perhaps that would help???  :question:
Title: Re: How can I fix these ship stops?
Post by: prissi on August 18, 2019, 01:54:14 PM
Please look at the pak64 harbour tiles in the SVN, which exactly does this.
https://sourceforge.net/p/simutrans/code/HEAD/tree/pak64/player/
and then files big_hafen.dat and the new_alpha*.png files
Title: Re: How can I fix these ship stops?
Post by: Leartin on August 18, 2019, 03:10:17 PM
The harbour does not change anything about the ground underneath. But it's on a different "layer" than the ground.

If you want the stone wharf to be covered by the ground tiles in front, you simply can't draw the part that would be covered. I attached a file to show you where the graphic should be cut.

your wood dock are impossible the way you try to do them. You shouldn't try to place water where there is ground. Instead, you'd create one tile that's to be placed on the slope, and place all others in the water. It's a dock with several tiles, use the second and third slot in the picture definition to give a coordinate. For example,
Title: Re: How can I fix these ship stops?
Post by: passengerpigeon on August 18, 2019, 03:21:02 PM
Quote from: Leartin on August 18, 2019, 03:10:17 PM
I attached a file to show you where the graphic should be cut.
Thanks for the help, but are you sure that would work? I think that the default Pak64 slopes are steeper than that.
Thank you,
Passengerpigeon.
Title: Re: How can I fix these ship stops?
Post by: Leartin on August 18, 2019, 07:46:31 PM
You are right, pak64 has steep slopes, sorry.