News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Cannot build underground transformers

Started by vrm, April 08, 2015, 11:56:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vrm

Hi all,

i am facing problems building underground transformers in 120.0.1  r7373.

Trying to build the transformer one level below the factory, the squares colour changes after activating the "Transformer-tool". But trying to build  on the red squares always gives me the "Transformers must be on an empty flat ground ..." message. (see screenshot --- Building power-lines only one level below ground is impossible too, as it is for tunnels ...)

Building one two levels below the factory is impossible too, no red squares. Transformers seem to be too "high" to fit one level below, but the "Transformer tool" doesn't allow building transformers two levels deep.

I tested it with pak123 and pak128britain, both the newst version found on sourceforge ...

Am i missing the right "trick" to do so or is this really a bug?

TIA for your help
vrm

Václav

Open simuconfig.tab in pakset folder and take a look if pakset has enabled underground transformators.

Chybami se člověk učí - ale někteří lidé jsou nepoučitelní

Frank

in the underground has to be built on the colored area

the error message is simply wrong for the underground

Ters

Quote from: Frank on April 09, 2015, 02:52:39 PM
the error message is simply wrong for the underground

It is arguably correct. Transformers can be placed immediately north of, east of, south of, west of or below an industry, but not a combination of these (northeast, southbelow). Not that I realized that until Frank pointed out that below counts.

vrm

#4
Quote from: Václav on April 09, 2015, 02:49:56 PM
Open simuconfig.tab in pakset folder and take a look if pakset has enabled underground transformators.

had a look into the  simuconf.tab files:

[simuconf dir]/config/simuconf.tab:
# true if transformers are allowed underground (default)
allow_underground_transformers = 1


[simuconf dir]/pak128.Britain/config
vrm@host config $ grep underground *
menuconf.tab:# sliced underground
vrm@host config $ grep transformer *
vrm@host config $


So "underground" or "transformer" are not mentioned in pak-set-config at all, but in default configuration it is enabled. And I had a look at game-generation settings (see screenshot): the box "Allow Underground transformers" is checked, and i do not remember changing it. Testing with a newly generated game with this box definitely checked shows the same problem.

___________________________________________________________

Quote from: Frank on April 09, 2015, 02:52:39 PM
in the underground has to be built on the colored area
Yes I know. Clicking in the red area brings up the error message.
Quote
the error message is simply wrong for the underground
or --- at least --- confusing


Ters

As for wrong messages, the message I get when trying to build an underground transformer on a tile already containing an underground power line is wrong no matter how I read it.

But I can't see any way to get the "adjacent tile" message when clicking on the red (or blue) area. I do however use pak64 and have a newer Simutrans.

kierongreen

Building underground transformers was designed for the normal underground view rather than sliced view, so that might be the cause of some of the confusion.

Ters

Quote from: kierongreen on April 10, 2015, 04:36:29 PM
Building underground transformers was designed for the normal underground view rather than sliced view, so that might be the cause of some of the confusion.

For me, both work just fine. I was actually more surprised that it worked in old "full" underground view. (For me, sliced underground is the normal one now.)

Leartin

Could it be a problem of half-height set, but not of double height set like pak64? Maybe the transformer needs a full height of space to be buildt, just like tunnels.

Ters

Quote from: Leartin on April 10, 2015, 08:56:35 PM
Could it be a problem of half-height set, but not of double height set like pak64? Maybe the transformer needs a full height of space to be buildt, just like tunnels.

Sounds very possible. If so, the definition of vertical adjacency must be modified somewhat.

vrm

#10
Quote from: kierongreen on April 10, 2015, 04:36:29 PM
Building underground transformers was designed for the normal underground view rather than sliced view, so that might be the cause of some of the confusion.

PAK128.Britain: In "old" underground view it works! In "new" sliced view not .... (tested it on exactly the same place an in the screen-shot)
PAK 64: Here the same: Transformer built in "old" view, in sliced view not ....  (red square appears in sliced view on level x, transformer cannot be built, in "old" view Transformer is placed on the same level x)

Quote from: Ters on April 10, 2015, 06:18:21 PM
For me, sliced underground is the normal one now.
The same here, so I didn't think of testing it in the "old" view .... Thanks for the workaround!


vrm

Ters

If so, it must have been fixed sometime between r7373 and now.