Elvas Tower: Issue: TSRE Activity Tools cannot create drop off events with cars from the player train - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Issue: TSRE Activity Tools cannot create drop off events with cars from the player train (here is a workaround): Rate Topic: -----

#1 User is offline   A D REID 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 48
  • Joined: 03-September 19
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • Simulator:Open Rails
  • Country:

Posted 04 January 2021 - 11:24 AM

Here is the issue. With TSRE Activity Tools, it is possible to create an activity event (drop off cars at location), but you must select the rail cars from a static consist that will be picked up at some time before the drop off is to occur (it is not possible to select cars that were part of the player train at the beginning of the activity).

Here is a workaround that involves using a text editor to achieve the desired effect. When performing this edit, ensure that the activity file is not concurrently open in TSRE, or any other program. First, use TSRE Activity Tools, to create the drop off event, but select the appropriate number of cars from a static consist. You could use an existing consist, or create one for this purpose and delete it after creating the drop off event. Note the code in the green text displayed in the siding box, for example "[459] Miller Quarry 2". Then save the activity, and close TSRE. Next, open the ".act" file with a text editor and search for "DropOffWagons". Check the code in the last SidingItem to ensure you have located the intended event. You should see something similar to the sample shown below (you will not see line numbers; these have been inserted in the sample, so I can refer to relevant lines):

01 EventCategoryAction (
02 EventTypeDropOffWagonsAtLocation ( )
03 ID ( 1 )
04 Activation_Level ( 1 )
05 Outcomes ( )
06 Name ( Drop0 )
07 Wagon_List (
08 UiD ( 2147483659 )
09 SidingItem ( 4294967295 )
10 Description ( "" )
11 UiD ( 2147483660 )
12 SidingItem ( 4294967295 )
13 Description ( "" )
14 UiD ( 2147483661 )
15 SidingItem ( 4294967295 )
16 Description ( "" )

17 )
18 SidingItem ( 459 )

19 )

In this example, three cars are to be dropped off. You need to change the car number in the UiD in lines 08, 11, and 14. Suppose you expect to drop off cars 0-14, 0-15, and 0-16 from the player train. Omit the "0-" when changing the car numbers. The result should look like this:

08 UiD ( 14 )

11 UiD ( 15 )

14 UiD ( 16 )



After saving your changes, and closing your text editor, get Open Rails running, then start your activity. You should now see the desired cars in the work orders.

#2 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,426
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

Posted 04 January 2021 - 03:05 PM

You might consider also posting at the official TSRE forum >>> TSRE Forum
You would be assured of getting some response from Goku.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users