BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Deleted

3 posters

Go down

Deleted Empty Deleted

Post by Movingmillion Sat Feb 23, 2019 7:04 pm

Deleted


Last edited by Movingmillion on Sun Feb 09, 2020 1:41 am; edited 1 time in total

Movingmillion

Posts : 283
Join date : 2013-04-13

Back to top Go down

Deleted Empty Re: Deleted

Post by graymac Sun Feb 24, 2019 12:00 pm

You can get asound to play at any point along the track using the "doppler" instruction set in the Track space:

Track.Doppler FileName; X; Y
FileName: The file name for the sound to play, relative to the Sound folder.
X: A floating-point number representing the horizontal offset from rail 0, by default measured in meters. Negative values indicate left, positive ones right.
Y: A floating-point number representing the vertical offset from rail 0, by default measured in meters. Negative values indicate below, positive ones above.
This command places an environmental sound effect at the specified location. The sound will play in a loop for the duration of the simulation and employs the doppler effect. (Note: All sounds in openBVE employ the doppler effect.)
Although the sound will play repeated (loop) at the insertion point, so it may not be a suitable means to implement what you were planning.
graymac
graymac

Posts : 2127
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

Deleted Empty Re: Deleted

Post by Dexter Sat Mar 02, 2019 6:51 pm

How about the .announce command?
Dexter
Dexter

Posts : 2110
Join date : 2011-07-08
Age : 35
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

Deleted Empty Re: Deleted

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum