News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Gasworks (Town Gas Plant)

Started by destructulus, June 13, 2026, 12:51:26 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

destructulus

My first crack at making a building! I couldn't get tilecutter to work (Linux), so I had to do it by hand. I checked for holes in-game, but I might have missed something.

This is supposed to be an early gasworks (1812-1890) for turning coal into town gas (lights, cooking, etc.). Gameplay wise, I wanted to make something that can let players easily turn goods into money (like the coal power plant). Since this factory would just pipe its gas around the town, it has no output.

It *should* generate inside cities, but I might have messed up the .dat. It has a snow version, and night-lights, but only one facing direction (South) for now. Later I want to make a larger (3x3), more "modern" plant (1890-1950), but that will come later.

Let me know any suggestions!
"USA Simutrans Player userbar"

prissi

Isn't this a python program? I dimly remebered a python program for cutting.

Václav

Looks interesting.

I only would place chimney to the left part of roof - to it would be better visible (regardless of smoke) because it is dark and gas tanks too.

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

makie

My TileCutter isn't working anymore either.
It seems something has changes in python.
QuoteTraceback (most recent call last):
  File "/tilecutter/libs/main.py", line 86, in OnInit
    self.frame = tcui.ViewMain(None, self, wx.ID_ANY, "TileCutter")
                ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "tilecutter/libs/tcui/viewMain.py", line 153, in __init__
    self.translate()
    ~~~~~~~~~~~~~~^^
  File "tilecutter/libs/tcui/viewMain.py", line 233, in translate
    self.panel.SetMinSize(wx.Size(max(self.panel.GetBestSize().Get()[1] * 1.4, self.panel.GetBestSize().Get()
  • ), self.panel.GetBestSize().Get()[1]))
                          ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Size(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 1 has unexpected type 'float'
  overload 3: argument 1 has unexpected type 'float'
OnInit returned false, exiting...


It seems Python has become stricter about type checking.

destructulus

Quote from: Václav on June 13, 2026, 07:42:39 PMLooks interesting.

I only would place chimney to the left part of roof - to it would be better visible (regardless of smoke) because it is dark and gas tanks too.

Something like this? I agree that it makes the smokestack much easier to see (I also moved the smoke source to the new spot).
GasworksEarly_uncut.png
"USA Simutrans Player userbar"

Václav

#5
Quote from: destructulus on June 14, 2026, 03:19:27 PMSomething like this? I agree that it makes the smokestack much easier to see (I also moved the smoke source to the new spot).
GasworksEarly_uncut.png
Yes. Exactly.

And please, make top of gas tanks not so flat. They should be a bit convex - like on following image.


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

destructulus

#6
It took some fiddling, but I think I was able to get the convex effect in-scale.
GasworksEarly_uncut.png

EDIT: Added .dat & .pak files!
"USA Simutrans Player userbar"

Václav

#7
Well, in greater size (may be on modern version) it should be more convex. But may it be. It is your first building. With pixelart it is a bit difficult to do some things (like in my modelling it is difficult to do some other things).


But I think that as source of gas for blocks assembled from houses like below (only southern and northern face - because eastern and western are derived by rotation) it is good. I have to find dat file for house blocks - and idea what to place on ground level of northern wall as house entrance(s) because ground level of southern wall should be accepted as small shops (don't confuse with shops as factories) or so.

There will be also two versions with gate (with gate on left or on right side of southern wall). Originally I wanted to prepare also version with gate in the center of wall but then side parts remained unused because place was too small. And also there shoould be corner version of that house.


There should be (after finishing) eight sets (it means set for 2, 3, 4, 5, 6, 7, 8 and 9 floors). But in opposition to original plan, all houses in one set will have ground level of the same height (even if each house will have it used in a different way).

When I wrote (above) about using of ground floors in a different way, I want to say that for example version with gate will not have visible any entrance (because it is hidden in gate).

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