Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
VictorPhilipp opened this issue Mar 3, 2019 · 11 comments
Closed

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

VictorPhilipp opened this issue Mar 3, 2019 · 11 comments
Labels
discussion Contains debate on certain topics EXTERNAL Mod conflict or other external factor out of scope Not applicable to TM:PE or should be separate mod

Comments

@VictorPhilipp
Copy link
Collaborator

VictorPhilipp commented Mar 3, 2019

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%)"

VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition#136

@VictorPhilipp VictorPhilipp added the feature A new distinct feature label Mar 3, 2019
@VictorPhilipp
Copy link
Collaborator Author

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

@VictorPhilipp
Copy link
Collaborator Author

VictorPhilipp commented Mar 3, 2019

From a related issue: VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition#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 originalfoo added discussion Contains debate on certain topics low priority Issue with low priority of work labels Mar 3, 2019
@originalfoo
Copy link
Member

originalfoo commented Mar 3, 2019

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
Copy link
Member

Duplicate of #161

@originalfoo originalfoo marked this as a duplicate of #161 Mar 3, 2019
@originalfoo
Copy link
Member

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
Copy link
Member

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

@originalfoo originalfoo changed the title Wait to fill trains more Wait to fill cargo trains/trucks/ships more Apr 4, 2019
@boformer
Copy link

boformer commented Apr 4, 2019

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
Copy link
Member

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 originalfoo added EXTERNAL Mod conflict or other external factor out of scope Not applicable to TM:PE or should be separate mod and removed feature A new distinct feature low priority Issue with low priority of work labels Apr 6, 2019
@originalfoo
Copy link
Member

Updated cargo mod for testing

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

CargoHoldFix-20190406.zip

@originalfoo
Copy link
Member

Latest beta from Quboid

CargoHoldFix-20190407.zip

@originalfoo
Copy link
Member

The mod is now released to Steam workshop:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Contains debate on certain topics EXTERNAL Mod conflict or other external factor out of scope Not applicable to TM:PE or should be separate mod
Projects
None yet
Development

No branches or pull requests

3 participants