Adding a wav.file

Hi,

If memory serves me correct, there is a string-table in the config.txt file, you have to add the .wav file in there for it to work.

Code:
string-table
{
  description                           "Play a sound file by number"
  file1                                 "2toot"
  file7                                 "all_aboard"
}
That's the way it is by default, if say you have a sound.wav file that you want to add in, then you would do so like this:

Code:
string-table
{
  description                           "Play a sound file by number"
  file1                                 "2toot"
  file7                                 "all_aboard"
  file8                                 "sound"
}
You don't need to add the .wav after it, all that is left is to place the sound.wav file in the Play Sound rule folder. You can use file2, file3, file4 and so on too.

Hope that helps, need any more information just ask... :)
 
Adding a Wav.file

Thanks that makes sence, But could not find a string-table in the config.txt in the settings file. Looked all through the Auran folder. Any other ideas , or places to look? thanks funnnyfarm
 
What version of Trainz are you using?

The above that I posted was from TRS2006 in CMP, all you have to do is open the item up for edit in explorer, open the config.txt file and add in what you want. If your using TRS2004 then the process will be slightly different.
 
Back
Top