RailUK Forums
RailUK Forums > Other Rail & Transport > Transport Simulations & Games


Closed Thread
Thread Tools
Unread 2nd June 2008, 16:48   #1
danw2007
Central Line Dan
Member
 
danw2007's Avatar
 
Join Date: 27 May 2008
Posts: 19
Default BVE 4 PA Announcements

Hi,
I was wondering if anybody could help me to set up announcements for the Bakerloo line. I have all the files for all stations between Elephant and Castle and Harrow and Wealdstone, but I don't actually understand how to configure the announcements. I would be very greatful.

Thanks,
Dan

P.S If anybody else would like the files, (which are my own recordings) please just PM me.
__________________
This is a Central Line train to Woodford via Hainult
danw2007 is offline  
Sponsored links - Registered users do not see these banners - join today!
Unread 2nd June 2008, 17:05   #2
dan_atki
RailUK Pedant
Established Member
 
dan_atki's Avatar
 
Join Date: 1 Nov 2006
Posts: 1,884
Default

Hi,
First of all assuming all the waves are in the default Bakerloo folder with a filename without space characters in (e.g. LambethNorthNext.wav), then:

For next station announcements:

Find the .sta command for a station such as Lambeth North and look at the number at the start of that row (or if no number, the start of the previous line).

Next use the distance before the station you want the announcements to play - usually 300 or 400m is sufficient and subtract this from the number at the start of the row. E.g. Lambeth North has a number (distance) of 850 so you need to put in a command at about 550.

If the number doesn't exist - in this case there is no 550 so you can insert a row where 550 should be and type 550 in the first cell. In the next cell along you want to use the command:

.announce Bakerloo\[NameOfFile].wav

e.g. .announce Bakerloo\LambethNorthNext.wav

For this station announcements:

Locate the previously found .sta command for the station and there is a place in the command where an announcement can be played on doors opening:

locate the 7th semi colon in the string and type (between the 7th and 8th semi colon):

Bakerloo\[NameOfFile].wav

e.g Bakerloo\LambethNorthThis.wav


Note: BVE can be very picky with its syntax so be careful of extra spaces, punctuation marks etc, otherwise it's likely the sounds won't play

Hope this helps!
dan_atki is offline  
Unread 2nd June 2008, 17:48   #3
danw2007
Central Line Dan
Member
 
danw2007's Avatar
 
Join Date: 27 May 2008
Posts: 19
Default

.Sta Lambeth North 1202;12.0200;12.0215;;1;0;;;15;40;;

Hi,
I have reached this point, but I am not sure what to do next? Please would someone help?
Thanks,
Dan
__________________
This is a Central Line train to Woodford via Hainult
danw2007 is offline  
Unread 2nd June 2008, 18:03   #4
dan_atki
RailUK Pedant
Established Member
 
dan_atki's Avatar
 
Join Date: 1 Nov 2006
Posts: 1,884
Default

Code:
.Sta Lambeth North 1202;12.0200;12.0215;;1;0;;;15;40;;
becomes (placing the command between the 7th and 8th semi colons (for the this station announcement)):

Code:
.Sta Lambeth North 1202;12.0200;12.0215;;1;0;;Bakerloo\LambethNorthThis.wav;15;40;;

Last edited by Jordy; 2nd June 2008 at 18:09.
dan_atki is offline  
Unread 2nd June 2008, 18:25   #5
danw2007
Central Line Dan
Member
 
danw2007's Avatar
 
Join Date: 27 May 2008
Posts: 19
Default

When I have done this, BVE now says that it has encountered a problem, and needs to close, can anyone help any further?
Thanks,
Dan
__________________
This is a Central Line train to Woodford via Hainult
danw2007 is offline  
Unread 2nd June 2008, 18:47   #6
dan_atki
RailUK Pedant
Established Member
 
dan_atki's Avatar
 
Join Date: 1 Nov 2006
Posts: 1,884
Default

I've noticed that it sometimes does that as well but this can normally be rectified by switching the \ to a / (dunno why it works though) - if it fails to work could you paste the lines that you edited into a post please and I'll be able to look for an error
dan_atki is offline  
Unread 2nd June 2008, 19:02   #7
danw2007
Central Line Dan
Member
 
danw2007's Avatar
 
Join Date: 27 May 2008
Posts: 19
Default

.Sta Lambeth North 1202;12.0200;12.0215;;1;0;;Bakerloo/lambn_this.wav;15;40;;
Ok. This is the line that I have edited. I have changed the punctuation mark, and BVE is still encountering a problem. Can you help any further?
Thanks
Dan
__________________
This is a Central Line train to Woodford via Hainult
danw2007 is offline  
Unread 2nd June 2008, 19:26   #8
Dennis
Click to edit
Established Member
 
Dennis's Avatar
 
Join Date: 8 Aug 2005
Location: Trowbridge
Posts: 2,602
Default

use of a back-slash is correct and I cannot see any other problems with the line of code there ( this might be of some use). I would suggest that the problem could lie elsewhere in the route; try removing that .sta (and associated .stop) command and see if BVE still has problems.

If the route loads OK without that .sta command, test the sound file by inserting it into the route using the .announce command; I'm not sure what errors a faulty sound file (incorrect format, corrupt etc) will produce but by testing it in this way will at least eliminate that possibility.
__________________
Gordons woodlice care sheet
Dennis is offline  
Unread 2nd June 2008, 19:43   #9
dan_atki
RailUK Pedant
Established Member
 
dan_atki's Avatar
 
Join Date: 1 Nov 2006
Posts: 1,884
Default

I'd go along with what Dennis said, and remove that part of the code and see if the error still occurs.

If it doesn't still occur then we cane hone in on that part.

I have just done a test, a \ is the one to use.

Also, BVE does have problems with incorrect wav formats and is very specific about which format it needs for announcement files. I can't remember precisely what happened (i.e. if BVE had to close or not) when I used wrong formats but I did get an error!
dan_atki is offline  
Unread 3rd June 2008, 15:33   #10
danw2007
Central Line Dan
Member
 
danw2007's Avatar
 
Join Date: 27 May 2008
Posts: 19
Default

So if I was to use the .announce command, where would I place it?
__________________
This is a Central Line train to Woodford via Hainult
danw2007 is offline  
Unread 3rd June 2008, 15:45   #11
dan_atki
RailUK Pedant
Established Member
 
dan_atki's Avatar
 
Join Date: 1 Nov 2006
Posts: 1,884
Default

You can use the .announce command for the next station announcement as long as they are placed sufficiently before the station (which is what the .sta command represents).

So for Lambeth North I'd say about 550 is the distance you want to put the command - although you'd have to put in a new line for 550 before the command.
If you want I could tell you all 24 distances for the route but it's about 300m before the associated station's .sta command on the Bakerloo (for maximum realism)

You could even (if BVE is failing to accept the string in the .sta command) use .announce for the this station announcements (although it won't be as realistic).

The problem here is where you'd place them because everyone stops the train in a different place, and the file will only play when the train reaches that location (which may be when it's pulling out of the station or long before it stops). But on average, should you decide to use this as well, these should be placed near the .stop command for the stations.
dan_atki is offline  
Unread 4th June 2008, 18:21   #12
danw2007
Central Line Dan
Member
 
danw2007's Avatar
 
Join Date: 27 May 2008
Posts: 19
Default

Ok. I am still having trouble with this. Is somebody else willing to try and help me solve this if I send them the sound file, and they attempt to try and help?
Many Thanks,
Dan
__________________
This is a Central Line train to Woodford via Hainult
danw2007 is offline  
Unread 4th June 2008, 18:26   #13
D306
Established Member
 
D306's Avatar
 
Join Date: 9 Apr 2007
Location: somewhere concrete
Posts: 2,239
Default

I did do this once, and it was sucessful. I can send you the stuff if you want. I just have to make a few monor tweaks first, as it doesn't accept MP3 files.

PM me and I'll send it to you
D306 is offline  
Unread 4th June 2008, 18:42   #14
Jordy
POTW co-ordinator
Moderator
 
Jordy's Avatar
 
Join Date: 9 Jun 2005
Location: Nottingham
Posts: 7,566
Default

Send me the files and i'll have a go (also see my PM from yesterday)
__________________

WordPress | Twitter | Flickr | Youtube | Railmiles
Jordy is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 06:17.
Powered by vBulletin® Version 3.8.7
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
© RailUK Forums 2005 - the year after 2012