BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I link track following object xml files in a route?

Go down

How do I link track following object xml files in a route? Empty How do I link track following object xml files in a route?

Post by Phonteus Nevolius Tue Apr 23, 2019 7:56 pm

My question is right what the title says: how do I link track following object xml files in a route in OpenBVE 1.6?

I cannot seem to find it in the documentation.
Phonteus Nevolius
Phonteus Nevolius

Posts : 111
Join date : 2017-10-05
Location : Hungary

https://phonteusnevolius.wordpress.com

Back to top Go down

How do I link track following object xml files in a route? Empty Re: How do I link track following object xml files in a route?

Post by leezer3 Wed Apr 24, 2019 12:13 pm

Can you describe exactly what you're trying to achieve?


Code:
Route.TFOXML(YourTest.xml)

They're essentially standalone files, and just need to be added in the same manner as an object declaration.

https://openbve-project.net/documentation_hugo/en/routes/xml/trackfollowingobject.html

leezer3

Posts : 1785
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

How do I link track following object xml files in a route? Empty Re: How do I link track following object xml files in a route?

Post by Phonteus Nevolius Wed Apr 24, 2019 2:02 pm

I just want to set up a track following train, but I didn't know how to link the xml in the route file.

So, is "Route.TFOXML(YourTest.xml)" the way to do it, meaning it goes into the "With Route" section of the .csv file?
Phonteus Nevolius
Phonteus Nevolius

Posts : 111
Join date : 2017-10-05
Location : Hungary

https://phonteusnevolius.wordpress.com

Back to top Go down

How do I link track following object xml files in a route? Empty Re: How do I link track following object xml files in a route?

Post by leezer3 Wed Apr 24, 2019 2:14 pm

Yes, that's right.

A couple of examples in the PR:
https://github.com/leezer3/OpenBVE/pull/326

leezer3

Posts : 1785
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

How do I link track following object xml files in a route? Empty Re: How do I link track following object xml files in a route?

Post by Phonteus Nevolius Wed Apr 24, 2019 2:18 pm

Thanks. My good old Királyliget line seems to be an ideal place to try these new features, as it is a double track route. I'm looking at placing some more "AI" trains in the route using the new XML format.
Phonteus Nevolius
Phonteus Nevolius

Posts : 111
Join date : 2017-10-05
Location : Hungary

https://phonteusnevolius.wordpress.com

Back to top Go down

How do I link track following object xml files in a route? Empty Re: How do I link track following object xml files in a route?

Post by ecreek Tue May 28, 2019 1:14 am

I keep getting the error when loading the single line waiting demo file in 1.6.0.0.

Warning The command Route.TFOXML is not supported at line 39

Thanks

ecreek

Posts : 55
Join date : 2011-08-23

Back to top Go down

How do I link track following object xml files in a route? Empty Re: How do I link track following object xml files in a route?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum