The Missing Sound Link

General discussion about Rail Simulator that doesn't really fit in to any specific category. A good place to start if you're not sure what category it should fit in to as well.

Moderator: Moderators

Locked
User avatar
class43HS125
Well Established Forum Member
Posts: 697
Joined: Mon Dec 17, 2007 1:56 am
Location: New Zealand

The Missing Sound Link

Post by class43HS125 »

hi,
I am lost for logic on this one. I am trying to unravel exactly how the bits of the sound chain are linked together.

Create an Audio control which referes to the *****.wav file ...... makes sense
create a sound blueprint which references the Audio control and include a reference to a sound marker ....... makes sense

ok , now how does a train passing over a track link attached to anything actual get to trigger an ambient sound file to happen? NOT talking about any onboard train sounds here.
The idea simple being that in the function OnConsistPass ( prevFrontDist, prevBackDist, frontDist, backDist, linkIndex )
a sound file is activated. In the game (OOOOOPS.... Simulation :wink: ) Some how a semphore signal manages to play a sound, a junction changing manages to play a sound..... theres a missing link in there somewhere and thats what I am trying to uncover.

I accept that it needs some relevant Lua script in there, thats not the issue here, what references to what is the question?.

I am using the AWS because it is the simplest to play with.(I think :o )agreed, not as it is intended but thats the fun of dabbling in smoke and mirrors.

Any information would be appreciated.
Ross
NZ
http://thefraserline.blogspot.com/
RW RB Challenge 1 Here and There and Back again! uktsfile 22834
RW RB Challenge 2 This Train Goes Round and Round uktsfile 25166
RW RB Challenge 3 The Windsor Branch, a challenge to far
User avatar
class43HS125
Well Established Forum Member
Posts: 697
Joined: Mon Dec 17, 2007 1:56 am
Location: New Zealand

Re: The Missing Sound Link

Post by class43HS125 »

Hi,
For what its worth , plenty of digging doesn't seem to have unearthed the missing link, I guess I have been digging in the wrong place.

Ross
NZ
http://thefraserline.blogspot.com/
RW RB Challenge 1 Here and There and Back again! uktsfile 22834
RW RB Challenge 2 This Train Goes Round and Round uktsfile 25166
RW RB Challenge 3 The Windsor Branch, a challenge to far
Locked

Return to “[RS] General RS Discussion”