transitguard
workin' away.......
Just a question, has anyone figured out a way to get the water from an AUX. tender to the engine (or even to the engines main tender)? It would be interesting if someone could get it to work.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Error: The tag 'update_delay' is not permitted within this container. (Container type 'traincar')
[FONT=Courier New]public void Init(void) {[/FONT]
[FONT=Courier New]inherited();[/FONT]
[FONT=Courier New]if (GetAsset().LookupKUIDTable("water")) waterAsset = GetAsset().FindAsset("water");[/FONT]
[FONT=Courier New]rsd = (float)GetAsset().GetConfigSoup().[COLOR=red]GetNamedSoup("extensions")[/COLOR].GetNamedTagAsInt("update_delay", 300);[/FONT]
[FONT=Courier New]AddHandler(me, "Vehicle", "Coupled", "UpdateTrain");[/FONT]
[FONT=Courier New]AddHandler(me, "Vehicle", "BadCouple", "UpdateTrain");[/FONT]
[FONT=Courier New]AddHandler(me, "Vehicle", "Decoupled", "UpdateTrain");[/FONT]
[FONT=Courier New]AddHandler(me, "SLW_ATWG", "ReBalance", "UpdateTrain");[/FONT]
[FONT=Courier New]AddHandler(me, "World", "ModuleInit", "InitStart");[/FONT]
[FONT=Courier New]}[/FONT]