News:

Congratulations!
 You've won the News Item Lottery! Your prize? Reading this news item! :)

Recent posts

#71
Getting the routing right is more difficult. Here some corrections and a new diff that gets the display almost right in my tests.
#72
I think working with choose signals is good. I am currently seeing if something can be cooked up with the diagonals without needing new graphics.

EDIT: Here is a patch for also showing them as diagonals.

Still, the route finder is quite agnostic about those. But with this extra flag of close diagonals, it should get the allowed directions depending on the previous tile.
#73
In my opinion, we shouldn't restrict the direction.
Although I've only shown images of it being used to narrow the tracks width, there are other potential applications, such as reducing interference at station crossings (I'm also trying this co-entry with choose-signal).
#74
Very interesting way to get around the two ways on one tile problem.

One would need to update the airplane logic then too, since they are derived from schiene_t right now.

EDIT:
Actually, one could add another two images to the rails (like OpenTTD has) and similar to the initial diagonal graphics. That image (if missing) could be even generated on the fly from existing diagonals (if there). That would give close diagonals with normal rails and add a flag to the schiene_t to be aware of that situation (i.e. "double_diagonal"). That way it could forbid turning and decouple reservations by just using two slots for only such tiles. Then the ribis would not need to be stored.

However, the wayfinder would need changes too. In the moment, tiles are always probed clockwise. That means on close diagonals, the driving direction of close diagonals going towards the viewer is different from the one going away from the viewer. Moreover, signals can only be placed every second tile.

I think this needs some more discussion before including.
#75
Pak96.comic Add-ons and Graphics / Re: Gasworks (Town Gas Plant)
Last post by Václav - June 14, 2026, 05:34:33 PM
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.

#76
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
#77
Pak96.comic Add-ons and Graphics / Re: Gasworks (Town Gas Plant)
Last post by makie - June 14, 2026, 06:19:57 AM
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.
#78
Pak96.comic Add-ons and Graphics / Re: Pak96.comic needs
Last post by Václav - June 14, 2026, 05:56:58 AM
Vehicles for various (from unknown to current) eras. Vehicles after year 2000, 2025 or 2050 should have no retirement year.

- freight road cars (post and other goods)
- buses
- freight train cars
- post train cars
- passenger train cars
- locomotives
- ships

Powerlines - for electricity transition between power stations to other factories. Pakset already has powerlines, but without option to build them in underground (as tunnels).

Factories

- power plants
- supply factories (like agricultural fields or mines)
- processing factories (making some goods from else goods)
- end step factories (like shops)

Town buildings (1*1 tile building)

- residential: mostly capable to create larger blocks, with shops and services on ground floor
- commercial: mostly capable to create larger blocks, with shops and services on ground floor
- industrial: hard to say, mostly probably small buildings like garages, workshops or so
#79
Pak96.comic Add-ons and Graphics / Re: Gasworks (Town Gas Plant)
Last post by Václav - June 13, 2026, 07:42:39 PM
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.
#80
I make a patch4way_update.patch which allow 2 convoys to enter the 4-way tile only if they do not "conflict" each other.
4way_demo.png

When two convoys are conflict (e.g. N->S and E->W), they cannot enter(reserve) in the same time (see the convoys in the right side of this figure).
4way_test.png

If you add paks, you can reduce the spacing between two digaonal tracks.
4way_demo_with_pak.png

Technically, I add
  ribi_t::ribi reserved_dir
  convoihandle_t reserved_2
in schiene_t to check the convoys conflicts in 4-way tracks, and update how to resere/unreserve tracks.