CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
577 stars 85 forks source link

Wait to fill cargo trains/trucks/ships more #170

Closed VictorPhilipp closed 5 years ago

VictorPhilipp commented 5 years ago

Solution:

Use the Cargo Hold Fix mod to make cargo vehicles (trains, trucks, ships, planes) wait longer to fill up more.

Phoenix C64 says: "I know this mod is more about traffic related to roads... but I know it also affects trains to some degree as I had to turn off TMPE at one point because it was affecting my trains in some bad way. (spend 3h. trouble shooting the problem and disabling TMPE fixed the issue)

Now, I currently have a big complaint about trains: trains only take 1-2 cargo trucks as a load and bottleneck my train network with 7-13% filled trains.

Could TMPE have an option so trains don't spawn until they have an X% of load (let's say 50%)"

https://github.com/VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition/issues/136

VictorPhilipp commented 5 years ago

Quite some times i observe the same effect with cargo ships and trucks (especially when i upgraded the capacity of trucks using AVO :-))

VictorPhilipp commented 5 years ago

From a related issue: https://github.com/VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition/issues/123

  1. Fix that cargo trains drive with around with really low loads of cargo. (1 - 30 %)
  2. Automatically select appropriate vehicle for load --> a van for a small load, a truck for a large load. (i've made difference in capacity in AVO, sadly i get trucks loaded for 50%, instead of a van, loaded for 100%), while vans would probably mean faster delivery.
originalfoo commented 5 years ago

Would this be better placed in a different mod?

Recently there was an industries fix mod in workshop that did something like this but for cargo trucks, maybe that could be better home (or a branch of it)?

This was the mod (I haven't tested what it does exactly): https://steamcommunity.com/sharedfiles/filedetails/?id=1562650024

originalfoo commented 5 years ago

Duplicate of #161

originalfoo commented 5 years ago

Boformer just discovered this in the code and it seems to be reason trains are mostly empty:

unknown

CargoTrainAI simulationstep When counter is 255 train will spawn and leave outside connection Counter is counted up when flag is false. flag is set randomly, 1:1 chance Decrease the chance that flag is false = trains will wait a bit longer

originalfoo commented 5 years ago

Tagging #180 (the closed #161 was referenced by it)

boformer commented 5 years ago

In my opinion this has nothing to do with TM:PE, should be a separate mod. It affects every player, even those who do not want TM:PE.

originalfoo commented 5 years ago

Quboid produced this very beta (dev build) mod to make cargo trucks/trains/ships wait 10x longer before departing (note: also disables dummy traffic to make testing easier on the eye; also heavy log spam with debug infos)

CargoHoldFix.zip

Not for general release but there if anyone wants to test & give feedback.

Once it's on general release I'll update OP with a link to workshop and close this issue.

originalfoo commented 5 years ago

Updated cargo mod for testing

Quboid: now has an options page, optional dummy-traffic killing, less spam

CargoHoldFix-20190406.zip

originalfoo commented 5 years ago

Latest beta from Quboid

CargoHoldFix-20190407.zip

originalfoo commented 5 years ago

The mod is now released to Steam workshop:

https://steamcommunity.com/sharedfiles/filedetails/?id=1721492498