Maximum Limit Of Ai/npc Traffic Trains In A Scenario?

Discussion in 'General Discussion' started by BritishRail60062, Apr 5, 2024.

  1. BritishRail60062

    BritishRail60062 Well-Known Member

    Joined:
    Mar 8, 2018
    Messages:
    370
    Likes Received:
    314
    Hi folks.

    I am about get back on my saddle and start making new scenarios for Train Simulator Classic which I will start with the German routes like the Frankfurt to Koblenz. Upon experiencing some issues with the game freezing just outside Frankfurt Flughafen (the high speed terminal). I was wondering if 49 traffic trains is too much for the game to handle and it is saying "Nope, I cannot handle this" and its just freezing where I have to manually close the game down. So I tried another scenario and started the scenario from Frankfurt Airport to see if that would solve the issue. But even with a brand new scenario with just 12 traffic trains, the same place where the game just locks and freezes. I have cleared the cache each time and I do this by habit every time I launch a new session. I am using my MSI Katana 15 with GTX 4060 and I have 16GB ram and other scenarios going from Koblenz into Frankfurt work fine but not when to Koblenz from Frankfurt.

    Has anyone else sustained this odd behaviour? Or am I just unlucky with this route? I would really like to get this scenario done and dusted. Also I have tried to make this scenario realistic too. What would be considered to be a "safe" number for AI/NPC Traffic trains? I would appreciate any feedback that could help get me started.
     
  2. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,033
    Likes Received:
    3,138
    I find the Frankfurt - Koblenz route problematical with poor signals and speeds which change randomly.
    Coming out of the tunnel at Mainz Hdf going north it should be 80 thru thru the platform but it drops back to 40 where a crossover trails in. Near Frankfurt the Signal Speed shows 60 but the line speed drops to 50

    The problem might be using the section thru Frankfurt Airport - try the avoider that misses both tracks thru the airport

    Maybe try a different route
     
  3. Kim Olesen

    Kim Olesen Well-Known Member

    Joined:
    Jun 21, 2018
    Messages:
    725
    Likes Received:
    563
    I run way more than 50 trains on it.

    Be careful that you are not placing trains in the same signal block.

    There was an uodate that bettered many of the signal issues, though sadly not the visibility of the signals. Had to fix that myself.

    The 40km/h speed restriction at Mainz hbf is annoying. I simply just say to myself that i know it’s wrong and keep driving 80km/h

    The signals in the curve after Frankfurt Stadion direction main station are very broken as well.
     
    Last edited: Apr 6, 2024
  4. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,033
    Likes Received:
    3,138
    When somebody edited the crossover they went too far beyond the point ends
    I just edited the route and changed the speed back to 80.
     
    • Like Like x 1
  5. 70045

    70045 Active Member

    Joined:
    Jun 20, 2023
    Messages:
    170
    Likes Received:
    86
    Something else is probably causing the simulator to freeze.

    There is no actual limit on the total number of AI trains and it will vary from route to route, and according to the complexity and types of trains you are placing. Quite simply, you learn the hard way when you have used too many because the scenario won't load without crashing with a "Out of Memory" message.

    So I would suggest contacting the developer for help over that "freezing" before going further with your scenarios.

    John
     
    • Like Like x 1
  6. Kim Olesen

    Kim Olesen Well-Known Member

    Joined:
    Jun 21, 2018
    Messages:
    725
    Likes Received:
    563
    I need to learn how to do that.
     
  7. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,033
    Likes Received:
    3,138
    Fairly easy
    First go to the route in the Editor you wish to amend. - Frankfurt Koblenz is the one I'm doing.
    When the route opens you are in the middle of nowhere - Not Helpful DTG !

    Click on the Compass Button in the section at the top - next to the co-ordinates and a pop out station list appears
    Screenshot (374).png Click on Mainz Hbf - or where you need to be - then the right arrow next to the co-ordinates and the location changes.

    Next problem as you are underground
    Screenshot (375).png Tilt the mouse slightly upwards then move to the left or right.Use Ctrl+Shift+Home and you are at Track level

    Move until you are looking at the section you wish to change the press the space bar 3 times slowly
    The track ribbons change each time with the first showing track type, the second Directionality, the third Track Speed which is represented by different colours
    Screenshot (376).png

    Where the Toolbox is Top Right Click on Track then the Select Cube.
    Screenshot (376a).png

    Place it in the middle of the track you wish to change by clicking and move it over the section to change
    Screenshot (377).png

    You can see the yellow cubes and the section in Red highlighted.
    On the right you can see there are two missing entries in the Freight and Passenger speed boxes.
    This is because there is more than one speed in the selection as the 40 overlaps
    In this case put 80 in both boxes and save.

    Hope this makes sense

    Peter
     
    • Like Like x 2
    • Helpful Helpful x 1
  8. BritishRail60062

    BritishRail60062 Well-Known Member

    Joined:
    Mar 8, 2018
    Messages:
    370
    Likes Received:
    314
    Thanks for all the feedback folks. I really appreciate it. As for placement of trains. I stick to the rule of one train per block and I make sure that no signals are straddled because that can confuse the NPC drivers and they sometimes won't move and another NPC train smashes into the back resulting in a game over collision that no one needs.

    From what I have learned about the Frankfurt Koblenz routs is that you can drive into Frankfurt from Koblenz no problem but its when going the other way. The game crashes which I think is due to a bugged script with the route itself because I have tried different trains and I get the same problem. As it is beyond my expertise of route building/editing. I will try another route like Frankfurt High Speed and do a Frankfurt Flughafen to Mannheim instead as then I may have much better luck with that.

    I know the issue doesn't lie with the trains as I have used various ones with the ICE 1 from 3DZUG and even tried the DTG ICE 2 so the finger points to the route itself. I will make another scenario for the Munich to Augsburg route and the München to Rosenheim routes respectively.
     
  9. Kim Olesen

    Kim Olesen Well-Known Member

    Joined:
    Jun 21, 2018
    Messages:
    725
    Likes Received:
    563
    You can absolutely drive from Frankfurt to Koblenz with no problems. Just try the qd that is delivered with the route.

    i’ve done very complex quick drives for the route (real drives) which have a very high number of ai trains, and even random signalling, and i had no problem getting them to work.

    HOWEVER don’t count on just letting the dispatcher solve pathing for all the trains. You HAVE to set in extra destinations in the scenario editor if you want to run many trains. For every(!) train you set in, to it’s destination, everytime it passes a switch after which there are no destination markers, you give the dispatcher a choice it can’t handle. Set in destinations after switches if there aren’t any, route the trains via those destinations. DO NOT give the dispatcher any choices if you want to run many trains. This goes for the player train as well.
     
  10. Spikee1975

    Spikee1975 Guest

    Not aware of any limit. Old Ruhr-Sieg scenarios have 40+ services. Just a matter of choreography to solve dispatching problems. Let services despawn in portals as soon as possible.
     

Share This Page