Moderator: Graphics Moderators
is there any posibility to say Industry XY max distance to (map) edge?
there is a option in the settings: Maximum distance from edge for Oil industrys. It has a range from 12 to 128 tiles
but It won't work.
Thanks for help
However the game setting does work, just only for the built-in industries.
What you can do in NewGRF is check property 43 (in NML called water_distance) to test the distance from water/land, if you want to make coastal or non-coastal industries.
i try it with a vanilla 1.11 and i can place a refinery everwhereHowever the game setting does work, just only for the built-in industries.
and "build many random industrys" place the refinerys far away form the edge
so the game settings dosn't work.
i like to have the port etc on the coast not in the "lakes" but sea and lake water is the same.
property 43 check only the next land tile.
i hope that some day the edge function return to the game.
thanks for the answer
It works perfectly well when I tested just now.
Version 20210225-master-gd4583fa64c067c (you probably won't find a binary of this exact version, it's my own build)
No NewGRF loaded.
Maximum distance from edge for Oil industries: 32 tiles
With this setup I can build oil refineries at the edge of the map, but not away from the edge.
Remember that oil wells don't have the restriction, they can be built anywhere. Only oil rigs and refineries have the restriction.
- Unnamed, 1994-04-30.sav
- (91.27 KiB) Downloaded 9 times
When in the scenario editor, apparently this setting is ignored. I'm not sure why, and that does seem like a bug.
During gameplay, the setting/restriction is fully functional.
Edit: No this restriction has been ignored (for oil refineries) in the scenario editor since the earliest available version of OpenTTD source code. You can test the same thing in version 0.4.5 of OpenTTD if you will, and find the same behaviour. It's not a bug, it's intentional that the restriction is ignored in the scenario editor.
Users browsing this forum: No registered users and 1 guest