joaofarias / csl-traffic

A WIP mod for Cities: Skylines to improve traffic.
90 stars 30 forks source link

Bugfix 1.1.1 and new option/feature #78

Closed Yannicked closed 9 years ago

Yannicked commented 9 years ago

I've fixed the crash when creating a bus line on 1.1.1. The problem was in the PathManager.FindPathPosition() function. It required a extra argument.

I've also added the option to disable the slowdown/stop for pedestrian crossings. This might be a little less realistic (eg. cars plowing though people), but it helps a lot with traffic problems in game.

joaofarias commented 9 years ago

Hey! Thanks for this :)

I'll only put the no stopping for pedestrians behaviour in the new release, not in this patch fix, so that it goes through testing. You say that cars plow through people. Isn't there a way to check if the crossing is empty or not?

Edit: I just noticed that you set the new option as 33. That brings all kinds of problems because if people enable trucks on pedestrian roads (which is 1) and improved AI (which is 32), your new behaviour will also kick in even if disabled. I'll fix it since I'm going to comment it out for this release. Just letting you know for next time ;)