I check the age of the youngest vehicle of all the vehicles of a given connection and then don't build new buses if the youngest one is too young.
Thank you, that is really a good and simple idea, much better than adding extra variables. It's quite a shame I didn't think of it...
Awesome, congrats on another release.
I think there's a flaw in the logging. It says "I got the subsidy: PASS from (null: 0x00000000) to (null: 0x00000000)". It's a subsidy obtained by the use of Double Rail. The routes themselves have been built perfectly fine.
That is again something with the new subsidy system, now the endpoints of already taken subsidies are towns/industries, not stations. The AI expects stations there. Anyway, it has no impact on the game, so I think the best is to simply skip that part of the code if the AI is run on the nightly. I'll surely correct it when this new subsidy system gets into the stable release.
This one is a bit strange for me: a subsidy obtained by the use of double rail? That means that subsidies tend to be longer than in 0.7.2. Do you know the new maximum distance for subsidies?
Suggestion: you only have two types of passing lanes in your library, right? One for North-South and one for East-West. You could try adding two more, for the same directions. If you're building passing lanes, check whether the station is more to the East of to the West, or to the North / the South (depending on the direction of the track), and flip the passing lane when applicable.
Mm complicated to explain. I'll add a screenshot of a situation where that would be a great thing to do in a second...
Do you mean... this?
passing lanes.png [103.16 KiB]
Downloaded 1 time
It should be quite easy to do.
Oh and also: you could consider adding even more passing lanes: for diagonal tracks as well
but that's not really a big thing.
Another suggestion: let the number of passing lanes be dependent on the manhattan distance. At the moment it always builds two, that falls short for some routes.
I'd rather not code diagonal passing lane sections yet, they would be quite complicated compared to their usefulness.
And for the number of passing lanes, you're right, but I think that will come after V1, now save/load and engine replacing are more important.
Thank you all for testing!