Author Topic: [half-heights] Transformers and Half-heights  (Read 1292 times)

jamespetts and 1 Guest are viewing this topic.

Offline Rollmaterial

[half-heights] Transformers and Half-heights
« on: February 15, 2016, 01:22:06 PM »
Power line tunnels can't connect to underground transformers as they can't be built at the first underground level.
« Last Edit: February 15, 2016, 11:01:31 PM by Rollmaterial »

Online jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 16574
  • Total likes: 529
  • Helpful: 181
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [half-heights] Transformers and Half-heights
« Reply #1 on: February 28, 2016, 12:45:03 AM »
Do you mean that powerline tunnels cannot be built on the first underground level, or underground transformers (substations) cannot be built on the first underground level?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Rollmaterial

Re: [half-heights] Transformers and Half-heights
« Reply #2 on: February 28, 2016, 02:02:33 AM »
Powerlines cannot be built at the first underground level.

Offline kierongreen

Re: [half-heights] Transformers and Half-heights
« Reply #3 on: March 13, 2016, 11:45:18 AM »
You'll need to check the code here for powerlines and transformers to see they both take into account half heights. In half heights mode neither should be able to be built 1 level below ground as clearance is required as with ways.

Offline Rollmaterial

Re: [half-heights] Transformers and Half-heights
« Reply #4 on: January 01, 2018, 07:43:54 PM »
I am reviving this topic as this still hasn't been addressed. It is particularly impeding when an industry is at its minimum amount of fields, which thus cannot be removed to make room for a surface transformer.

Online jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 16574
  • Total likes: 529
  • Helpful: 181
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [half-heights] Transformers and Half-heights
« Reply #5 on: January 01, 2018, 09:23:44 PM »
I don't think that I ever got around to looking into this. Can anyone confirm whether this works any differently in Standard?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline kierongreen

Re: [half-heights] Transformers and Half-heights
« Reply #6 on: January 02, 2018, 09:37:24 AM »
Not got access to Simutrans just now to check but transformers should be built two levels beneath the ground so can connect.

Online jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 16574
  • Total likes: 529
  • Helpful: 181
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [half-heights] Transformers and Half-heights
« Reply #7 on: January 02, 2018, 11:36:58 AM »
Not got access to Simutrans just now to check but transformers should be built two levels beneath the ground so can connect.

I am afraid that I do not follow: can you elaborate?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Frank

Re: [half-heights] Transformers and Half-heights
« Reply #8 on: January 02, 2018, 02:14:50 PM »
Not got access to Simutrans just now to check but transformers should be built two levels beneath the ground so can connect.

Transformers can only be built in the underground on the colored area of the factory. And the colored area is 1 level below the surface.

How should it be possible to build something that needs 2 height levels?

With height_conversion_factor = 2 it is therefore impossible to build transformers under one industry.

That does not work in Simutrans standard either.
« Last Edit: January 02, 2018, 02:27:05 PM by Frank »

Online jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 16574
  • Total likes: 529
  • Helpful: 181
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [half-heights] Transformers and Half-heights
« Reply #9 on: January 02, 2018, 02:29:46 PM »
Thank you for that. I have moved this report to the Standard section, since Frank has confirmed that this is an issue in Standard, too.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Frank

Re: [half-heights] Transformers and Half-heights
« Reply #10 on: January 02, 2018, 03:03:30 PM »
..., since Frank has confirmed that this is an issue in Standard, too.

mmh

120.2.2 r8162 - pak128 2.7

Sometimes it works, then not again. Then the level switching will no longer work.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4303
  • Total likes: 206
  • Helpful: 151
  • Languages: EN, DE, AT
Re: [half-heights] Transformers and Half-heights
« Reply #11 on: January 13, 2018, 10:44:56 AM »
This should be fixed in r8370 please test: there were two bugs. Sometimes double-height way clearance was correctly initialized, and underground transformers did not take double-height in account.
Parsley, sage, rosemary, and maggikraut.

Offline kierongreen

Re: [half-heights] Transformers and Half-heights
« Reply #12 on: January 16, 2018, 03:03:24 AM »
Many thanks Dwachs

Offline Rollmaterial

Re: [half-heights] Transformers and Half-heights
« Reply #13 on: January 19, 2018, 08:24:58 PM »
It doesn't seem to be entirely fixed yet, I still cannot build a transformer under the sawmill at Bugbridge on this map: https://drive.google.com/file/d/1MvQDMC3-qmpmUUMOwf4eKguxYuqZUvyn/view?usp=sharing

Online jamespetts

  • Simitrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 16574
  • Total likes: 529
  • Helpful: 181
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [half-heights] Transformers and Half-heights
« Reply #14 on: January 19, 2018, 10:37:03 PM »
Possibly a very apt name for the local town.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4303
  • Total likes: 206
  • Helpful: 151
  • Languages: EN, DE, AT
Re: [half-heights] Transformers and Half-heights
« Reply #15 on: Yesterday at 09:14:10 AM »
@Rollmaterial: This is a savegame from Simutrans-Ex? It should be fixed in standard, also James applied the fixes to Extended. I cannot load this savegame to test.

@James: could you please try to reproduce with this savegame?
Parsley, sage, rosemary, and maggikraut.