Train-Sim.Com
MSTS Sound Design

DCForum Discussion Forum - Sound Question for all the sound experts

DCForum Discussion Forum

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #65

Charter Member · 105 posts

LAST EDITED ON Feb-25-02 AT 06:25 PM (EST)I was playing around with a wag file to get a passenger view on a flat car, that part works great, and you can hear the sounds of the wagon with no problem (genfreightwag3.sms). My question is, is it possible to add a line in the genfreightwag3.sms or the 50ft_flat_cbq.wag to so I can hear the horn and/or outside noises? And if so, which sms file would I add, and to which wag file. DCForum Discussion Forum - Sound Question for all the sound experts – image 1Blvdbill

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 148 posts

RE: Sound Question for all the sound experts:

Try the following:-1. Delete the Sound () statement from the Inside () set of lines.
2. Look for the Sound () line in the main part of the .wag file, it's usually towards the end. Note it's name, I'll call it xwag.sms.
3. Find this file in the global sounds folder. Copy it and rename it xwagpas.sms.
4. Open it for editing (unicode stuff applies).
5. Look at the Activation and Deactivation sections under each of the ScalibilityGroups. They should look something like this. Activation (
ExternalCam ()
Distance (55)
)
Deactivation (
PassengerCam ()
CabCam ()
Distance (55)
)6. Move the PassengerCam () statements from the Deactivation section into the Activation sections, and change the 55 distances to 550, so it looks something like this. Activation (
ExternalCam ()
PassengerCam ()
Distance (550)
)
Deactivation (
CabCam ()
Distance (550)
)7. Save and exit.
8. Now edit the main Sound () statement to refer to this xwagpas.sms.Drive and see..........

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 148 posts

RE: Sound Question for all the sound experts:

"The proof of the pudding is in the eating"Having just tried out my own advice I find it doesn't solve this particular problem! It is the correct basic procedure for getting the CabView sounds into a PassengerView in a loco's cab, but doesn't seem to work for gettng the ExternalView sounds into a PassengerView on a wagon. Apologies.So I've looked at it afresh using my test route. I'm still checking this fully out but so far the solution is actually rather simple, even obvious in hindsight, but with implications that are much more significant. - If you want to hear the sound of an object in a particular type of view then activate the sound for that view type in the objects .sms file.So for ambient sounds, say a crossing siren, find the .sms file for it (for crossings they are in the routes sound folder). The original config will have only ExternalCam () in the Activation sections. Now move the PassengerCam () statement from the Deactivation section to the Activation section. Do this for all the external objects you want to hear in the PassengerView. (You can do likewise with CabCam () if you want, but read on).For rolling stock you need to make the same edit but only in the ScalibilityGroup 0 section. You need to change the .sms file refered to in the main Sound () statement within the Wagon () section for each item of stock you want to hear.The effect is good. Sirens and passing trains now audible in the PassengerView! But... I have started to get lockups and crashes that were not occurring before. Indeed until now I cannot recall the sim ever just locking up and giving the 'Send' message simply whilst the player servise was cruising along without any event occuring. Is making these changes creating more work for the sound processing to do than it wants to handle? I had made alot of edits to .sms files though, and may not have removed some of the unsucessful changes. I ran out of time at this point, but intend to try again starting from a clean install of default files. I'll post further results.For now heed this warning please. Do the edits I have outlined above at your own risk.Stuart

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 105 posts

RE: Sound Question for all the sound experts:

Hey Stuart, Thanks for the advance yesterday, I gave it a try and like you, found out it didn’t work. Apologies accepted. But hey it’s no problem, that’s what we here for, to learn the new secrets of MSTS together. So I reloaded the original file and thought about your statement in the first post about moving the PassengerCam () statements from the Deactivation section into the Activation sections. So I tried it with may engine’s sms file (in my case F7Aeng.sms) and it worked great. This morning I saw your post and you mention about the crossing.sms, honestly I never thought about that one. So I made a quick edit to that sms and sure enough it works great. So far I haven’t got any lockups and crashes (fingers crossed ). So Stuart Thanks again for all your help, and if you find any other discoveries on this matter please post them.DCForum Discussion Forum - Sound Question for all the sound experts – image 3Blvdbill

Alert | IP

Restored from the Train-Sim.Com archive, captured August 19, 2002. About this archive.