The International Simutrans Forum

 

Author Topic: Cityrules for diagonal roads are broken  (Read 3411 times)

0 Members and 1 Guest are viewing this topic.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9533
  • Languages: De,EN,JP
Cityrules for diagonal roads are broken
« on: August 05, 2013, 10:18:29 PM »
In pak128 city growth leads to lots of "road circles" i.e. diagonals are extended with branches. This loots ugly and is also not good for road vehicles. Are there any planes to amend the cityrules to avoid this?

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Cityrules for diagonal roads are broken
« Reply #1 on: August 06, 2013, 08:26:05 AM »
This was on purpose, as long diagonal stretches are unplayable since you can't build stops on them.
It's enough to comment out a couple of rules to remove this behavior.

I also wonder if the code could handle better the case of straight/diagonal road intersection.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Cityrules for diagonal roads are broken
« Reply #2 on: August 06, 2013, 10:11:00 AM »
Hmm - this is an issue in Pak128.Britain, too.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9533
  • Languages: De,EN,JP
Re: Cityrules for diagonal roads are broken
« Reply #3 on: August 08, 2013, 09:39:59 PM »
You could still extend diagonals; but then using 7x7rules sets to have only one branch every 3 tiles and not countless loops. I had actially a city which covered then entire space between two outgoing roads with diagonal loops.

I would als suggest to avoid building houses on diagonal roads (like in pak64). That way cities creep out a lot slower.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Cityrules for diagonal roads are broken
« Reply #4 on: August 08, 2013, 10:29:48 PM »
road rules are actually 9*9. extending them to arbitrary x*x could be great.

no houses on diagonals is an interesting idea.


Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9533
  • Languages: De,EN,JP
Re: Cityrules for diagonal roads are broken
« Reply #5 on: August 08, 2013, 11:14:49 PM »
If you use 9x9 sets, then I do not understand how those roundabout are made on diagonals. Those can be avoided then.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Cityrules for diagonal roads are broken
« Reply #6 on: August 09, 2013, 09:06:25 AM »
ok, I will check them