Is there a way to create AI trains on other tracks?
3 posters
Page 1 of 1
Is there a way to create AI trains on other tracks?
It seems AI trains can only be placed at the track 0. Does openBVE support AI trains on other tracks like BVE5 does?
Or else, can it be achived by using the TrackFollower function in Animated Objects? It seems doesn't support following other rails. I think a function like "TrackFollowerTarget" would be better.
Or else, can it be achived by using the TrackFollower function in Animated Objects? It seems doesn't support following other rails. I think a function like "TrackFollowerTarget" would be better.
Re: Is there a way to create AI trains on other tracks?
Sorry, there isn't, and this isn't likely to change at the minute.
The issue is a complex one, but it's essentially related to the route design format.
openBVE (and by extension BVE2 / BVE4) only support a single true track- Rail 0.
Everything else is simply worked out as a relative position to Rail 0.
In order to support secondary tracks, as well as the positional vectors, we'd need information on the curve radii of said tracks as an absolute minimum, which the current routefile format simply doesn't provide
The issue is a complex one, but it's essentially related to the route design format.
openBVE (and by extension BVE2 / BVE4) only support a single true track- Rail 0.
Everything else is simply worked out as a relative position to Rail 0.
In order to support secondary tracks, as well as the positional vectors, we'd need information on the curve radii of said tracks as an absolute minimum, which the current routefile format simply doesn't provide
Re: Is there a way to create AI trains on other tracks?
You can use TrackFollowerFunction as a fake but good looking solution, yes. I think this is what you mean: https://www.youtube.com/watch?v=jiwcEZ5mRIw
You can find the route with the TrackFollowerFunction trains in it here: http://www.bveklub.hu/kiralyliget
You can find the route with the TrackFollowerFunction trains in it here: http://www.bveklub.hu/kiralyliget
Similar topics
» How to create a custom beacon
» Create a vase train from an existing one
» Help for mixing songs and create music mashup in Audacity?
» Changing tracks
» Tracks not showing
» Create a vase train from an existing one
» Help for mixing songs and create music mashup in Audacity?
» Changing tracks
» Tracks not showing
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum