Activity Creation Questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • necrails
    Senior Member
    • Jul 2003
    • 152
    • Fanwood, N, Union.

    #1

    Activity Creation Questions

    I have been learning how to create activities in TSRE and have encountered two issues that may or may not be know to others. I have read all available documentation online (I think) but have hit a wall. The first is when creating a new activity the default file default file name is file0. Moving to activity settings the display name can be altered but the file name cannot be touched. I found out the hard way when creating another activity and saving the file was over written because the new activity also had file0 as a name. My workaround was to rename the act file outside of TSRE. Is this the correct method?

    My other issue is with traffic. I created an activity with 2 traffic actions. These worked fine but required a change to the start times. Despite changing the times in the activity the traffic appears at the same instance. Changing the start times for the traffic has no inpact. Also any additional traffic created does not link to the intended activity. The used by box does highlight so despite appearing on the list for traffic the check box remains unchecked. Left click, right click has no result. What am I missing here?
  • adreid
    Senior Member


    • Jul 2019
    • 136
    • Toronto, Ontario, Canada
    • General

    #2
    1. You should be able to provide the file name (do it before your first save) unless windows security denies access (try running TSRE as an adninistartor).

    2. Traffic is a known limitation of TSRE -- refer to;

    AI train doesn’t spawn - Trainsim.Com
    .

    Comment

    • amtrak115
      Senior Member

      • Oct 2005
      • 289
      • Parker, TX
      • General

      #3
      The traffic thing bugged me for a while till I figured out what was happening. The problem is that when you add traffic to the activity the first time...TSRE copies the traffic file into the activity file. If you try and update anything in the traffic file...the traffic file is updated but the activity file never gets updated. The work around is to update the traffic file like with new start times or whatever...Then (This is what I do)....I set the traffic pull down to nothing in activity editor...then I update the start time for the activity by adding one second...then save the activity...This essentially deletes the traffic from the activity... Then add the traffic file back in by selecting it in the pull down....then update the start time by subtracting one second...then save the activity. the new updated traffic file will now be added into the activity file. (you could also just keep adding one second and that will tell you how many times you had to update traffic file...LOL....just kidding)...

      later

      Amtrak115 (aka Barry)

      Comment

      • necrails
        Senior Member
        • Jul 2003
        • 152
        • Fanwood, N, Union.

        #4
        I will try the traffic work around. Still puzzled that every activity is assigned the file name of file0 and must be changed outside the editor else a new activity will over write the old one. Now that I know to do that it's OK but ammoying.

        Comment

        • adreid
          Senior Member


          • Jul 2019
          • 136
          • Toronto, Ontario, Canada
          • General

          #5
          You should be able to change the file0 name within TSRE -- you should not need to do that outside of TSRE.

          Comment

          • necrails
            Senior Member
            • Jul 2003
            • 152
            • Fanwood, N, Union.

            #6
            Originally posted by adreid
            You should be able to change the file0 name within TSRE -- you should not need to do that outside of TSRE.
            One would think that except that field is only available when creating the activity. Going back after the fact, the file name, not the file display name, is greyed out.

            Comment

            • adreid
              Senior Member


              • Jul 2019
              • 136
              • Toronto, Ontario, Canada
              • General

              #7
              Originally posted by necrails

              One would think that except that field is only available when creating the activity. Going back after the fact, the file name, not the file display name, is greyed out.
              You are correct -- the file name cannot be changed after the activity is created -- that was my point "1. You should be able to provide the file name (do it before your first save)" -- the first thing you should do when you start a new activity is to name it (once you save, you cannot change that name).

              Comment

              • necrails
                Senior Member
                • Jul 2003
                • 152
                • Fanwood, N, Union.

                #8
                Originally posted by adreid

                You are correct -- the file name cannot be changed after the activity is created -- that was my point "1. You should be able to provide the file name (do it before your first save)" -- the first thing you should do when you start a new activity is to name it (once you save, you cannot change that name).
                Let's just say activity creation is a convoluted process. From my perspective the tools are there but the flow if we can call it that isn't friendly at all. I will probably print out a cheat sheet to follow to remind me of the steps, the order of the steps and the workaround for when the inevitable hiccup happens. My solution so far is to delete the service, traffic file, and the offending activity and start from the beginning. At least the path and consists can be reused with no issue. This is very much a learn by doing process.

                Comment

                • amtrak115
                  Senior Member

                  • Oct 2005
                  • 289
                  • Parker, TX
                  • General

                  #9
                  I agree the activity editor within TSRE is convoluted and there are some known issues. There are workarounds for just about all the issues. I've been working on a replacement tool but have very little experience with C# code. a couple of things that would improve it....at least in my mind....first don't imbed the traffic in the activity file....use an "include" file...that way the only the traffic file needs to be edited. I think there's some improvement that could be made in the timetable area. loose consists ought to be a form of "include" file also. Need a way to add static objects near the track in a activity and not in the route. OR added some neat improvements to the events portion of the activity....Those are just some of the improvements that could make the tool useful...I had explored the concept of a "Toolbox" with an Elvas Tower user by the name of "Perpetualkid"...He's still working on that

                  Anyway.....

                  onwards ...

                  Amtrak115

                  Comment

                  Working...