I couldn't get asleep last night and brainstormed about a file system (For rolling stock) to be used with OR.
Today i got something on paper (digital paper) and want to show it to you. Maybe it gices inspiration or new visions for OR.
I have no idea if this is already in the make, or if it's even needed. But, it might give inspiration or ideas how the OR team can implement things.
Nor do I know if this is all possible to make, although I think the possibility's of a game in development are countless.
A brief summary how this system looks
-> .eng files replaced by .ORS (.OpenRailsStock) files.
-> Possibility to use scripting to gain a realistic control of the train.
-> Multiple unit support and Articulated loco's
-> (Other OR only features one would like) Brainstorm your self!
The .stk file
So how is the .ORS file build up?
It consists of 3 parts.
-> The "general" block.
-> The "unit" block
-> The "script" block (optional) Maybe allow users to turn Trains scripts off in the settings. HOWEVER! some trains might require to be used with scripts??
I will go into all parts below.
First the General part,
This part is at the top of the file and include general information, this is information like the discription, name.
It contains basic information about the train, which applies to the whole thing. (Remember a train can consists of multiple parts using this system)
The Unit part is the part where the parts are put together to form a train. Most will only consist of 1 unit. But articulated trains and MU's will use multiple of those blocks. The block are more or less old .eng files, but with some less information.
The Script part is something which could add great realism to OR train Controls. Operations can be scripted depending on the loco and I already have countless ideas of which I think it should be possible.
Get a look at my attached example
Will change it to .txt as the forum doesn't allow the unknown .ORS
Edit, I mostly wrote the file in something similair as php, because I'm used to coding with this syntax. (And like the clearness of it)
During making this post I already got some new ideas for scripts... I have the feeling this idea will keep me busy coming time.
Br, Jordi.
Notice, I'm not part of the OR development team, nor involved with the development. This was just something which came to my mind after a OR only loco was released Yesterday. (There is also a less detailed MSTS version however)
Attached File(s)
-
example.txt (5.27K)
Number of downloads: 189