Hallo, I am new on the German trainz forum.
I am looking for help with scripting Voice announcements on the subway.
At the moment I have a cloned american subway car, reskined in the Swedish colors into our subway and now I need your help guys to make a script.
Ist es gut?
//AntonSchweden93 ![]()
Ansagen script/Voice announcement script
-
-
Hallo Anton
Man kann nicht einfach sagen "Script" du Musst genau Beschreiben was du Brauchst und welche Funktionen es haben soll.Mfg BerrlinH
-
Hallo, I'll show what train it is...
Einen Moment...
-
Here it is:
Sorry for taking so long...
-
Hallo?
No answer? -
So as far as i know its not that easy to create a good working voice annoucement script for Trainz.
The only 2 methods i know are for Example playing triggers on the track, that if the trains passes and the voice announcement starts.
The other methode i know is using an external program and pressing hotkeys to hear the Sound. I'm not very experiencend about this but I think an external program is better to handle with. -
Yes, I made voice announcements in html and triggers, the problem is that I can hear the announcements in the whole session...which is a problem.

-
What I am trying to do is copy and paste a section from the Ubahnwagen.gs into superstub the script.
Need help, anyone? -
Hello Anton
i can Help you if you come on the Teamspeak server. I'll see what I can do and sorry for my bad english I'm still in school.Mfg BerrlinH
-
Hallo und vergeben...
I wasn't online on Teamspeak yesterday, but I will try be online on the server.
I also have a sound trigger from a german trainz veteran from Forums Auran. -
In the scripts, you may not use "World.Play2DSound"... You have to use "World.PlaySound".
The first methode plays a simple 2D Sound. The second one has some extra parameters, that allow you to make the sound in 3D.
But, if you drive with the subway cars over the trigger, the sound will stay at the trigger. So you'll maybe hear longer sounds not to their ends.So you can choose, which "bad" effect you'd like to have: Hearing the sound all over the session or don't hearing them to their ends, maybe.
You can try attaching the sound to the subway car, but I'm not sure if this works fine.If you want to, I can create two trigger for you, one for every method and attach them here. Then you can have a look at both methods.
Regards
Pascal -
Ok, I'll be on Trainz Teamspeak in few hours or so.

-
Ok callavsg, you have my permission to do the trigger on my subway trains.
-
No respons? Was los? I need to know asap...:/
-
Oh, sorry!
I'll send it to you, tomorrow!Regards
Pascal -
I am online on Teamspeak, hit me up!

-
Hallo? Where's everyone???
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!