The International Simutrans Forum

 

Author Topic: Cannot make deep holes next to buildings  (Read 2591 times)

0 Members and 1 Guest are viewing this topic.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10675
  • Languages: De,EN,JP
Cannot make deep holes next to buildings
« on: October 24, 2013, 10:00:28 PM »
Just to remember: The double height code does not allow to make double deep holes next to buildings with up down tool.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2346
Re: Cannot make deep holes next to buildings
« Reply #1 on: October 24, 2013, 10:35:39 PM »
I can't manage to repeat this?

Offline Sarlock

  • Devotees (Inactive)
  • *
  • Posts: 1340
  • Languages: EN
Re: Cannot make deep holes next to buildings
« Reply #2 on: October 25, 2013, 02:41:15 AM »
Hmm, neither can I.  I am able to go down double deep (4 half height segments) beside buildings and roads fine.



Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10675
  • Languages: De,EN,JP
Re: Cannot make deep holes next to buildings
« Reply #3 on: October 25, 2013, 08:59:13 AM »
Use the up/down tool (u and d key binding, as I wrote), not the artifical slope tool. I will see to it anyway this evening.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2346
Re: Cannot make deep holes next to buildings
« Reply #4 on: October 25, 2013, 04:10:34 PM »
I could use that near buildings too?

Offline Sarlock

  • Devotees (Inactive)
  • *
  • Posts: 1340
  • Languages: EN
Re: Cannot make deep holes next to buildings
« Reply #5 on: October 25, 2013, 07:57:09 PM »
Ah, I see it now.



You can only go down a half-height beside the buildings, not 2 heights (standard height).

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2346
Re: Cannot make deep holes next to buildings
« Reply #6 on: October 25, 2013, 09:15:04 PM »
Again, I can lower the ground to form double slopes next to buildings :s

Offline Sarlock

  • Devotees (Inactive)
  • *
  • Posts: 1340
  • Languages: EN
Re: Cannot make deep holes next to buildings
« Reply #7 on: October 26, 2013, 04:35:27 AM »
Aha!  I figured it out (after much experimentation, when retesting made it work fine for me just now)... you can lower double heights if the city object (building/road) is at an odd level (-1,1,3,etc) but only half height if it's at an even numbered level (-2,0,2,etc).

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2346
Re: Cannot make deep holes next to buildings
« Reply #8 on: October 26, 2013, 07:21:14 AM »
Even then I seem to be able to? :s

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10675
  • Languages: De,EN,JP
Re: Cannot make deep holes next to buildings
« Reply #9 on: October 26, 2013, 08:51:07 PM »
It just happens next to a road/building and when start is one level above sea level. Higher levels are not affected. Although even stepping through a little seems not too wrong. It seems however, want to lower a corner, although is does not at the end.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2346
Re: Cannot make deep holes next to buildings
« Reply #10 on: October 26, 2013, 09:25:16 PM »
Ah ha could finally confirm this!

Ok - setting water height to this tile to be grundwasser-4 when land fixes this. This is easy enough to do for new maps but existing ones will either need converting or just have to deal with bug.

Edit2: Committed fix to new maps in 6866.
« Last Edit: October 26, 2013, 11:33:06 PM by kierongreen »