How to define specific lines at Industries

peterwhite

Steam Rules OK
Hi guys

Probably me being a little bit thick but I am trying to use bendorseys coal tower 3 modified by msgsapper for 2012 but I can't seem to set it up to show 'coal unload' and 'coal load'.
All I get when I use the 'drive to' command is 'Coal Tower ()'

Any help would be much appreciated.

Regards
Peter
 
You probably have to set up, and name a precision placed trackmarker to drive to, as my AI my locos commonly speed right on past the loader, at ludicrous speed ... either that or drive in cab mode, or dcc mode.
 
When I use industries such as power plants and mines, I have the AI drivers drive to a track mark just before the industry then drop their speed to 5 mph. This ensures that they will empty or fill their wagons properly.

John
 
If you don't place a speed marker before the industry, usually the first car will not load/unload. I place a 5mph speed maker at the entrance of the loading track. Also you need to issue a load/unload command after the "Drive To" command or you locomotive/first car will stop at the industry and nothing will happen.

John
 
Probably me being a little bit thick but I am trying to use bendorseys coal tower 3 modified by msgsapper for 2012 but I can't seem to set it up to show 'coal unload' and 'coal load'.
All I get when I use the 'drive to' command is 'Coal Tower ()'

The track must be selected before you use the 'Navigate To Coal Tower ()' command. Then use the Load or Unload according to which track you are on. So you would set up a trackmark on each track before the facility, then use commands like
Navigate To TrackMark: Loader Approach West
Navigate To: Coal Tower
Load
or
Navigate To TrackMark: Unloader Approach West
Navigate To: Coal Tower
Unload

If the path is ambiguous then the unloader will be selected (which seems to confuse things a bit if you then issue a Load command).

You may need to maintain a high approach speed to the loader to avoid getting a load dumped on the engine.

You can't use trackmarks to indicate the load and unload points because a Load or Unload command is only valid if it is preceded by a Drive To command.
 
The script and config are missing the information for the destinations at the coaling station.
Example: Coal_Tower_3_Mod1 <kuid:439337:101123>
Add the following (green) lines to the config.txt
Code:
[COLOR=#008000]string-table
{
  coaldump                              "Deliver coal"
  coalpickup                            "Load coal"
}[/COLOR]

kuid-table
{
  0                                     <kuid:35412:38051>
  1                                     <kuid:-1:15>
  coal                                  <kuid:44179:60013>
}
and the following (green) lines to the script (.gs files).
Code:
    float EndUnload(LoadingReport report)
    {
    Sleep(1.0);
    SendMessage(me, "pfx", "-0");
    return 1.0;
    }

[COLOR=#008000]    public void AppendDriverDestinations(string[] destNames, string[] destTracks)
    {
    StringTable stringTable = GetAsset().GetStringTable();
    destNames[destNames.size()] = stringTable.GetString("coalpickup");
    destTracks[destTracks.size()] = "out_track";
    destNames[destNames.size()] = stringTable.GetString("coaldump");
    destTracks[destTracks.size()] = "in_track";
    }
};
[/COLOR]
The "Deliver coal" and "Load coal" are the names for the DriveTo/NavigateTo command, and could be changed to your prefered names.

Peter
 
Last edited:
Thanks Peter

I've altered the config and script as you said and everything works perfectly.
Thanks once again for your assistance

Peter
 
Back
Top