Simutrans Forum Archive

The International Simutrans Forum > Requests and Discussion > Extension Requests (Moderator: fagonella) > Topic: Minimum supplier - consumer distance
Author
Topic: Minimum supplier - consumer distance  (Read 619 times)
TheUniqueTiger
On the prowl!
Member
*
*
Gender: Male
Posts: 616
Flowers are the most beautiful thing in the world!
TheUniqueTiger
Minimum supplier - consumer distance
This new factory chain annoys me... The supplier (furniture factory) and consumer (shopping center) is barely 2 tiles away! How do you expect to have any profit? (even on such a profitable furniture transport!)
Although the factories outside cities are placed reasonably apart allowing modest profits by road, but the ones in cities are frequently close. (this one was the closest I've seen!)

So I request a minimum supplier - consumer distance in the settings.

Thanks.

* Factories-so-close.png (233 KB, 1040x719 - viewed 29 times.)
You have just one Life... So before you are History, make sure you get into History books.
  Micosoft Windows Using PAK 128 firefox_grey _toast
***TheUniqueTiger's Den*** *** HiFiBB ***
DirrrtyDirk
Doing the work of 3 men... Larry, Curly and Moe.
Member
*
*
*
*
Gender: Male
Posts: 965
700 Series Shinkansen
Re: Minimum supplier - consumer distance
Sounds reasonable...  Thumb up
There are 10 kinds of people in the world. Those who understand binary and the rest.
--------------------
There are two rules for survival in modern society:
1. Never tell everything you know.

   
   
Using PAK 128
prissi
Member
*
*
*
*
*
*
*
*
Gender: Male
Posts: 5135
Re: Minimum supplier - consumer distance
The minimum distance is 6 tiles. However, with the huge pak128 factories (this is 4x4km size!), this easily reproduces the situation in the image. Some additional effort can prevent this; unfortunately place sort is the slowest part for chain generation Sad
kierongreen
Member
*
*
*
Gender: Male
Posts: 1538
kierongreen@msn.com
Re: Minimum supplier - consumer distance
What about changing minimum distance to be between borders of factory, rather than from the single factory tile (maybe also add it to simuconf?)
DirrrtyDirk
Doing the work of 3 men... Larry, Curly and Moe.
Member
*
*
*
*
Gender: Male
Posts: 965
700 Series Shinkansen
Re: Minimum supplier - consumer distance
I think it would be good enough if that value wasn't fixed but changeable in simuconf.tab (or so). Should be the easiest solution - pak64 players can leave it at 6 and pak128 players can change it to whatever they like.
There are 10 kinds of people in the world. Those who understand binary and the rest.
--------------------
There are two rules for survival in modern society:
1. Never tell everything you know.

   
   
Using PAK 128
TheUniqueTiger
On the prowl!
Member
*
*
Gender: Male
Posts: 616
Flowers are the most beautiful thing in the world!
TheUniqueTiger
Re: Minimum supplier - consumer distance
What about changing minimum distance to be between borders of factory, rather than from the single factory tile (maybe also add it to simuconf?)
I think it would be good enough if that value wasn't fixed but changeable in simuconf.tab (or so). Should be the easiest solution - pak64 players can leave it at 6 and pak128 players can change it to whatever they like.
Thumb up Pretty much what I wanted to say! In fact I don't mind if its hard-coded into the engine, but increasing it to some value for pak128 would definitely help. Reading the largest factory size while reading paks on first starting the game and then fixing the minimum distance.

In 1 way I disagree to keep it customizable... It would increase the calculations when building factory chain and also by increasing it to a large value, it would mean easy profits for nothing. I actually like the fact that some factories around the city are so close that even though the finished goods is profitable, it doesn't have much to travel if its in the same city, thereby limiting your profits. (Though some reasonable distance is always desired, as is the subject)
You have just one Life... So before you are History, make sure you get into History books.
  Micosoft Windows Using PAK 128 firefox_grey _toast
***TheUniqueTiger's Den*** *** HiFiBB ***
TonyBzt
Member
*
Gender: Male
Posts: 217
Re: Minimum supplier - consumer distance
In 1 way I disagree to keep it customizable... It would increase the calculations when building factory chain and also by increasing it to a large value, it would mean easy profits for nothing. I actually like the fact that some factories around the city are so close that even though the finished goods is profitable, it doesn't have much to travel if its in the same city, thereby limiting your profits. (Though some reasonable distance is always desired, as is the subject)
Customizing means additional reading at startup and replace prior constants by variables in the engine. That does not increase  calculation time, and I don't see that the random setting of factories and customers will  increase with a larger minimum distance value  drool
Have a nice day
Tony
Using PAK 128 Linux and PAK192!
TheUniqueTiger
On the prowl!
Member
*
*
Gender: Male
Posts: 616
Flowers are the most beautiful thing in the world!
TheUniqueTiger
Re: Minimum supplier - consumer distance
Customizing means additional reading at startup and replace prior constants by variables in the engine. That does not increase  calculation time, and I don't see that the random setting of factories and customers will  increase with a larger minimum distance value  drool
About customizing, what I meant was the factory-placing might take more time, being of the opinion that if the value was increased, it would go into a more complex randomizing calculation.
You have just one Life... So before you are History, make sure you get into History books.
  Micosoft Windows Using PAK 128 firefox_grey _toast
***TheUniqueTiger's Den*** *** HiFiBB ***
TonyBzt
Member
*
Gender: Male
Posts: 217
Re: Minimum supplier - consumer distance
About customizing, what I meant was the factory-placing might take more time, being of the opinion that if the value was increased, it would go into a more complex randomizing calculation.
Why ?
The setting algorithm may be complicated, but why should it be more complex with different parameter values ?
the allowed area to set factory and/or customer will be smaller with a greater circle around the factory.

Nevertheless I would prefer more customizing possibilities   Thumb up
Have a nice day
Tony
Using PAK 128 Linux and PAK192!
The International Simutrans Forum > Requests and Discussion > Extension Requests (Moderator: fagonella) > Topic: Minimum supplier - consumer distance