CazadorSirenas wrote: ↑09 Oct 2020 21:37
... I actually admit that it annoys me quite a bit that you can't place a bridge over a lock! Somehow I constantly find myself in this situation. There's a river I want to sail, and putting up a chain of locks prevents me for making use of that area any further because no bridges above are allowed!
So that's an idea. If you ever go back to tweak a little more this project, try to make locks crossable too, please!
1st not enough optimized version IMPLEMENTED: + crossing bridges v.01.2 (v.01.2 = + bridges over water locks and any depots)
About TopTechDreams patch pack (IMPLEMENTED some suggestions - Independence day of Ukraine 20190824 release) - see descriptions in the corresponding topic -
viewtopic.php?f=33&t=85845 ( 2nd link:
viewtopic.php?f=33&t=85915 )
Please, check this exe with your antivirus program before open this exe. My old antivirus says this exe is OK.
Note: This .exe file will not work alone - it needs all the other files usual for openttd.exe to work. So user needs to place this modified .exe file to the same folder, where openttd.exe (v. 1.9.1 stable) and all its support files are.
There is no need to delete the original openttd.exe from its main folder - it's enough just to put there the modified exe file,
and then You can run the original exe or the modified one.
Please, try run the original (official) openttd.exe (of version 1.9.1 stable, of course) from that folder. Does it work normally?
If the original openttd.exe works normally, then the modified one should do the same.
Modified source files ( *.cpp ) and saved games for example ( .sav ) are in
Changes in source code to implement this features are marked with labels (comments) :
(relatively to "... 20190824 release")
Code: Select all
// for Allow to cross 2 bridges
// Begin for Allow to cross 2 bridges
// for Allow water locks under bridges
// for Allow ship depots under bridges
// for Allow rail depots under bridges
// for Allow road depots under bridges
We can see (on the attached screenshot) some not smoothly effects of graphics, for example:
A) A ship is under a bridge, but it is drawn above this bridge - in the water lock to the East (to right) from Chartburg Airport or to the West (to left) from Chartburg Heliport.
B) Ship depot or railroad depot, or road depot are under a bridge, but their roofs protrude above the deck of that bridge - to left from Chartburg Airport and to left from Chartburg Heliport.
But these imperfections are easy to avoid - simply build bridges a little higher:
>= +2 levels of height from surface over water locks and
>= +3 levels of height from surface over any depots.
Then graphics will be OK. - For example, - 1 water lock under 3 bridges and 2 depots (ship depot and road depot) under 1 bridge between Chartburg Airport and Chartburg Heliport.
Of course, one can set prohibition for such situations (A and B) in program (by setting there indicated restrictions >= 2 and >=3 ), but... I decided not to do it yet. Maybe, some users will want to play with not perfect graphics but with less restrictions. Others can simply build higher bridges (i.e. can control this restrictions manually).