• Our new ticketing site is now live! Using either this or the original site (both powered by TrainSplit) helps support the running of the forum with every ticket purchase! Find out more and ask any questions/give us feedback in this thread!

Developer question - wheres my guard?

Status
Not open for further replies.

heart-of-wessex

Established Member
Joined
11 Jun 2005
Messages
3,087
Location
Trowbridge
Hi all,

I am working on the 'extension' (some will know what I mean after I lost it yonks ago) and about 90% complete, however, when I test drove it and got to the first stop at **** midland road (first line gives the secret branch away), I stop at the correct place, tells me if im under or over the meters but the doors dont open! IE:

I arrive on time maybe a minute early, and in the top left corner reads:
1.00m Overrun
00:00:03 delay

no door sound UNLESS i press 0 myself. Departure time comes and no guard, I press 9 to close doors, buzz from guard then get told off for driving with the doors open!

I haven't the station code to hand here,
I have the .stop as .Stop 0;25;25,

I cannot get on Dennis's coding guide either, the library has a ban on freewebs sites :(

Unless Im typing the station code wrong somewhere (copied from another BVE4 route though) then i've no idea.


Taa,
James.
 
Sponsor Post - registered members do not see these adverts; click here to register, or click here to log in
R

RailUK Forums

Dennis

Established Member
Joined
8 Aug 2005
Messages
2,676
Location
Trowbridge
the .stop command specifies if a marker is displayed and the over/underrun.

check the .sta command;
eg
.Sta Station2; 12.3100;12.3200;;-1;;;;30;30;;0,
The semicolons are used to separate the individual attributes of the command, these are in the order

Station name; - the name of the station (appears on the jump to station list)

;arrival time; - in hours.minutesseconds ** note the syntax used **

;departure time; - also in hours.minutes seconds

;pass alarm - NOT used in BVE 4, leave blank

;door opening side; - use -1 for the left, 1 for the right.

;signal at station; - IF there is a signal immediately after the station, 1
shows red, 0 green

;safety system; - NOT used in BVE 4, leave blank

;sound; - filename of sound played on arrival at station

;dwell time; - the minimum station dwell time in seconds

;loading factor; - how full the train is (0-250), values >100 may cause door problems

;train departing sound; - filename of sound played when departing the station

;timetable index, - denotes the timetable to be displayed in the cab (on pressing F3)

If the door opening side is blank or zero, as might be used for stations faking approach control signals, then the doors will not open.

HTH.
 

heart-of-wessex

Established Member
Joined
11 Jun 2005
Messages
3,087
Location
Trowbridge
don't worry will check out the code later, route is mashed with objects atm needs re-doing :( well not all of it thank god.

What I AM trying to do (I will reveal now) is the Long planned Longston Extension, once lost with my GWML files, with Tony allowing me to do so I was allowed to extend it to Longston to link up with the Longston - Carmeton branch. Longston station is completley re-done now anyway with a Portsmouth & southsea style station. However being an extension used the objects, with this the tunnel and stuff have screwed the tunnels up, lets hope I can re-code it without shifting everything!

cheers,
james.
 
Status
Not open for further replies.

Top