News:

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

Powerplant with fields

Started by Václav, May 23, 2026, 12:27:33 PM

Previous topic - Next topic

0 Members and 7 Guests are viewing this topic.

Václav

Hello,

I beg your pardon,
I returned to Simutrans (after long time), not only as player but also as creator for pak96.comic. And first thing I finished (really, I had it prepared - and almost finished - but it needed to rework some parts) is (toroid) fusion plant.

Originally it was as one object, after Leartin's advice I split it into "headquarters" and "field". Both is very big. HQ has 2*4 tiles, "field" has 4*4 tiles. I hope it would be no problem, else I would have to return to original plan to have it as one object.

But, my problem is, that I never prepared powerplant. And also, I don't know how to let it to be built on shore of any water surface (sea, river, lakes). Later I may change some values to test what would fit best, but now ...

I would like to ask for help with preparing images and initial version of dat file.

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

Andarix

Fields are limited to a single tile (1x1). Furthermore, you cannot dictate their arrangement next to the main building.

Václav

Quote from: Andarix on May 23, 2026, 01:30:57 PMFields are limited to a single tile (1x1).
So, then I don't know why Leartin proposed to split reactor from headquarters. Because I don't know how they could be constraint together (to save images count).

But also, let's test, if field really has to be only 1*1 tile. It could lead to very interesting factories.

QuoteFurthermore, you cannot dictate their arrangement next to the main building.
Thanks. But however, I think that it is a bit irrelevant. Because heaquarters may be quite distant from production site.

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

Andarix

Quote from: Václav on May 23, 2026, 02:05:02 PM...
But also, let's test, if field really has to be only 1*1 tile. It could lead to very interesting factories.
Thanks. But however, I think that it is a bit irrelevant. Because heaquarters may be quite distant from production site.

factory fields definition

Your field object consists of 16 tiles (4x4).

You are welcome to split this into 16 individual fields, each consisting of a single tile, and assign them to the factory.

However, you cannot specify that these 16 individual fields be assembled to match the layout of your 4x4 building. This is because you cannot determine which field is built on which specific tile, or when.

Furthermore, it is likely that fields can only have a height of 0 though I do not wish to assert this definitively here, as I do not know for certain.

Václav

OK. It would be nice, but maybe later (if ever).

However, I can still create fields containing "supply sites" increasing production very much.

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

Václav

Returned to all in one, re-generated PNG, wrote DAT - but without usable result. PakHelper calls error "Ignoring Alpha Channel". But I thought I did not allow it when I exported (from GIMP) uncut factory summer set. And Shades does not add it.

So, in game factory appears, but it looks terrible.

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

prissi

I think what was said was making the torus one object and cut itt and the building another. That would need less tiles, since the torus is the same from all angles.
Shades should cut this ok, pak_helper is extremely outdated as far as I know and did not work for almost a decade.
But I strongly recommend tile cutter, that solves also the extra colours, see the tools section.

Václav

I found I had old version makeobj (not the newest, 60.9). There was problem with alpha channel.

But to TileCutter (yes, I downloaded the newest), probably I am greater fool than was expected. Because I can switch to see special colours, but I am not capable to erase unwanted special colours and also, I would like how to create one building from two separate ones.

So, power plant is ready to be tested but still will unwanted special colours (and of course, when I did some finishing works, I managed to get rid of most of them).

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

Andarix

Quote from: Václav on Yesterday at 02:20:33 PM...
But to TileCutter (yes, I downloaded the newest), probably I am greater fool than was expected. Because I can switch to see special colours, but I am not capable to erase unwanted special colours and also, I would like how to create one building from two separate ones.
...

The point is that the graphic components of the sphere are identical across the four rotations. Thus, the sphere is cut once but defined four times.

The PAK file remains unchanged. However, in the PNG file, the graphic components appear only once instead of four times.

Václav

Quote from: Andarix on Yesterday at 03:01:13 PMThe point is that the graphic components of the sphere are identical across the four rotations. Thus, the sphere is cut once but defined four times.

The PAK file remains unchanged. However, in the PNG file, the graphic components appear only once instead of four times.
May it be.

But it would be good to have a hint how to do it - how to assemble from two (or may be even more) parts.

At least, because even if one part is the same in all four rotations, due to that other part, in each rotation is visible in a bit different way (two times it is visible fully - and two times not).

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

prissi

It should be automatically covered by the front building, just like any other building.