Upcoming Games

(UTC times)


Full list
Add a game

Upcoming Events

No events to display

Activity codes

You are here: Home > Forum > General > Timetabling > Activity codes

Page 1 of 1

Activity codes 21/01/2020 at 18:01 #122970
postal
Avatar
5260 posts
Online
The SimSig wtt file is basically a zip file containing two XML files, SavedTimetable.xml and TimetableHeader.xml. The SavedTimetable file contains all of the data used in the timetable in XML format. Each train timetable is held as a block of data within the XML file. Included in this block are any actions like divides or joins. These show in the XML as <Activity>n</Activity> where n is a code number to identify which action is to take place.

Does anyone have a cross-reference of the code numbers and activities to save me some hard labour in working out which code refers to which action. I am asking because I want to search for specific actions within the XML file?

“In life, there is always someone out there, who won’t like you, for whatever reason, don’t let the insecurities in their lives affect yours.” – Rashida Rowe
Last edited: 21/01/2020 at 18:03 by postal
Reason: None given

Log in to reply
Activity codes 21/01/2020 at 18:16 #122971
GeoffM
Avatar
6370 posts
TTimetableActivityKind = (takNext, takDividesRear, takDividesFront, takJoins,
takDetachesRear, takDetachesFront, takDropsRear, takDropsFront,
takJoins2, takPlatformShare, takCrewChange);
takNext is zero, takDividesRear is 1, etc up to 10 for crew change, if I've counted correctly.

SimSig Boss
Log in to reply
The following users said thank you: postal, Lyn-Greenwood
Activity codes 23/01/2020 at 15:29 #122993
Lyn-Greenwood
Avatar
240 posts
GeoffM in post 122971 said:
TTimetableActivityKind = (takNext, takDividesRear, takDividesFront, takJoins,
takDetachesRear, takDetachesFront, takDropsRear, takDropsFront,
takJoins2, takPlatformShare, takCrewChange);
takNext is zero, takDividesRear is 1, etc up to 10 for crew change, if I've counted correctly.
Does 'takDetachesRear' mean 'Detach Loco (new Rear)'? Also, what is 'takJoins2'?

Log in to reply
Activity codes 23/01/2020 at 15:57 #122994
bfcmik
Avatar
100 posts
Lyn-Greenwood in post 122993 said:
GeoffM in post 122971 said:
TTimetableActivityKind = (takNext, takDividesRear, takDividesFront, takJoins,
takDetachesRear, takDetachesFront, takDropsRear, takDropsFront,
takJoins2, takPlatformShare, takCrewChange);
takNext is zero, takDividesRear is 1, etc up to 10 for crew change, if I've counted correctly.
Does 'takDetachesRear' mean 'Detach Loco (new Rear)'? Also, what is 'takJoins2'?
It means detach whatever train is described in the timetable. Usually a loco but it could be a set of coaches, a DMU or a even a parcel van or three in the historic timetables

Log in to reply
Activity codes 23/01/2020 at 16:36 #122995
headshot119
Avatar
4869 posts
Lyn-Greenwood in post 122993 said:
GeoffM in post 122971 said:
TTimetableActivityKind = (takNext, takDividesRear, takDividesFront, takJoins,
takDetachesRear, takDetachesFront, takDropsRear, takDropsFront,
takJoins2, takPlatformShare, takCrewChange);
takNext is zero, takDividesRear is 1, etc up to 10 for crew change, if I've counted correctly.
Does 'takDetachesRear' mean 'Detach Loco (new Rear)'? Also, what is 'takJoins2'?
takDetachesRear = Detach engine (new rear)
takJoins2 = Isn't used for anything

I've documented the actual number usage on the wiki here.

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
The following user said thank you: postal
Activity codes 23/01/2020 at 16:40 #122996
headshot119
Avatar
4869 posts
bfcmik in post 122994 said:
It means detach whatever train is described in the timetable. Usually a loco but it could be a set of coaches, a DMU or a even a parcel van or three in the historic timetables
You wouldn't use detach engine for "a set of coaches, a DMU or a even a parcel van" as the bit of the train left that should have the loco on it won't, and your banana vans will be able to move on there own accord!

"Passengers for New Lane, should be seated in the rear coach of the train " - Opinions are my own and not those of my employer
Log in to reply
Activity codes 23/01/2020 at 16:50 #122997
GeoffM
Avatar
6370 posts
headshot119 in post 122995 said:
Lyn-Greenwood in post 122993 said:
Also, what is 'takJoins2'?
takJoins2 = Isn't used for anything
Yes, only used internally; not relevant for timetablers.

SimSig Boss
Log in to reply
Activity codes 23/01/2020 at 16:51 #122999
clive
Avatar
2781 posts
Divide: both halfs are trains with traction.
Drops: the new train is unpowered ("drops coaches/wagons")
Detaches: this train becomes unpowered ("loco detaches")

From memory, takJoins2 was an idea that didn't work.

Log in to reply
Activity codes 24/01/2020 at 13:45 #123016
bfcmik
Avatar
100 posts
headshot119 in post 122996 said:
bfcmik in post 122994 said:
It means detach whatever train is described in the timetable. Usually a loco but it could be a set of coaches, a DMU or a even a parcel van or three in the historic timetables
You wouldn't use detach engine for "a set of coaches, a DMU or a even a parcel van" as the bit of the train left that should have the loco on it won't, and your banana vans will be able to move on there own accord!
It isn't detach engine - it is detach whatever is at the rear. Example being that a train pulls into a platform with mail coaches at the back. Detach rear allows those coaches to be detached whilst the main train remains powered and proceeds on it's merry way. A station pilot then gets attached to the remainder and moves them wherever they are scheduled.

Log in to reply
Activity codes 24/01/2020 at 14:05 #123019
Dick
Avatar
387 posts
I'm not a timetable writer but you appear to have failed to notice the subtle difference between 'detach' and 'drop'.
Log in to reply
The following user said thank you: bfcmik