I Cannot Add A Train In My Portal

Discussion in 'Technical Reports' started by ArKaDeN, May 10, 2023.

  1. ArKaDeN

    ArKaDeN New Member

    Joined:
    Jan 23, 2018
    Messages:
    10
    Likes Received:
    16
    Hi,
    I don't know why, but when I want to add a train in a portal, the portal window disappears and the train is selected : [​IMG]
    Thank you
     
    • Helpful Helpful x 1
  2. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,057
    Likes Received:
    3,140
    I have never used Portals and most people don't use them to create trains but to remove a train off the track.

    Have a watch of this to see if its of help
     
  3. herkibua

    herkibua New Member

    Joined:
    May 12, 2023
    Messages:
    3
    Likes Received:
    0
    749006
    Unfortunatly that method will not work if you want to Create a Scenario.
    If i edit the whole Route, i need to upload the Route aswell, so everyone see and can use the Portals in Scenario.

    In ..RailWorks\Assets\Kuju\RailSimulatorCore\RailNetwork\Markers you'll find a .bin called "Portal marker".

    If u edit it with Notepad++ as an example you can activate it for Scenarios (Just edit it from "false" to "true".

    Now you can place it everywhere you want.
    But the Problem still exist, you can't put a Train in it.

    On the Route Zürich - Olten, i use it everytime when i create a Scenario.

    Maybe DTG need to look at it.

    Greetings
     
  4. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,057
    Likes Received:
    3,140
    Tell ArKaDeN - I was replying to his question.
     
  5. herkibua

    herkibua New Member

    Joined:
    May 12, 2023
    Messages:
    3
    Likes Received:
    0
    My answer related to the Video you shared.
     
  6. ArKaDeN

    ArKaDeN New Member

    Joined:
    Jan 23, 2018
    Messages:
    10
    Likes Received:
    16
    I always managed to place trains in the portals, I don't know why now it doesn't work anymore, there was an update of the portals?
     
  7. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,057
    Likes Received:
    3,140
    Not my video and I have no idea if it works or not.
     
  8. kenauta

    kenauta New Member

    Joined:
    Aug 16, 2018
    Messages:
    3
    Likes Received:
    1
     
    • Like Like x 1
  9. saltyseadog10

    saltyseadog10 New Member

    Joined:
    Dec 23, 2019
    Messages:
    2
    Likes Received:
    0
    I have the same problem with the portal. I research the problem on the Internet. I found one thing that I was doing wrong, I was not put it as drivable train. But I when I put as a drivable train it still not work. Have they changed the working of portal marker.
     
  10. Reef

    Reef Well-Known Member

    Joined:
    Jul 27, 2018
    Messages:
    2,806
    Likes Received:
    1,817
    Yes.

    Currently you can no longer use portals to spawn trains, you can only de-spawn them now, hopefully it's something they revisit and fix but I don't think there's been any mention of it by DTG.
     
  11. bruce.gauld

    bruce.gauld New Member

    Joined:
    Feb 7, 2024
    Messages:
    1
    Likes Received:
    1
    I, too, am more than a little unhappy at having just found that the spawning portals do not seem to work as intended.

    [The de-spawning portals work perfectly, with the trains disappearing as they reach their portal.]

    I have been making up scenarios for myself since 2012 and had no problem getting the trains into the portals. Having the odd derailment whilst spawning, or a train instead of returning from a terminus restarting into the buffers were the only problems and could be rectified.

    Now, returning to making up scenarios after a two-year gap I find that, like the others, I cannot place a train into the portal. I have to stack the trains one behind the other on the running lines to be able to run a station timetable. I find that I am starting off the scenario at around 25-30 fps, but as each train runs into its de-spawning portal the fps seem to increase. [I am assuming that having the trains stacked one behind the other takes up a lot more memory than placing them in portals.]

    Now, I am doing exactly the same as I did before, so I am assuming that it is not me at fault here.

    If it is not my fault then, like the others, I really wish that DTG would quickly find a solution to this.

    Regards,

    Bruce Gauld.
     
    • Like Like x 1
  12. Koplopermau

    Koplopermau Member

    Joined:
    Dec 9, 2016
    Messages:
    33
    Likes Received:
    57
    In a livestream very long ago, Matt Peddlesden once commented on this. Portals were never meant to spawn them, just despawn. I also used portals to spawn AI trains in one of my scenarios and had weird crashes while spawning.

    General rule of thumb: Don't use portals to spawn trains. Rather, put them somewhere on the rails and let them do their thing from there.

    Obviously I did some extended research into this and it seems that AI trains can spawn up to from 2 minutes early to 2 minutes late IF they spawn from a portal. If you have quite some trains coming from a portal that CAN lead to some interesting results. It would explain crashes you have if trains are within a 4-5 minute window of one another. If you just managed to hit the right RNG (random number generator) and one train would spawn 2 minutes late and one 2 minutes early, they would spawn on top of one another causing an AI derailment. If that sounds familiar to you, then this was probably the problem!

    Ever since I found that out, I stopped using portals to spawn trains. I'll just put them in a big station ahead or just anywhere ahead where I'm sure the player can't see them and make sure they start on time.

    As a pioneer from the 32-bit era, I can confirm that this is not the case. Memory use is identical if a train is on the rails or in a portal. FPS increase might be a thing, since the train doesn't have to be rendered anymore. Just remember that ANY train, AI or player, that is in the scenario, is loaded, wherever it might be. Even if you're in Lyon and the AI train is in Marseille. The AI train is there and loaded.

    Hope this helps.

    Koplopermau
     
    Last edited: Mar 6, 2024
    • Helpful Helpful x 2
  13. penninedmu#9526

    penninedmu#9526 New Member

    Joined:
    Oct 3, 2024
    Messages:
    20
    Likes Received:
    2
    I'm just annoyed because it's now a pain to create trainspotting scenarios at the end of a route

    Like for example at Leeds on the Huddersfield line or Exeter St David's on the Riviera Line
     

Share This Page