Page 1 of 1

changing outside engine sounds to play inside

Posted: Tue Aug 27, 2013 2:21 pm
by tubemad
Hello all,

Anyone have any experience in sound that they can help me with please?

How does one go about changing the outside sounds played on the Armstrong Powerhouse 37 Pro to play inside the cab? I want to modify it for a video and want the external sounds to play from the cab so it sounds like the sound is being picked up from outside. I have changed the Engine and Engine 2.xml files that has 'INSIDE' and 'OUTSIDE' lines, so I swapped these around in RW Tools so that whatever read INSIDE now reads OUTSIDE and vice versa.

Upon testing, the inside sounds are the same though, so there is something that I obviously haven't done. I am using the S&C Class 37 from AP's Buffer Puffer pack, and using the up to date 37 Pro sounds. The .xml files edited are in the Assets/AP/C37P/Audio/RailVehicles

If you've done this before, then any help is highly appreciated :)



James.

Re: changing outside engine sounds to play inside

Posted: Tue Aug 27, 2013 3:53 pm
by trainsmit
Just a wild (and silly, sorry) guess:
Did you clear the blueprint cache?

Re: changing outside engine sounds to play inside

Posted: Tue Aug 27, 2013 4:27 pm
by tubemad
Without wanting to break it first, am I supposed to do that?

But no I didn't, I just saved it and went straight into Railworks and then straight to the Buffer Puffer scenario

Re: changing outside engine sounds to play inside

Posted: Tue Aug 27, 2013 4:50 pm
by tads1970
Heres how I change sounds from outside to inside or both,as an example so you can follow I'll use the default class 37 sound folder.

C:\Program Files (x86)\Steam\SteamApps\common\RailWorks\Assets\Kuju\RailSimulator\Audio\RailVehicles\Diesel\Class 37

Open up Class 37 proxy.xml,the first single sample sound is "Air Release Loco",note there is a number above this,the number is "15541312"

Now scroll all the way down to the very bottom of the xml,in the triggered one shots

<kLoud-cTriggeredOneshot d:id="15925664"> <<<<<<<<<<not this number
<PlayState d:type="cDeltaString">BOTH</PlayState>
<Sound d:type="ref">15541312</Sound> <<<<<<<<<<this number
<ModifierChain d:type="ref">0</ModifierChain>
<ControllerName d:type="cDeltaString">EngineBrakeControl</ControllerName>
<TriggerType d:type="cDeltaString">ValueDecreasePast</TriggerType>
<TriggerValue d:type="sFloat32">0.100000</TriggerValue>
<ValueIsChangingGateTime d:type="sFloat32">0.000000</ValueIsChangingGateTime>
<InstanceGroup d:type="ref">0</InstanceGroup>
</kLoud-cTriggeredOneshot>

You can change playstate to INSIDE,OUTSIDE,BOTH.

Ive done this with the Marstons on the HST,only hear them outside now

Re: changing outside engine sounds to play inside

Posted: Tue Aug 27, 2013 5:38 pm
by david1
thanks for sharing that, it is sometning i have been thinking about for a while but not got round to having a tinker with, i know it is not correct having the same sounds inside as out but i also love a good diesel thrashing.

Re: changing outside engine sounds to play inside

Posted: Tue Aug 27, 2013 6:02 pm
by tubemad
Thanks for the guide tads, we are getting there! I was changing the wrong one that might be why, so I went to SettleCarlisle/Audio/RailVehicles/Diesel/Class 37

And changed the Class 37.proxyxml from 'BOTH' to 'OUTSIDE'. The horn and 'muffled' sounds are still there, but I can hear the wind up engine sound, but it then crossfades to the rest of the inside engine sounds. I then went out and changed Class 37 Cab.proxyxml from 'INSIDE' to 'OUTSIDE' but there was no changes at all.

just needs working out why the higher rev engine sounds are still the inside ones but the wind up sound is from the outside sound :-?

Re: changing outside engine sounds to play inside

Posted: Thu Aug 29, 2013 10:09 am
by tubemad
That was false sorry, the wind up sound only plays in neutral, when in forward I get complete inside sounds. I've now tried everything to 'INSIDE' and 'OUTSIDE' and nothing changes, which is quite weird, I am changing the right file aren't I? If nothing is changing I'm wondering what I'm doing wrong?

Re: changing outside engine sounds to play inside

Posted: Thu Aug 29, 2013 6:07 pm
by markpullinger
Hi don't forget to update the proxybin as well. :) and clear the cache!

Re: changing outside engine sounds to play inside

Posted: Thu Aug 29, 2013 10:53 pm
by tubemad
The sim is fighting me argh! :crazyeyes: :lol:

Right, if I tell you exactly what I have done, then it might be easier for someone to point out what I'm doing wrong :P

1. I open up RW_Tools

2. I open file 'Class 37.proxyxml' from 'C:\Program Files (x86)\Steam\SteamApps\common\RailWorks\Assets\Kuju\RailSimulator\Audio\RailVehicles\Diesel\Class 37'

3. I CTRL+F2 and search 'INSIDE'. In the type box below that, I type 'OUTSIDE'

4. I then hit 'Replace All'. After checking, all the appropriate lines have now changed to 'OUTSIDE'

5. I save TS2013 file, close RW_Tools and load up TS2013

6. I go to the tools in the menu and click 'Clear Cache' Game says it will restart, and does so too quickly as usual and doesn't load as the 'game is already running' (It always tries to restart literally half a second as the game closes)

7. I manually start Railworks and navigate to my free roam scenario that uses the S&C Class 37 with the Armstrong Powerhouse repaint.

8. I go into the cab, hit forward, whack up the power handle and...oh..the same old turbo sound with a very slight hint of the engine just about audible at full power.

So, even with the Cache, it's still not changed anything, can anyone find a fault with what I've done?

So far I suppose it can be:

a) I've not changed another file
b) I've changed the wrong file
c) I shouldn't be changing it to 'OUTSIDE'
d) The S&C 37 doesn't read that file at all (even though it's in it's own audio folder, it wouldn't make sense)
e) I've missed a step or something stupidly obvious
f) It simply does not work with Armstrong Powerhouse Pro products

Sorry guys, any more ideas? If anyone needs the bin file to check my work, I can arrange that.

Re: changing outside engine sounds to play inside

Posted: Fri Aug 30, 2013 8:26 am
by markpullinger
Hi James, did you also alter the proxybin? I can't remember whether the proxyxml will serz to proxybin or not and it probably reads that first.

Re: changing outside engine sounds to play inside

Posted: Fri Aug 30, 2013 8:40 am
by nschichan
tubemad wrote:The sim is fighting me argh! :crazyeyes: :lol:

Right, if I tell you exactly what I have done, then it might be easier for someone to point out what I'm doing wrong :P

1. I open up RW_Tools

2. I open file 'Class 37.proxyxml' from 'C:\Program Files (x86)\Steam\SteamApps\common\RailWorks\Assets\Kuju\RailSimulator\Audio\RailVehicles\Diesel\Class 37'
tubemad wrote: 7. I manually start Railworks and navigate to my free roam scenario that uses the S&C Class 37 with the Armstrong Powerhouse repaint.
Hi,

The SC class 37 does not use the Kuju audio files. There should be a similar proxyxml file under Assets/RSC/SettleCarlisle/Audio/RailVehicles/Diesel/Class 37/

Regards,

Re: changing outside engine sounds to play inside

Posted: Fri Aug 30, 2013 5:07 pm
by tubemad
Sorry, there was a couple of typo's in that last post. After checking it again, this is what I meant:

1. I open up RW_Tools

2. I open file 'Class 37.proxybin' from 'C:\Program Files (x86)\Steam\SteamApps\common\RailWorks\Assets\RSC\SettleCarlisle\Audio\RailVehicles\Diesel\Class37'

3. I CTRL+F2 and search 'INSIDE'. In the type box below that, I type 'OUTSIDE'

4. I then hit 'Replace All'. After checking, all the appropriate lines have now changed to 'OUTSIDE'

5. I save TS2013 file, close RW_Tools and load up TS2013

6. I go to the tools in the menu and click 'Clear Cache' Game says it will restart, and does so too quickly as usual and doesn't load as the 'game is already running' (It always tries to restart literally half a second as the game closes)

7. I manually start Railworks and navigate to my free roam scenario that uses the S&C Class 37 with the Armstrong Powerhouse repaint.

8. I go into the cab, hit forward, whack up the power handle and...oh..the same old turbo sound with a very slight hint of the engine just about audible at full power.


This is the file I have been changing.

***EDIT*** I've found the proxyxml file on RW_Tools too, so I edited that so that everything read 'OUTSIDE' and saved it. Both files now read 'OUTSIDE' which I'm sure is the right one, as I want the outside sounds played inside.

So I went back in, cleared cache, restarted sim and back into the test scenario, nope same old sounds. I could probably change all the lines to 'Toast' and it would still play the same sounds, it's as if it doesn't actually read the lines :?

Re: changing outside engine sounds to play inside

Posted: Fri Aug 30, 2013 5:11 pm
by markpullinger
Hi, now do the same for the proxyxml - if you haven't already. :)

Re: changing outside engine sounds to play inside

Posted: Fri Aug 30, 2013 5:14 pm
by tubemad
markpullinger wrote:Hi, now do the same for the proxyxml - if you haven't already. :)
See 'Edit' above :)