klyte45 / TransportLinesManager

The TLM mod for Cities Skylines
Other
28 stars 24 forks source link

Multiple Vehicle capacities #46

Closed RundeKatze closed 3 years ago

RundeKatze commented 3 years ago

Hi there! To keep things realistic most companies uses multiple lenghts/capacities of their trains according to the passenger ammount. There are many versions of different vehicle car count models in the workshop. E.g. A Metro Train type for download with 2 cars, 4 cars, 6 cars etc. Passenger capacity 150, 300, 450 etc. Is it possible for a future version of this mod to add the functionality for selecting vehicles for different daytimes? So i can use the 2 car vehicles at night, the 6 car vehicles in rush hour and the 4 car vehicles in medium traffic times?

klyte45 commented 3 years ago

It sounds very complex for what Skylines support, even it seems trivial since it's a common feature in transport games, like transport fever. I would add this to future analysis but don't have idea when it will enter in my development pipeline

RundeKatze commented 3 years ago

Maybe it's something like the "different ticket cost per hour" feature. I mean it is allready possible to select different train types with your mod. So maybe it is possible that at a user defined time (like budget per time or ticket price per time) the mod deselecting the past vehicle type by itself and selecting the new type. But then it has to gradualy delete all active instances for unselected vehicles within an hour on the route to clear the space for a respawn at the depot with the new vehicle type.

Just a comment for your inspiration. ;) I do know about "how scripts are working" but I am just a bit too stupid to write things by myself. I am more on the "graphic and 3d design line" as my hobby. So I know how a hammer works and how I use it to build something. But I don't know how to develop a good hammer XD.

klyte45 commented 3 years ago

I guess the worst limitation of the game in this case is the UI. It would get very complex, very different than just having a slider by time in timesheet, like it is today. Also, the routine for despawn or switch models certainly will impact the game simulation speed in some way... Well, I will get deeper on it when it comes to my pipeline. I know that it could be done, the question is if there's a way to do it that doesn't affect performance and also be usable by the users, with no big complexity.

GameBurrow commented 3 years ago

I actually just had a similar thought in game and it may fit with this idea: Maybe it would be possible to add an option change line prefix per hour (or even weekday in case of Realtime mod). I usually set up line prefixes for vehicle types (city 12m buses, city 15m buses and city 18m buses etc).

klyte45 commented 3 years ago

Now with the fixed line code option, I guess it can be considered. Would be very useful in the Real Time weekends. The main issue is the UI: there's no place to edit the prefixes out of the line info popup. It used to be available in earlier versions of TLM but was removed to simplify the overall mod UI. I'll see what could be done.

RundeKatze commented 3 years ago

I just thought about it: Just imagine in real-life the night services. Many times there are some older and some newer vehicle types in rush hour. Over the day mostly newer vehicles (for tourist etc) on the track. But at night (mostly on weekends) they just use the oldest vehicles in service becuase of potential vandalism by drunk people etc.

snowflitzer commented 3 years ago

Hi Klyte, wonderful mod. What I really miss is changing how many vehicles can be on my line.

E.g. I have a very busy train line. I think it needs 2 more trains. I couldn't figure how to increase it, without increasing the budget?

I love this function in ITP2. Could you please add it in your mod?

GameBurrow commented 3 years ago

Hi Klyte, wonderful mod. What I really miss is changing how many vehicles can be on my line.

E.g. I have a very busy train line. I think it needs 2 more trains. I couldn't figure how to increase it, without increasing the budget?

I love this function in ITP2. Could you please add it in your mod?

That function exists, on the line budget view, check "Use vehicle absolute count" (or somethign similar, writing from memory) and you can adjust the number of vehicles per line instead of budget. Keep in mind though that I reccomend toggling use specific config for this line or the change will affect all lines in the same prefix (or unprefixed).

klyte45 commented 3 years ago

I just thought about it: Just imagine in real-life the night services. Many times there are some older and some newer vehicle types in rush hour. Over the day mostly newer vehicles (for tourist etc) on the track. But at night (mostly on weekends) they just use the oldest vehicles in service becuase of potential vandalism by drunk people etc.

I was thinking about it, and it should be subject of another mod. For me it's for a mod that register new Vehicle configurations based in existing ones, a Dynamic Vehicle Prefab Generator mod or alike. But, differently of other games like Transport Fever, the rail system in the Skylines is very very limited. Starting the platforms are very small and are not expandible. So creating long trains actually create more issues in the game, as well we don't have control over the rails directions - all them are fixed. It said, I guess the Skylines core wouldn't support properly a mod like this, once the game mechanics is very limited for it. It would require a complex mod that itself make the whole rail system better.

Because of all this, I'm closing this issue and it won't be done,