TS2014 triggering audio in scenario?

Trains and Routes only entertain so far, what you need are engaging and entertaining scenarios. Here's where you can learn how to make bigger, better scenarios and really bring your virtual train world alive.

Moderator: Moderators

User avatar
chrisell
Well Established Forum Member
Posts: 533
Joined: Mon May 06, 2002 12:00 am
Location: England, Holland and America
Contact:

Re: TS2014 triggering audio in scenario?

Post by chrisell »

Seems it was the capitalisation it didn't like. I had a folder called "En". When I changed that to "en" everything started working.

Although the sound is bloody quiet.
Last edited by chrisell on Sat Feb 01, 2014 3:13 pm, edited 1 time in total.
nschichan
Been on the forums for a while
Posts: 135
Joined: Thu Sep 15, 2011 10:52 pm

Re: TS2014 triggering audio in scenario?

Post by nschichan »

chrisell wrote:I've tried that - I tried ogg, ogv, wav, dav and mp3

I think it's the format of the command that I don't have right - what did you do to get it to work ?

I've tried this:

SysCall ( "ScenarioManager:PlayDialogueSound","message1.wav");

with "message1.wav" in the "En" folder of the scenario but I still don't get anything.
Well I renamed my test wav file to message1.wav in order to have the exact same call as you and it still works. I play the sound from an engine script though, and my train simulator language is configured to use the english language.
--
nschichan
User avatar
chrisell
Well Established Forum Member
Posts: 533
Joined: Mon May 06, 2002 12:00 am
Location: England, Holland and America
Contact:

Re: TS2014 triggering audio in scenario?

Post by chrisell »

I got it to work in the end. This is for a scenario. Although the sound is really quiet.
Locked

Return to “[TS] Scenario Creation”