Page 1 of 1

No AI traffic appearing on my own built Quick Drives

Posted: Tue May 11, 2021 9:06 am
by signalnorths
Ok so I'm trying to make my own quick drives - I've put together successfully some new consists and I can drive these on quick drive. What I've not as yet been able to do is to get my new new quick drive scenarios to generate any AI traffic (either with old ready supplied consists or new ones.) I have been able to place the markers for AI generation successfully and have filled in the boxes for them e.g destination, length (more than the default length!) etc etc but nothing ever appears when I run it except of course the loco I am to drive. no AI traffic at all .


Can anyone help please?

Thanks

Re: No AI traffic appearing on my own built Quick Drives

Posted: Tue May 11, 2021 11:18 am
by 749006
From what I understand

A Quick Drive Scenario looks in PreLoad folders and if the information in the folder matches what the info of your your route the train could appear
Looking at this folder \railworks\Assets\Kuju\RailSimulator\PreLoad\OxfoPadd there is this file Class 166 3 Car NSE.bin
In the file near the bottom is this section

Code: Select all

		<ValidBuildAndDriveRoutes>
				<cConsistValidRoute d:id="82341408">
					<RouteGUID d:type="cDeltaString">00000001-0000-0000-0000-000000000000</RouteGUID>
				</cConsistValidRoute>
			</ValidBuildAndDriveRoutes>
Which tells me it will only appear(?) on the route with the GUID 00000001-0000-0000-0000-000000000000 - the Oxford to Paddington route.

But I'm not sure and it just an observation

Peter

Re: No AI traffic appearing on my own built Quick Drives

Posted: Tue May 11, 2021 1:20 pm
by FoggyMorning
749006 wrote: Tue May 11, 2021 11:18 am From what I understand

A Quick Drive Scenario looks in PreLoad folders and if the information in the folder matches what the info of your your route the train could appear
Looking at this folder \railworks\Assets\Kuju\RailSimulator\PreLoad\OxfoPadd there is this file Class 166 3 Car NSE.bin
In the file near the bottom is this section

Code: Select all

		<ValidBuildAndDriveRoutes>
				<cConsistValidRoute d:id="82341408">
					<RouteGUID d:type="cDeltaString">00000001-0000-0000-0000-000000000000</RouteGUID>
				</cConsistValidRoute>
			</ValidBuildAndDriveRoutes>
Which tells me it will only appear(?) on the route with the GUID 00000001-0000-0000-0000-000000000000 - the Oxford to Paddington route.

But I'm not sure and it just an observation

Peter
That's correct. Every consist that you wish to appear as AI in your own QD scenarios needs to have the route GUID in this section. AFAIK there is no upper limit to the number of routes a consist can be valid on, so you can simply edit this section of an existing consist blueprint to add more routes, or create your own copy of the blueprint specific to the QD you're editing/creating.

If adding multiple entries, I tend to increase this line:

Code: Select all

<cConsistValidRoute d:id="82341408">
by 4 each time (e.g., the next entry would be 82341412, and so on), but I don't know if that's strictly necessary or if the actual number entered has any relevance.

You also need to ensure that the consist type in the blueprint above matches the consist type(s) you have set to spawn (e.g. "Passenger Commuter" in both cases) or they won't spawn.

My experience is it's one of the trickier things to get your head around, but it's very rewarding when you do get it working properly :)

Re: No AI traffic appearing on my own built Quick Drives

Posted: Tue May 11, 2021 4:18 pm
by alanch
TS Tools has a section for editing existing QD Consists, which includes adding permitted routes to the consist if you are wary of hand editing the files.

As always, read the manual.

Re: No AI traffic appearing on my own built Quick Drives

Posted: Tue May 11, 2021 5:40 pm
by signalnorths
Hi Thanks for all your reply's, much appreciated

TS Tools has a section for editing existing QD Consists, which includes adding permitted routes to the consist if you are wary of hand editing the files.

As always, read the manual.


Indeed and I added permitted routes to my consists to this end using TS Tools rather than hand editing as you have shown. Should really work then shouldn't it?

Bit confused now

Re: No AI traffic appearing on my own built Quick Drives

Posted: Tue May 11, 2021 5:59 pm
by signalnorths
ODE: SELECT ALL

<ValidBuildAndDriveRoutes>
<cConsistValidRoute d:id="82341408">
<RouteGUID d:type="cDeltaString">00000001-0000-0000-0000-000000000000</RouteGUID>
</cConsistValidRoute>
</ValidBuildAndDriveRoutes>
Which tells me it will only appear(?) on the route with the GUID 00000001-0000-0000-0000-000000000000 - the Oxford to Paddington route.


So from your example above, what would that then look like if you added another route to it? Sorry for all these questions

Re: No AI traffic appearing on my own built Quick Drives

Posted: Tue May 11, 2021 7:03 pm
by FoggyMorning

Code: Select all

		<ValidBuildAndDriveRoutes>
				<cConsistValidRoute d:id="82341408">
					<RouteGUID d:type="cDeltaString">00000001-0000-0000-0000-000000000000</RouteGUID>
				</cConsistValidRoute>
				<cConsistValidRoute d:id="82341412">
					<RouteGUID d:type="cDeltaString">00000002-0000-0000-0000-000000000000</RouteGUID>
				</cConsistValidRoute>			
			</ValidBuildAndDriveRoutes>
Where the second route is Bath-Templecombe/Somerset & Dorset

Re: No AI traffic appearing on my own built Quick Drives

Posted: Wed May 12, 2021 7:50 am
by signalnorths
Thanks

Re: No AI traffic appearing on my own built Quick Drives

Posted: Wed May 12, 2021 9:26 pm
by KimOlesen
First; use TS-Tools. Much more easy than modifying the consist code by hand.

Second; when you set the spawnpoints observe the following in the flyout:

1; If the lenght is set too short trains can’t spawn. Example, if all your preloads are more than 150m long, and max length in the flyout is 150m, nothing will happen.

2; are you sure you have given the ai train a valid route?

3; are you sure that, if it is a route with electrification, the electrification in the preload matches?

Re: No AI traffic appearing on my own built Quick Drives

Posted: Wed May 12, 2021 10:13 pm
by gptech
KimOlesen wrote: Wed May 12, 2021 9:26 pm First; use TS-Tools. Much more easy than modifying the consist code by hand.
Not that easy...
signalnorths wrote: Tue May 11, 2021 5:40 pm I added permitted routes to my consists to this end using TS Tools rather than hand editing as you have shown. Should really work then shouldn't it?
If the result of the TS Tools edit is still:

Code: Select all

<ValidBuildAndDriveRoutes>
<cConsistValidRoute d:id="82341408">
<RouteGUID d:type="cDeltaString">00000001-0000-0000-0000-000000000000</RouteGUID>
</cConsistValidRoute>
</ValidBuildAndDriveRoutes>
then obviously the TS Tools routine hasn''t worked--whether that's a glitch in the program or simply user error is the question that needs answering..

Re: No AI traffic appearing on my own built Quick Drives

Posted: Fri May 14, 2021 1:29 am
by johnrossetti
No glitches, Ive only this week used TS Tools to add Traffic to the Corsica QD route works well. signalling on a single track is a bit difficult but as I proved on LMR it can be done and made to work quiet well

It's too long for here and this time of night, ive just got back from a long 3 days away.

But creating QD routes with AI traffic is one that requires using the TS20XX editor AND TS_Tools 3 times, it's long and painful but after it all works its very rewarding to see your not alone.

I'm sure their must be a video somewhere, trouble is most are made by people who know how to do it, not dumb begginers like me who by making mistakes learnt the hard way.

Then I'm no expert, I probebly do things all wrong, or not at all, but I'm happy in my little choo choo world.

Cheers John

Re: No AI traffic appearing on my own built Quick Drives

Posted: Fri May 14, 2021 9:31 am
by 749006
I have not watched this one fully but it seems to be well explained but no AI
www.youtube.com/watch?v=3013AJp7zB0

Matt did this one
www.youtube.com/watch?v=uTSwEuWPZH8

This was an older one which seems simple
www.youtube.com/watch?v=SrjMEpkHCzs

There are others on youtube

Peter