Creation Sharing Diary Of Creating A Route - Toronto Subway Opening Day

Discussion in 'PC Editor Discussion' started by pwilson79, Nov 5, 2023.

  1. Daunfr59

    Daunfr59 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    221
    Likes Received:
    545
    Sorry you didn't have any luck.
    I don't understand why it is looking for a VHID in the "driveable RVM". My RVM doesn't have any VHID's as they are all in the RVV
    and the only things that are close (in the RVM) are the three Interaction Environments (Driver, Fireman (Conductor) and Engine).

    You say you've put a throttle in but is that in the RVM or RVV ?
    Perhaps it will help if I include photos of the RVM and RVV setups with emphasis on the Regulator which is the steam equivalent of throttle.

    First the RVM where the regulator is an Irregular Lever Component (which allows you to set up detents etc). You will also see the interaction Environments but all the controls are simply levers or push buttons.
    The output from these levers is passed to the Simugraph in the Event Graph of the RVM.

    RVM_Components.jpg


    Secondly the RVV . This where the Regulator VHID is and it is linked to the bone in the Cab Skelton on the right hand side (Details panel)
    It is also linked to the Irregular Lever in the RVM (lower down in the Details panel and not in photo).

    The Event graph of the RVV passes the output of the VHID's to the Cab Animation Blueprint so the relevant bones move when you operate the controls. As far as I know the Simulation is not interested in the visible loco (RVV) and is driving the "invisible" RVM during the game .


    RVVComponents.jpg

    I think you have to work on each control in your RVM and RVV side by side before you can get anything working in the Editor . It looks like your simulation is looking for something from the RVM to tell it what to do (perhaps the RVM races off at full throttle to the end of the track and derails !!? ). The scenario manager says the train has derailed but is not being driven !!

    If you think I can help (now or in the future) with the set up of the RVM / RVV / Simugraph "trinity" let me know as I'm happy to do that.
    I said to someone on another thread that I was considering a tutorial but, as you know, all these things take time.

    Sorry if this has turned into a bit of a "lecture" (not my intention) and hope you manage to get to the bottom of what's going on.
    Good luck!
     
  2. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Don't worry about the "lecture," your advice is quite helpful and I really appreciate the help! I think you may be right about double-checking the VHIDs are set up and where they should be. We'll my break's over, back to work for me!
     
  3. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Terrific news!

    My G-1 Gloucester AB set can now successfully be towed by an M3 set!

    This is perhaps not as impressive as it would be if they were already drive-able, but this is the first time I have been able to see them moving on the line! Keen observers will spot this is a slightly less detailed exterior than I've shown previously, but that was before I unified the object as a skeletal mesh, for which I used an earlier version of the file. Also, yes, the couplers are nowhere near each other and the wheels are a bit wonky when the train is turning. Those, too, are a Work In Progress.

    Now I feel like I should get back to modelling the details, particularly the undercarriage and bogies. Once I get buffers figured out, I should be able to rig and animate the pantograph security gates between the cars so that they compress and expand! Onward to bigger and brighter things, eh?

    Have a look!:

     
    Last edited: Jan 31, 2026
  4. olaf99NL

    olaf99NL Member

    Joined:
    Jul 13, 2025
    Messages:
    23
    Likes Received:
    82
    Hello

    In your blueprint you will need to have something, as a child of the platform component, that has directionality so the AI knows where to face in the waiting area; I used a simple arrow component.)

    I have the same problem. I have tryed adding a arrow but nothing happend. Dit you add some code to it?
    Schermafbeelding 2026-01-31 110602.png
    I use a NavMeshBoundsVolume.

    I hope you can help me.
     
  5. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Sorry for not getting back to you sooner, just needed to get some sleep. There shouldn't be any code required for it to work. I'm still waking up, but give me a couple hours and I'll see if I can spot what I did differently.
     
  6. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Okay, I think I've spotted the issue. Looking at my setup, the arrow component needs to be added to the waiting area specifically:

    ScreenHunter_301 Jan. 31 10.28.jpg

    The easiest way to do this of course would be to just drag and drop the Arrow component on your PlatformWaitArea. This is what got it working for me; I forget if you need to rotate the PlatformWaitArea or Arrow to adjust the direction the passengers face, but one of those two should work.

    That should do it!
     
  7. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    That's better! Now the wheels and bogies are properly animated. Also, the gap between cars is fixed.

    There's still something not quite right about the couplers I think, because when I try to add another G1 pair to the back of the consist, it reverts to going into convulsions when I try to drive it. Still, getting the wheel and bogie animation working was a job and a half, in-and-of itself, so I might leave it at that for the weekend.

     
  8. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    IDK, LOL

    ScreenHunter_302 Feb. 01 18.06.jpg
     
  9. olaf99NL

    olaf99NL Member

    Joined:
    Jul 13, 2025
    Messages:
    23
    Likes Received:
    82
    Sorry but for some reason I dit not get a email notification of your reply. In my forum settings everything is turned on.

    I have now moved the arrow as you show but it still does not work. I have tryed multiple rotations but it still does not work.
    I have seen that DTG don't use a arrow and the wait area x points to the track.

    I dit also a rebuild from the NavMeshBoundsVolume.

    Maybe you can have a look at your rotations?
     
  10. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Well that's definitely what got it working for me, and it's how mine is currently set up. To tell the truth, I'm a bit reluctant to poke around inside of the setup now, for fear of breaking it, but I'll have a look this weekend and try to see if there's anything else to suggest.
     
  11. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Well I've been experimenting with an AI driven 4-car train of just Gloucesters, since I've barely begun the Simugraph, and while taking an external view while in the passenger seat, I may have spotted a clue as to what has been launching me into the sky when I stand up.

    ScreenHunter_303 Feb. 04 19.08.jpg

    In fact, it was kind of hard to miss!
     
    • Like Like x 3
  12. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Yup! It was a scale problem.

    Root bone of the LIRR M3-A Skeleton:

    ScreenHunter_304 Feb. 05 19.16.jpg

    Root bone of my TTC G1-A Skeleton:

    ScreenHunter_305 Feb. 05 19.16.jpg
    notice anything different? :)

    P.S.: This seems to be yet another issue relating to exporting from Blender to UE4. There seems to be a work-around.

    P.P.S.: In Blender, you set your project's Scene Unit Scale to 0.01, and then scale everything in your scene by 100. Your skeleton will now be scaled to "1" when you export your skeletal mesh, instead of "100." Time to use this meme again:
    brain hurts.jpg
     
    Last edited: Feb 6, 2026
    • Like Like x 3
  13. olaf99NL

    olaf99NL Member

    Joined:
    Jul 13, 2025
    Messages:
    23
    Likes Received:
    82
    Hello

    Funny error almost look like a modelrailway. :) Is the scaling problem also for meshes? At the moment I have no problem with blender import.

    I have also tryed putting the arrow on de the track but it still does not work.
    Schermafbeelding 2026-02-06 181443.png
     
  14. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    That scaling error is a bit funny, isn't it? It shouldn't be a problem for static meshes, but once you try to import a skeletal mesh, you will probably have to change the scene unit scale to 0.01, unless you want giant passengers. (It's because of the seat node being part of the skeleton, from what I can tell.) Probably better to have a normal-sized skeleton, in any case.
     
    • Like Like x 1
  15. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    I hope everyone had a good weekend!

    Just wanted to show off the lighting, which I'm pretty happy with. One of the more iconic features of the Gloucester were the 44 (!) incandescent dome lights in the interior. The material for the light fixtures required subsurface translucency for the frosted areas, but I kept the material as simple as I could otherwise.

    I've noticed a wee bit of frame lag, even with the lights set to static, but I think that's because there are 44 per car! I don't think I could get satisfactory results with an emissive material either, since I want to use them for the direct lighting as well, given how nice the result is. I'll probably have to rig up the RVV to turn them off based on camera distance, and use something drastically simpler; sort of a programmatic LOD for lights.

    Started putting in more of the seats, too.

    ScreenHunter_311 Feb. 16 17.27.jpg ScreenHunter_313 Feb. 16 17.28.jpg

    *EDIT: Well, 44 give-or-take a few.
     

    Attached Files:

    Last edited: Feb 17, 2026
    • Like Like x 3
  16. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Hello, I am door :)


    ScreenHunter_314 Feb. 21 13.12.jpg
     
    • Like Like x 2
  17. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    I thought I was doing so well to set up the door VHID, then I tried hooking up the animation. At first I added my animation sequence to a montage, and played it back with a bit of blueprint in the RVV that detects changes in the VHID output. This worked fairly well, and in fact I may have to go back to doing that, since even though I later noticed my Animation BluePrint (Parent class is RailVehicleAnimInstance) has detail settings for Virtual HIDSequence Entries, they aren't working in my setup.

    Here is the animation sequence in question, which appears 100% correct on the face of it:

    ScreenHunter_315 Feb. 22 14.09.jpg

    And here is the Animation BluePrint when I try to assign it to a Virtual HIDSequence Entry. This is how it ends up in-game, too:

    ScreenHunter_314 Feb. 22 14.09.jpg
    What the heck is even going on here?

    So, two steps forwards, one step back. What else is new?

    P.S. I get the same result with or without the default slot set up in the animgraph
     
    Last edited: Feb 22, 2026
  18. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Fixed!! The animation just had to be set to additive. This is why I wish they could provide us all with one or two fleshed-out, uncooked examples to work from.

    Oh well, onwards and upwards!
     
    • Like Like x 1
  19. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    I spent the weekend adding some more details to my version of the British Thomson-Houston pillar-type combined throttle handle and deadman-plunger used on the G1 cars. Anyone who's tried the excellent 38-Stock DLC for the Bakerloo line will be familiar with the controls found in the Gloucester's cab. Also thought I'd provide you with the first screenshot taken from a "Driving" position, though none of the controls are hooked up yet.

    ScreenHunter_318 Mar. 01 20.34.jpg ScreenHunter_320 Mar. 01 20.40.jpg

    At first I thought the knob was a tad big, then I remembered that the cab is the size of a broom closet. The throttle should be done by the end of the week or so, then it's on to the reverser and brake, which are simpler shapes. It seems the PC Editor and Blender are competing to see which can eat up more of my free time. The things we do for love and/or money, eh?
     
  20. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    I want to thank Daunfr59 for sharing his method of animating bones directly from the RVV. Here's my implementation, lowering the arm of the master controller by 10 degrees over the course of half a second: ScreenHunter_321 Mar. 07 21.23.jpg ScreenHunter_322 Mar. 07 21.33.jpg ScreenHunter_323 Mar. 07 21.34.jpg

    I found it a bit tricky to get a reference to my animation instance, to cast to; but I got there in the end :) I hope everyone else is making good progress as well!

    P.S.: Almost forgot, the blueprint above goes in the RVV, but you will also need something in your Animation Blueprint to actually move the bone, such as this:
    ScreenHunter_326 Mar. 07 23.37.jpg
     
    Last edited: Mar 8, 2026 at 7:40 AM
    • Like Like x 2
  21. Daunfr59

    Daunfr59 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    221
    Likes Received:
    545
    Glad I was able to help.

    I used an event Begin Play in the RVV event Graph with the same nodes as you and promote the Anim Instance Return Value to a Variable.

    You only need to do this once and then the ABP Variable can be dragged whenever needed for whatever control you're setting up.
    As a steam loco. my Cab has lots of levers to animate.

    RVV_EventGraph_GetABP.png

    Are you using a similar "On Output Changed" event in the RVM to pass the change in the control setting into the Simugraph (that's the way I did it.)

    Congratulations and good luck !
     
  22. pwilson79

    pwilson79 Well-Known Member

    Joined:
    Apr 18, 2021
    Messages:
    387
    Likes Received:
    543
    Well, to answer truthfully, I haven't touched the Simugraph since a couple weeks ago, when I removed the extra two axles that were causing the derailing. I need to set up the 3rd rail contact shoes, make sure I'm using the right kind of motors, and work out the power bus and get the master controller hooked up as well, so I'm leaving the bulk of that for this weekend.

    In other news, I worked out that the way to "disable" a VHID so it doesn't show up for the player to be interacted with (such as the power lever, if the deadman knob is up,) is to set the VHID component's collision to "No Collision." Turning off tick or even "deactivating" the component didn't seem to do anything at all. This is good to know, since I'll want to be doing this with the driver's tip-up seat as well, when it is in the up position. It's easy enough to set collision back to "Query Only" afterwards.
     
    Last edited: Mar 11, 2026 at 3:57 AM
  23. Daunfr59

    Daunfr59 Well-Known Member

    Joined:
    Dec 8, 2016
    Messages:
    221
    Likes Received:
    545
    Thanks - that could well be useful
     

Share This Page