Edward, excuse me if I intervene here. In fact I checked the code and triggers 6 (FuelTowerDown) and 7 (FuelTowerUp) aren't managed by OR. Only triggers 9 (FuelTowerTransferStart) and 10 (FuelTowerTransferEnd) are managed. The default wtower.sms handles also triggers 6 and 7, so their sounds wouldn't play.
Is it clear at which moment these 4 triggers are triggered in MSTS? It is not clear to me.
Refilling with water, coal and diesel oil
#82
Posted 19 September 2018 - 02:49 PM
Csantucci, on 18 September 2018 - 11:39 PM, said:
Edward, excuse me if I intervene here. In fact I checked the code and triggers 6 (FuelTowerDown) and 7 (FuelTowerUp) aren't managed by OR. Only triggers 9 (FuelTowerTransferStart) and 10 (FuelTowerTransferEnd) are managed. The default wtower.sms handles also triggers 6 and 7, so their sounds wouldn't play.
Is it clear at which moment these 4 triggers are triggered in MSTS? It is not clear to me.
Is it clear at which moment these 4 triggers are triggered in MSTS? It is not clear to me.
Carlo,
I can probably answer your question for the most part...
The wtower.sms (filling steam locomotive tenders with water from a track side tank) and ctower.sms (filling steam locomotive tenders with coal from a track side chute or tower) both use the same discrete triggers, and both .sms files are structured the same way. The function would be as follows when the tender of a steam locomotive is properly positioned at either a water or coal pickup / refuelling point:
- When the "T" key is pressed, Discrete trigger 6 is activated to play the water spout being lowered / moved .wav file once (same for a coal chute)
- As the "T" key continues to be held, the .sms moves to discrete trigger 9 which is the looped filling sound - either water rushing, or coal sliding
- As long as the "T" key is held, the sound of water or coal transferring continues and is looped
- When the "T" key is released, Discrete trigger 10 is activated which releases the looped transferring sound - this should be able to function with either a ReleaseLoopRelease command, or ReleaseLoopReleaseWithJump
- After the transferring sound has ended, the .sms moves to Discrete Trigger 7 which plays the water spout or chute being raised / moved, playing that .wav file once
The .sms file assignment to the different pickup / refuelling point types is specified in the .trk file for a given route.
#84
Posted 20 September 2018 - 02:46 AM
Carlo - that's correct. There's one other point I forgot to mention as part of my review, which Edward also mentioned previously... The .sms and related .wav files for these refuelling / transfer sounds are located in the global SOUND folder in MSTS, the same as where the track, coupling / uncoupling, etc. sounds are located. If it would be more straightforward for Open Rails for the .sms and .wav files to be located in the SOUND folder for a specific route I don't think that would be an issue though. It would just have to be communicated here and in the OR manual that the refuelling / transferring sounds would have to be copied to the route SOUND folder so people would know that's required for Open Rails.
Thanks for looking into this!
Thanks for looking into this!
#85
Posted 20 September 2018 - 06:46 AM
midneguy,
re the .sms files path: OR looks into the route .trk file for the tower .sms file name, and from there in the route sound folder; if he doesn't find them there, he looks into the Train Simulator base folder. So that problem does not seem to exist.
re the .sms files path: OR looks into the route .trk file for the tower .sms file name, and from there in the route sound folder; if he doesn't find them there, he looks into the Train Simulator base folder. So that problem does not seem to exist.
#87
Posted 20 September 2018 - 01:59 PM