ehem. OMSI - Forum
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.
ehem. OMSI - Forum

Dieses Forum wurde geschlossen. Das neue Forum befindet sich auf www.omnibussimulator.de/forum !
 
StartseiteStartseite  SuchenSuchen  AnmeldenAnmelden  LoginLogin  

 

 Add a sound for calling bus stop

Nach unten 
+5
random.monster1981
Amy Rose
rzr09
Marcel Kuhnt
Code-121
9 verfasser
AutorNachricht
Code-121




Anzahl der Beiträge : 75
Anmeldedatum : 18.02.11
Alter : 40

Add a sound for calling bus stop Empty
BeitragThema: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeDi 24 Mai - 10:34

Hi. How to script for adding a sound when passengers call bus stop? It's possible?
Nach oben Nach unten
Marcel Kuhnt
Admin
Marcel Kuhnt


Anzahl der Beiträge : 3364
Anmeldedatum : 26.04.09
Alter : 37
Ort : Berlin-Spandau

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeDi 24 Mai - 11:29

It is possible but please wait until the SDK will be released! Wink
Nach oben Nach unten
Code-121




Anzahl der Beiträge : 75
Anmeldedatum : 18.02.11
Alter : 40

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeDi 24 Mai - 21:02

Marcel Kuhnt schrieb:
It is possible but please wait until the SDK will be released! Wink

Ok, but what is it? scratch
Nach oben Nach unten
rzr09

rzr09


Anzahl der Beiträge : 273
Anmeldedatum : 08.11.10

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeDi 24 Mai - 22:28

Soon i hope really want passenger bell to let me know when some one wants the stop :-)
Nach oben Nach unten
Amy Rose

Amy Rose


Anzahl der Beiträge : 663
Anmeldedatum : 13.01.11
Ort : Toronto, Ontario, Canada

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeDi 24 Mai - 23:05

rzr09 schrieb:
Soon i hope really want passenger bell to let me know when some one wants the stop :-)
You could always look at the code of the D92 and try to made do with it and even make a stop request bell
Nach oben Nach unten
random.monster1981




Anzahl der Beiträge : 238
Anmeldedatum : 06.11.10

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeDi 24 Mai - 23:12

Marcel Kuhnt schrieb:
It is possible but please wait until the SDK will be released! Wink

Do you know when this SDK is coming?

I'm eager to start making stuff! Razz
Nach oben Nach unten
EirikhO

EirikhO


Anzahl der Beiträge : 61
Anmeldedatum : 07.04.11
Alter : 28
Ort : Norway

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 5:21

I made it work, but the passengers constantly press (as in several times per escond) when you're inside the bus stop. So the bell rang once about 100m before, then stupidly much from about 20m before the stop sign until the last passenger had walked through the door.
Nach oben Nach unten
Code-121




Anzahl der Beiträge : 75
Anmeldedatum : 18.02.11
Alter : 40

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 8:58

Sorry, what's SDK? Question


Zuletzt von Code-121 am Mi 25 Mai - 12:10 bearbeitet; insgesamt 1-mal bearbeitet
Nach oben Nach unten
Stefan

Stefan


Anzahl der Beiträge : 296
Anmeldedatum : 16.06.09
Alter : 31
Ort : Numansdorp, die Niederlande

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 9:19

Software Developing Kit.
Nach oben Nach unten
https://www.facebook.com/svanpoppel
Marcel Kuhnt
Admin
Marcel Kuhnt


Anzahl der Beiträge : 3364
Anmeldedatum : 26.04.09
Alter : 37
Ort : Berlin-Spandau

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 9:42

EirikhO schrieb:
I made it work, but the passengers constantly press (as in several times per escond) when you're inside the bus stop. So the bell rang once about 100m before, then stupidly much from about 20m before the stop sign until the last passenger had walked through the door.

Usually, this sound will be heard just one time, so the best solution would be adding a new variable, than check if it is different to the "stop state" and if it is so and the "stop state" is true, than let the sound sound! Wink After that, set the new var to the same value of the "stop state", so that the comparison can begin in the next iteration! Wink
Nach oben Nach unten
random.monster1981




Anzahl der Beiträge : 238
Anmeldedatum : 06.11.10

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 12:14

Stefan schrieb:
Software Developing Kit.

Development. Wink

xDD
Nach oben Nach unten
EirikhO

EirikhO


Anzahl der Beiträge : 61
Anmeldedatum : 07.04.11
Alter : 28
Ort : Norway

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 12:52

Marcel Kuhnt schrieb:
EirikhO schrieb:
I made it work, but the passengers constantly press (as in several times per escond) when you're inside the bus stop. So the bell rang once about 100m before, then stupidly much from about 20m before the stop sign until the last passenger had walked through the door.

Usually, this sound will be heard just one time, so the best solution would be adding a new variable, than check if it is different to the "stop state" and if it is so and the "stop state" is true, than let the sound sound! Wink After that, set the new var to the same value of the "stop state", so that the comparison can begin in the next iteration! Wink
That's what I've been trying to work out for atleast a week now!
Nach oben Nach unten
krtz07




Anzahl der Beiträge : 413
Anmeldedatum : 10.09.09
Alter : 36
Ort : Philadelphia PA

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 13:36

On an related, yet someone different topic, I wonder if different fare systems besides having an ticket based system could be implements. Such as everyone who gets on board can pay either cash or slide their pass through the machine.
Nach oben Nach unten
http://www.philadelphiatransitvehicles.info
random.monster1981




Anzahl der Beiträge : 238
Anmeldedatum : 06.11.10

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 25 Mai - 13:43

krtz07 schrieb:
On an related, yet someone different topic, I wonder if different fare systems besides having an ticket based system could be implements. Such as everyone who gets on board can pay either cash or slide their pass through the machine.

It most likely could be implemented BUT I don't think the passengers have been animated to do that, So it may look a bit strange Wink
Nach oben Nach unten
Rikatty




Anzahl der Beiträge : 12
Anmeldedatum : 29.05.11

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeSo 29 Mai - 9:00

Hi, I'm new here.
I'm also eager to make this dream comes true.
I have been searching related script file, but it has never been found.
Does anyone know which script flie and section do I have to edit ?

Nach oben Nach unten
Rikatty




Anzahl der Beiträge : 12
Anmeldedatum : 29.05.11

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeMi 1 Jun - 9:46

I've found something.
It's not still perfect, but when I press the key Stop request button, it worked.
However, when AI press the button, it didn't work.

Anyway,let me explain .
for example, about D92.

Make backups before editting.

First, open "sound_D92.cfg"
add code like below

################################################################
[sound]
yoursouind.wav
2

[3d]
-0.8
5.289
1.519
0.7

[trigger]
ev_haltewunsch_announcement

################################################################

"youirsouind.wav" is something you want to play souind.

Next, open file "door.osc"

and add code below

{trigger:haltewunsch_announcement}
(T.L.ev_haltewunsch_announcement)
{end}

Next, find trigger named "{trigger:door_haltewunsch}"
and edit like this

{trigger:door_haltewunsch}
1 (S.L.haltewunsch) (S.L.door_haltewunsch_knopfdruck) (T.L.ev_haltewunsch_announcement)
{end}


If you want to assighn key "Stop request buttton"

then, first Open file "keyboard.cfg"
and add code like this

[entry]
door_haltewunsch
0
0

then launch OMSI then open option.
select key you want.

I hope this will be any help for you.

Nach oben Nach unten
Code-121




Anzahl der Beiträge : 75
Anmeldedatum : 18.02.11
Alter : 40

Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitimeDi 27 Sep - 11:20

Nach oben Nach unten
Gesponserte Inhalte





Add a sound for calling bus stop Empty
BeitragThema: Re: Add a sound for calling bus stop   Add a sound for calling bus stop Icon_minitime

Nach oben Nach unten
 
Add a sound for calling bus stop
Nach oben 
Seite 1 von 1
 Ähnliche Themen
-
» sound script for calling a stop
» Sound problems - hissing noise while driving (Sound sample added) [Solved]
» Sound mod by Gonj1 (remade, now sound open-close)
» Rain + Thunder sound + Interior sound
» Calling English speaking developers

Befugnisse in diesem ForumSie können in diesem Forum nicht antworten
ehem. OMSI - Forum :: OMSI-Design (english) :: Script programming-
Gehe zu: