Wierd tangent about superelevation...
Moderator: Moderators
- AndiS
- Very Active Forum Member
- Posts: 6207
- Joined: Fri Sep 23, 2005 4:43 pm
- Location: Jester's cell in ivory tower
- Contact:
Re: Wierd tangent about superelevation...
Sure, but the script could tilt the train according to the superelevation that should be there. This is a more or less clearly defined function of the speed and the radius. The problem is, that the train speed does not tell for which speed the superelevation was calculated. To get around this, you could have marker objects (which are technically signals in the game, but do no signalling and are only visible in the editor) to tell the train about the design speed of the following route section (which can be quite long). Bad thing about it is that you need to pass such a thing after start, so if trains start at any station, you need a marker past each station. They could also implement a system call to query the speed limit (the track property) in an engine script. But I guess this is not implemented today.