Station's name from nearby industry (new version: 1.2.1)
Posted: 15 Nov 2008 16:18
Hi. After about a week and with a huge help of Michael Blunk (once again, thanks) , I want to release a simple grf about station's name.
Inspired by this Roujin's patch for OTTD, this grf names a station with the name of nearby industry, where "nearby" means within 3 tiles. It only works with default industries, in all climates.
it also has a sort of "special feature" (I don't call it a bug
because it's indeed useful)
if the industry you are servicing is in "city A" territory, but the station is in "city B" territory, the station will be named "industry city B", as the city beneficing of transfered cargo (I'm talking of local authority rating improvements, here). please note the station authority of the tile where the station is built
Because of this, can be possible to have that situation, where 2 station are servicing the same industry, but they are built in different local authority areas: the power station is named "Panley power station"
Positional constraints:
Oil refinery: Near coast (distance configurable; does not apply in scenario editor)
Oilrig: At sea level and far from coast (distance configurable; both do not apply in scenario editor)
Only Arctic:
Forest: above snowline
Farm in arctic. Below snowline.
Only Tropic:
Fruit/rubber plantation: Not in desert
farm/factory: Not in desert
Water supply/tower: Only in desert
Lumbermill: Only in rain forest
Only Toyland
Bubble generator: Only for height <= 4
Please note that, since it's not possible to fully recreate default positional constraints, this constraints are (a bit) different from (OTTD's) original one: in particular now oil refinery can be placed also far from map edge but always near water. the same for oil rigs.
also consider that this new version is not fully tested in TTDPatch.
this grf needs TTD patch version 2.6 alpha 0 r1782 or better.
regarding OTTD, it works starting from revision 14598
Please note that this grf is not intended to be used with another industries' grf - only use it with default industries (thanks Michael for pointing it out)
Please let me know of any problem/strange behavior different from signaled ones.
Feel free to improve this grf, if you want; simply let me know
the actual GRF is in the following post (and now also on BANANAS)
--------------------------------------------
HISTORY:
version 1.1 : added feature to disable oil wells only-decreasing-production behavior on temperate (by SirkoZ)
version 1.2: positional constraints added
version 1.2.1: fixed a issue with farm and industries in tropical climate
PARAMETERS:
#1: 1 oil wells can increase production on temperate climate; 0 normal behavior (default)
#2: max distance from coast for oil refineries (default 16)
#3: min distance from coast for oil rigs (default 16)
Param #3 can be omitted and in this case param #2 is used for both refineries and oil rigs
Inspired by this Roujin's patch for OTTD, this grf names a station with the name of nearby industry, where "nearby" means within 3 tiles. It only works with default industries, in all climates.
it also has a sort of "special feature" (I don't call it a bug

if the industry you are servicing is in "city A" territory, but the station is in "city B" territory, the station will be named "industry city B", as the city beneficing of transfered cargo (I'm talking of local authority rating improvements, here). please note the station authority of the tile where the station is built
Because of this, can be possible to have that situation, where 2 station are servicing the same industry, but they are built in different local authority areas: the power station is named "Panley power station"
Positional constraints:
Oil refinery: Near coast (distance configurable; does not apply in scenario editor)
Oilrig: At sea level and far from coast (distance configurable; both do not apply in scenario editor)
Only Arctic:
Forest: above snowline
Farm in arctic. Below snowline.
Only Tropic:
Fruit/rubber plantation: Not in desert
farm/factory: Not in desert
Water supply/tower: Only in desert
Lumbermill: Only in rain forest
Only Toyland
Bubble generator: Only for height <= 4
Please note that, since it's not possible to fully recreate default positional constraints, this constraints are (a bit) different from (OTTD's) original one: in particular now oil refinery can be placed also far from map edge but always near water. the same for oil rigs.
also consider that this new version is not fully tested in TTDPatch.
this grf needs TTD patch version 2.6 alpha 0 r1782 or better.
regarding OTTD, it works starting from revision 14598
Please note that this grf is not intended to be used with another industries' grf - only use it with default industries (thanks Michael for pointing it out)
Please let me know of any problem/strange behavior different from signaled ones.
Feel free to improve this grf, if you want; simply let me know
the actual GRF is in the following post (and now also on BANANAS)
--------------------------------------------
HISTORY:
version 1.1 : added feature to disable oil wells only-decreasing-production behavior on temperate (by SirkoZ)
version 1.2: positional constraints added
version 1.2.1: fixed a issue with farm and industries in tropical climate
PARAMETERS:
#1: 1 oil wells can increase production on temperate climate; 0 normal behavior (default)
#2: max distance from coast for oil refineries (default 16)
#3: min distance from coast for oil rigs (default 16)
Param #3 can be omitted and in this case param #2 is used for both refineries and oil rigs