Train.dat train.xml worries and issues
2 posters
Page 1 of 1
Train.dat train.xml worries and issues
Greetings!
I don't often talk here, but I do have something(s) to query about the train.dat issues and the switch to xml.
I'll try to keep it as brief as possible without leaving major points out so you don't spend a year reading my postÂ
1. What will we see happen with train.xml? Will it work in train editor as we know it now or will it be in a different editing format (ie, not in a graph to display pitch and volume)?
2. Will the 0.2kmh interval and 2 tracks limit be fixed in train.xml? If so, what is the limit of tracks for xml?
3. Will there be a train.dat to xml converter? I know a handfull of people that are working on multiple trains, and I think they would find it.... irritating to say the least if they have to reconstruct their sounds again to comply with the modern xml format.
Hope you reply soon with the answersÂ
Regards, Sylvester.
I don't often talk here, but I do have something(s) to query about the train.dat issues and the switch to xml.
I'll try to keep it as brief as possible without leaving major points out so you don't spend a year reading my postÂ
1. What will we see happen with train.xml? Will it work in train editor as we know it now or will it be in a different editing format (ie, not in a graph to display pitch and volume)?
2. Will the 0.2kmh interval and 2 tracks limit be fixed in train.xml? If so, what is the limit of tracks for xml?
3. Will there be a train.dat to xml converter? I know a handfull of people that are working on multiple trains, and I think they would find it.... irritating to say the least if they have to reconstruct their sounds again to comply with the modern xml format.
Hope you reply soon with the answersÂ
Regards, Sylvester.
SylvesterChevrolet- Posts : 16
Join date : 2020-08-15
Location : GreenDale
Midnight Express Ginga81 likes this post
Re: Train.dat train.xml worries and issues
Short answer is that it's still a work in progress on all fronts.
The biggest milestone was actually the recent change of getting the train loader into a single shared plugin.
1. When complete, it'll be fully supported in Train Editor / Train Editor 2.
2. Yes, these limits will be fixed, although the exact details hasn't yet been fully decided on / implemented. An approximate draft is the following:
In essence, what it needs is the ability to define arbritrary interpolation curve entries for any given sound track.
At each entry, you then define the pitch and volume and the interpolation method used.
This completely gets rid of the 0.2km/h issue.
3. This is slightly more complex. It should be possible by opening the older variant in Train Editor and re-saving, but I won't make a 100% guarantee here, as the whole thing is in need of a radical re-design due to needing to get rid of the 0.2km/h step thing.
Please don't expect anything quite yet however
My current focus is on getting an openGL replacement for the main menu functional, so that 64-bit / M1 Apple works again. (this will not be used by default on any other platform)
The biggest milestone was actually the recent change of getting the train loader into a single shared plugin.
1. When complete, it'll be fully supported in Train Editor / Train Editor 2.
2. Yes, these limits will be fixed, although the exact details hasn't yet been fully decided on / implemented. An approximate draft is the following:
- Code:
<SoundTrack>
<File>MotorSound.wav</MotorSound>
<Entry>
<Speed>0</Speed>
<Volume>
<Value>0</Value>
<Interpolation>Linear</Interpolation>
</Volume>
<Pitch>
<Value>0</Value>
<Interpolation>Linear</Interpolation>
</Pitch>
</Entry>
<Entry>
<Speed>10</Speed>
<Volume>
<Value>1</Value>
<Interpolation>Linear</Interpolation>
</Volume>
<Pitch>
<Value>1</Value>
<Interpolation>Linear</Interpolation>
</Pitch>
</Entry>
</SoundTrack>
In essence, what it needs is the ability to define arbritrary interpolation curve entries for any given sound track.
At each entry, you then define the pitch and volume and the interpolation method used.
This completely gets rid of the 0.2km/h issue.
3. This is slightly more complex. It should be possible by opening the older variant in Train Editor and re-saving, but I won't make a 100% guarantee here, as the whole thing is in need of a radical re-design due to needing to get rid of the 0.2km/h step thing.
Please don't expect anything quite yet however
My current focus is on getting an openGL replacement for the main menu functional, so that 64-bit / M1 Apple works again. (this will not be used by default on any other platform)
Midnight Express Ginga81 likes this post
Similar topics
» Even though the AI train hasn't stop completely, the AI train is open the doors.
» Localized train.txt (Different versions of train.txt depending on language)
» new train sim
» .B3D train
» Age of the train
» Localized train.txt (Different versions of train.txt depending on language)
» new train sim
» .B3D train
» Age of the train
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum