Tutorial Making A Scenario (basics)

Discussion in 'PC Editor Discussion' started by DTG Matt, Oct 2, 2023.

  1. Dorel#5326

    Dorel#5326 Member

    Joined:
    Sep 27, 2023
    Messages:
    42
    Likes Received:
    35
    Please Mr. Matt one answer ...
    I need to know way i dont have any information here (schedule)?
    bandicam 2023-10-04 00-51-37-730.jpg
     
  2. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    Share a screenshot of your timetable
     
  3. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    Did you set the objective manager class and everything else in that group ok?

    also is your time correct for the service?

    which hud are you on? Try normal hud instead of mini see if it gives you any other info.
     
    • Like Like x 1
  4. Boingleboeing

    Boingleboeing Member

    Joined:
    Jul 31, 2021
    Messages:
    85
    Likes Received:
    45
    may I just say that you have to enter a train to activate the timetable (if you didn't do set Scenario in PIE but you did Timetable in PIE)
     
    • Like Like x 1
  5. Dorel#5326

    Dorel#5326 Member

    Joined:
    Sep 27, 2023
    Messages:
    42
    Likes Received:
    35
    It's all right now, Mr. Matt! Thank you very much for your time! Please don't forget to come up with a new script export .pak tutorial or how we can possibly add it to the creators club!
     
  6. Dorel#5326

    Dorel#5326 Member

    Joined:
    Sep 27, 2023
    Messages:
    42
    Likes Received:
    35
    I restarted and it appeared... thank you
     
  7. Boingleboeing

    Boingleboeing Member

    Joined:
    Jul 31, 2021
    Messages:
    85
    Likes Received:
    45
    You won'w be able to add it to creators club since it doesn't support that. And the .pak tutorial won't come until they fix the current problem with the cooking of the assets or something, all I know is that when you try to build the editor and everything goes kapouet
     
  8. Dorel#5326

    Dorel#5326 Member

    Joined:
    Sep 27, 2023
    Messages:
    42
    Likes Received:
    35
    then why so much work if we can't enjoy the game?!
     
  9. 2martens

    2martens Well-Known Member

    Joined:
    Oct 6, 2020
    Messages:
    318
    Likes Received:
    385
    Whose work do you mean? I find it extremely exciting to create something in the editor and it's a long while before it will be finished anyway. Still a lot to learn. In the meantime DTG will fix the .pak-building stuff and then the created content can be loaded in the cooked game or shared for other PC players. Creators club will need partnering with DTG under the 3rd party program to get it also to consoles.
     
  10. Tigert1966

    Tigert1966 Well-Known Member

    Joined:
    Aug 18, 2020
    Messages:
    1,902
    Likes Received:
    3,273
    Matt, A question from me if you have time to answer. I’m having a lot of fun with this. I’ve got an AI steam train that I would like to turn around using a turntable.

    Is this something fairly straightforward? Feel free to tell me to wait for a future tutorial. My scenario will work fine with the loco either way around. Just something that occurred to me to try, that I couldn’t work out.
     
  11. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    I'll have to remind myself how that works, will take a look :)
     
    • Like Like x 1
  12. spikeyorks

    spikeyorks Well-Known Member

    Joined:
    May 31, 2023
    Messages:
    935
    Likes Received:
    1,380
    Hi Matt,

    Just started with this this morning and did a small cheer when I saw my 3-car CL377 appear on the map at Lewes. (Hooray).
    However, everything went downhill after that with constant UE crashes usually accompanied with a message about paths. (Boo).

    The other "interesting" thing that I have noticed is that my Object Manager File keeps vanishing from my scenario 1 folder despite me definitely saving it. Is that supposed to happen? Mind you when I go to try and create it the editor says there is already a file with the same name there. I just can't see it?

    Everything else seems to work OK and, as I said earlier, I can see a train in the map at Lewes. What does that Object Manager file do? (I am assuming that, maybe, it controls all the tasks given to the various services and that, perhaps, if mine is missing that is why I am getting the crash to desktops?).

    Any help will be appreciated as I am a bit stuck now.

    Thanks. David.
     
  13. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    The editor isn't consistently discovering files when it loads in - known issue and on the list to fix asap.

    The objective manager file will be where your objective scripting goes when you know how to do that ;)
    (press this lever, walk over here, subtitles etc)

    Matt.
     
    • Like Like x 1
  14. ScottN

    ScottN Active Member

    Joined:
    Sep 1, 2020
    Messages:
    220
    Likes Received:
    130
    Hey Matt, I notice a problem with making a scenario is I have is with go via instructions as the first instruction triggers it but the next go via does not appear on the HUD so I don’t know if it’s a bug in the editor.
     
  15. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    Interesting - can you share a screenshot of your timetable?
     
  16. spikeyorks

    spikeyorks Well-Known Member

    Joined:
    May 31, 2023
    Messages:
    935
    Likes Received:
    1,380
    Wayhay I have actually made something !!!
    A massively long run from Lewes PL1 to Lewes Up siding (and in a 3-car unit too).
    (I always thought that PL1 & PL2 were wasted at Lewes).

    Throughout the full 4 minutes of this scenario I am getting an error message "Blueprint compile error. Navmesh needs to be rebuilt".
    No idea what this means of course. Interestingly my Object Manager file had vanished again but, as you can see, the scenario still worked as intended.

    I think I have earned myself a beer !!!

    David.

    LewesPL1.jpg LewesUpSiding.jpg
     
    Last edited: Oct 5, 2023
    • Like Like x 4
  17. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    Well done :) Satisfying to see your own creations working isnt it?
     
    • Like Like x 1
  18. Dorel#5326

    Dorel#5326 Member

    Joined:
    Sep 27, 2023
    Messages:
    42
    Likes Received:
    35
    I meant us ... we struggle in vain if we cannot share them with everyone !
     
  19. MagicMinion

    MagicMinion New Member

    Joined:
    Oct 4, 2023
    Messages:
    6
    Likes Received:
    6
    Ive created a small scenario based on your tutorial Matt, however when I press the play button in the editor the scenario is starting 5 minutes after it should be? Worked ok a few minutes ago?

    Just tried loading the editor again and now the scenario start 2 hours after it should?

    Also is it normal when loading the editor again and then loading the route map, for it to show the bounding box of the train i created for the scenario?

    thanks

    Darren
     
    Last edited: Oct 5, 2023
  20. josh_the_tech

    josh_the_tech Active Member

    Joined:
    Dec 9, 2016
    Messages:
    218
    Likes Received:
    145
    Make sure you right click your scenario definition and select "Set as Play In Editor Scenario" and then try again. It will then run at the time you set in the definition file.
     
  21. MagicMinion

    MagicMinion New Member

    Joined:
    Oct 4, 2023
    Messages:
    6
    Likes Received:
    6
    Thankyou Josh, I’ll give it a go
     
    • Like Like x 1
  22. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    I started a new thread for cadeshr6s timetable issues, took it as an opportunity to do a Timetable Debugging 101 tutorial :)
     
    • Helpful Helpful x 1
  23. spikeyorks

    spikeyorks Well-Known Member

    Joined:
    May 31, 2023
    Messages:
    935
    Likes Received:
    1,380
    Scenario No: 2 - Newhaven Marine.....with an AI service too. (Never thought I would see that semaphore move).

    One quick question "Are you always doomed if you hit Ctrl + F10 when taking a screenshot?" The Editor seems to reset after one of those (which is really annoying when you do it one minute before the end of the scenario by mistake).

    Thanks for giving us the inspiration Matt. It is starting to open up all sorts of scenario possibilities.

    David.

    NewMarine1.jpg NewMarine2.jpg NewMarine3.jpg
     
    • Like Like x 1
  24. Boingleboeing

    Boingleboeing Member

    Joined:
    Jul 31, 2021
    Messages:
    85
    Likes Received:
    45
    This is just an educated guess but that blueprint file hmmmmm seems to want to do that ;)
    I'm sure there is a way with the 18Gajouilion of nodes you can shove in it
     
  25. MagicMinion

    MagicMinion New Member

    Joined:
    Oct 4, 2023
    Messages:
    6
    Likes Received:
    6
    Worked a treat Josh thankyou.
    After a fresh start of the editor i load the route i was using for my scenario (in this case east coastway map) and the bounding boxes for the trains i placed in my scenario are still there? Despite freshly starting the editor? Is this correct or have I done something wrong?
     
    • Like Like x 1
  26. josh_the_tech

    josh_the_tech Active Member

    Joined:
    Dec 9, 2016
    Messages:
    218
    Likes Received:
    145
    Glad to hear that sorted it.

    Regarding your second question I'm not sure, I've never really looked to be honest. I've clearly not added enough trains to my test scenario. Don't think it'll be a problem though.
     
  27. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    No its done by just being a bit clever with the pathing instructions basically and the despatcher figures out it needs the turntable to achieve it.

    In fact the WSR turntable at minehead was a total pain - we had one instance where a mistaken couple-to instruction with the fronts and backs the wrong way around lead the dispatcher to need to send the train all the way up the line to minehead, turn the loco and bring it back so that it could do what it had been asked - gotta really watch that thing its too clever for its own good :)
     
    • Like Like x 4
  28. Boingleboeing

    Boingleboeing Member

    Joined:
    Jul 31, 2021
    Messages:
    85
    Likes Received:
    45
    but can you force the Dispatcher to use a turntable then ?

    Thinking of it yeah should be possible then but on the SOS scenario "the tables have turned" (first off their is a bug with the way around the turntable is supposed to be) when you are asked to put the turntable manually to some point that is using the scenario Objective manger thingy right?
     
    Last edited: Oct 5, 2023
  29. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    You dont need to use the objective manager unless you want to put in objectives for the player.

    Remember, service modes can use the timetable and there is NO objective manager in those.

    Spirit of steam does it, remember?

    I'll try and fire up the editor and get you an example tonight :)
     
    • Like Like x 1
  30. eldomtom2

    eldomtom2 Well-Known Member

    Joined:
    Jul 31, 2022
    Messages:
    2,042
    Likes Received:
    2,227
    How does a scenario like the Class 66 Introduction on East Coastway work then? Does it use hidden signals?
     
  31. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    I think there's a special case exception for the very first thing a train does that forces points over or something daft - we try not to rely on it and its really bad practice to rely on it, nobody should be doing that anymore but occasionally they slip in and sometimes they get away with it for that reason :)

    Please do not rely on it!
     
    • Like Like x 1
  32. josh_the_tech

    josh_the_tech Active Member

    Joined:
    Dec 9, 2016
    Messages:
    218
    Likes Received:
    145
    What's required to get the PIS to display the service? I have a train at Reading that's on Platform 13 on the GWE route, when spawning into the scenario. But nothing shows on the PIS or at any of its stops. Here is the setup of the service. It doesn't work for either of the 2 trains I have on this scenario.

    upload_2023-10-5_21-47-8.png

    Any pointers would be appreciated
     
    • Like Like x 1
  33. eldomtom2

    eldomtom2 Well-Known Member

    Joined:
    Jul 31, 2022
    Messages:
    2,042
    Likes Received:
    2,227
    But what about any of the training center scenarios that have you switch points, like the Class 66 tutorials where you go into a headshunt and then reverse into a siding? How do those work?
     
  34. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    In manual junction areas you can do anything you like. It's automatic junctions you have to be mindful of.
     
    • Like Like x 1
  35. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    I'll go see how it's done these days... it's changed at least twice since I last set things up for that :)
     
    • Like Like x 2
    • Helpful Helpful x 1
  36. josh_the_tech

    josh_the_tech Active Member

    Joined:
    Dec 9, 2016
    Messages:
    218
    Likes Received:
    145
    Appreciate that, thanks Matt!
     
    • Like Like x 1
  37. eldomtom2

    eldomtom2 Well-Known Member

    Joined:
    Jul 31, 2022
    Messages:
    2,042
    Likes Received:
    2,227
    Ah, I get it now.
     
  38. LarsenR

    LarsenR New Member

    Joined:
    Oct 4, 2023
    Messages:
    4
    Likes Received:
    0
    I was wondering how it is possible for several services to stop at the same platform before coupling together. At Haywards Heath on London-Brighton for example, the first part from Eastbourne comes in first and then the other part from Littlehampton stops a bit behind the first one, opens the doors and then couples to the other train. So far I have only managed to let the second train enter the track directly with the coupling instruction, if I use a stop instruction it gets held at a red signal because the platform is occupied.
     
  39. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    For this you need to use dependencies... I'll see if I can put together a quick tutorial on that.
     
    • Like Like x 1
  40. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    Have posted a tutorial on this for you separately.
     
    • Like Like x 3
  41. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    Interesting, i've just tried this on multiple routes in multiple places and it always seems to work for me - which is odd because I wasnt expecting it to work either!

    Can you show me a timetable that isnt working and i'll try and see how it behaves for me :)

    Matt.
     
    • Like Like x 1
  42. LarsenR

    LarsenR New Member

    Joined:
    Oct 4, 2023
    Messages:
    4
    Likes Received:
    0
    This example represents what I'm doing/trying on the EastCoastway route:

    The top part is what I am trying to achieve, the exact stop marker for service2 is set around 15m away from the rear of service1. The bottom part is my current solution, this works but is not realistic. The only difference in the instructions between both are the platform assignments (and obviously the missing instructions).
    upload_2023-10-6_2-52-20.png

    This is the result when simulating the timetable:
    ECW Timetable Test Simulation - YouTube
    You can see in the video that the first two services reach the platforms at Brighton, but the second service from the top simply stops hard at a siding while the second service from the bottom successfully couples to the first one and both units move as one back to the siding as expected.
     
  43. Der Lokführer

    Der Lokführer New Member

    Joined:
    Jun 28, 2022
    Messages:
    7
    Likes Received:
    7
    Thanks for your tutorials Matt. It is so nice to have the editor now and play around with new Scenarios :cool:

    What I did not find out until now is, how to set waypoints, when you are walking. E. g. "Go to this lokomotive" or "Get into driver seat". Has anyone figured out how this works?

    Screenshot 2023-10-06 120223.png
     
    • Like Like x 1
  44. BotiD_

    BotiD_ New Member

    Joined:
    Sep 22, 2023
    Messages:
    23
    Likes Received:
    13
    I have the same question!
    I would like to insert a text message like we get in your scenarios (to explain what the driver has to do) and exact objectives (like insert Master key).
    I tried to look at scenarios but I cant even open their timetables.

    Thanks in advance for your answer! :D
     
    • Like Like x 1
  45. queekusme

    queekusme New Member

    Joined:
    Oct 4, 2023
    Messages:
    11
    Likes Received:
    5
    This is aparently done with the objectives system which they will have a tutorial for as soon as they are able to.

    I am also looking forward to this as I have a few ideas for scenarios which require custom objectives...

    Its a shame that the existing ones are baked as I'd really like to see how some of the more involved ones are done, for example one of the Glasgow Central scenarios has you rescuing another train and have to pass a signal at danger... I'd like to have a go at making one of these myself however i suspect it will require some jiggery pokery as usually passing a signal at danger is a fail scenario

    DTG Matt if possible could you include this in the tutorial (or a future more advanced scenario tutorial) pls :)
     
    • Like Like x 2
  46. jackthom

    jackthom Active Member

    Joined:
    Aug 22, 2020
    Messages:
    331
    Likes Received:
    168
    Agreed, an unbaked example of a full blown scenario would be incredibly useful for picking up tips on how it’s done using the Scenario Manager Blueprint.
     
    • Like Like x 1
  47. queekusme

    queekusme New Member

    Joined:
    Oct 4, 2023
    Messages:
    11
    Likes Received:
    5
    aye, even if it were just a sample i.e. no where near to being a released update, just something that could be used to show how it works more than anything.
     
    • Like Like x 1
  48. DTG Matt

    DTG Matt Executive Producer Staff Member

    Joined:
    Nov 17, 2016
    Messages:
    3,146
    Likes Received:
    17,320
    It's probably cleaner to just go through various tasks in tutorials - our scenarios vary wildly in their construction methods depending on who does it and what we'd learned (or not) by that time.

    Matt.
     
    • Like Like x 2
    • Helpful Helpful x 2
  49. spikeyorks

    spikeyorks Well-Known Member

    Joined:
    May 31, 2023
    Messages:
    935
    Likes Received:
    1,380
    Hi There,

    Hitting a snag with my AI services and, at the moment, I can't see why.
    I have a scenario with 10 AI services and 4 Statics in it. All look like they will start up OK in the right positions and I interact with the first few services correctly (including a coupling up). However my issue seems to be with the second station stop that any AI service has.

    Despite completing its first stop correctly, and any load/unload, the AI services all seem to get stuck at their second stops. They have all travelled correctly to their next stations but, when you check the "live" timetable, you can see that they haven't ticked off the (StopAt) instruction. So they are all stuck with their doors shut. (The Polegate stop highlighted on the bottom service is one of the problems).

    Why would they travel to their first stops OK but then not reach their second ones? Any thoughts? Thanks.

    David

    TT-Scenario1.jpg
     
  50. MagicMinion

    MagicMinion New Member

    Joined:
    Oct 4, 2023
    Messages:
    6
    Likes Received:
    6
    David,
    I had this aswell, only way i could fix it was to make the go to instruction into an exact stop instruction
     

Share This Page