Here is a new release of One-way Two-lane fun patch, OTRP ver5.
This time, the code patch is simutrans nightly r8112 based, so the patch can be easily integrated to the nightly trunk. However, I made the executable binaries and their base is 120.2 stable. This is just for stability because some users in Japan use this patch for playing purpose. Of course you can make a nightly based binary by compiling the nightly based patch.
I also started sharing the git repository. https://github.com/teamhimeh/simutrans/tree/OTRP-S
The patch is attached to this post.
All executable binaries are 120.2 stable based. If you need a nightly based one, please compile by yourself.
For Windows: https://drive.google.com/open?id=0B_rSte9xAhLDeDVJdnZKSFEzQnM
For Mac: https://drive.google.com/file/d/0B_rSte9xAhLDd2JmYW84WGNWQ2s/view
For Windows: https://drive.google.com/open?id=0B_rSte9xAhLDN3hmUHpQVTZLVEE
For Mac: https://drive.google.com/file/d/0B_rSte9xAhLDRW51ei05NkUwTW8/view
The biggest change is that overtaking by the relaxed condition is now available only on roads made for this patch! On conventional roads, only overtaking by the stricter condition is allowed. To enable one-way overtaking, add
to the .dat file.Note: Way add-ons made by the makeobj of this extension cannot be used for simutrans standard.
Roads have a flag, overtaking_info, which indicates the condition of overtaking.
0 = Condition for one-way road
1 = Condition for two-way road (similar to the condition of current simutrans. This condition is automatically applied to conventional roads.)
2 = Overtaking only a stopping vehicle is allowed.
3 = Overtaking is completely forbidden.
This change is needed to prevent the inappropriate overtaking I explained in a past post
. Also, this is for compatibility with current simutrans standard. With only the pakset of simutrans standard, this release makes no difference between simutrans standard.
The issue list of One-way Two-lane road patch
Following the latest code. (solved.)
- Cars on the left lane enter the right roads crossing over vehicles. (will be solved in the next release.)
- The new conditions for city cars should be written. (still in working.)
- Sometimes a queue of stationary traffic still forms behind a stopped vehicle. (still in a research.)
On 2-lane road, there are inappropriate overtaking when waiting for a red signal. (solved.)
- Traffic jam occurs due to lane crossing. (new!)
In this release, I wrote a partial
solution of the crossing over problem. As a result, traffic jam occurs due to lane crossing. (See fig1.jpg.) This is because vehicles do not consider their course when starting overtaking. In real road, drivers consider their course when they choose lane.