BVEStation

Author Topic: OPEn BVE code for the doors to open automatically  (Read 7919 times)

Offline NYC-T-Driver

  • Developer
  • New Recruit
  • **
  • Posts: 86
  • Gender: Male
  • Route Developer
    • View Profile
    • NYC-T-Driver's Youtube
OPEn BVE code for the doors to open automatically
« on: March 25, 2012, 05:31:25 pm »
i have a problem that the doors on my train wanna open automatically on the wrong side, or the doors wanna open on the right side when the station is on the left, or when i pull in the station, both doors wanna open when i stop my train.

can someone show me the code so i can change it myself. idk what the code looks like so i need help finding it
Official Developer for The IRT 1/9 Line

Southbound Progress - Skeleton Completed, Detailing in progress

Northbound Progress - Skelton Completed, Major Detailing In Progress

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: OPEn BVE code for the doors to open automatically
« Reply #1 on: March 25, 2012, 06:01:05 pm »
It is in the station code line

7875,.sta 207th Street;11.2800;11.2830;0;1;0;0;;20;45;\A2\207_DEP.wav,

The 4th number after the station name (The red one that I underlined and put in bold) controls which side the doors open. If it is -1, they will open on the left, 0 opens on both sides, and 1 opens on the right
Signature Removed (dead link)

Offline NYC-T-Driver

  • Developer
  • New Recruit
  • **
  • Posts: 86
  • Gender: Male
  • Route Developer
    • View Profile
    • NYC-T-Driver's Youtube
Re: OPEn BVE code for the doors to open automatically
« Reply #2 on: March 25, 2012, 06:40:48 pm »
thank you. you have been a excellent help
Official Developer for The IRT 1/9 Line

Southbound Progress - Skeleton Completed, Detailing in progress

Northbound Progress - Skelton Completed, Major Detailing In Progress

Offline NYC-T-Driver

  • Developer
  • New Recruit
  • **
  • Posts: 86
  • Gender: Male
  • Route Developer
    • View Profile
    • NYC-T-Driver's Youtube
Re: OPEn BVE code for the doors to open automatically
« Reply #3 on: March 28, 2012, 10:21:17 am »
Where is the Door Code on this code ???

2050@station(116th Street/5th Avenue,11.3700,11.3715,1,ats,12\116D.wav)@freeobj(1,110,0.4,0,0)@freeobj(0,110,4.85,0,0)

Official Developer for The IRT 1/9 Line

Southbound Progress - Skeleton Completed, Detailing in progress

Northbound Progress - Skelton Completed, Major Detailing In Progress

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: OPEn BVE code for the doors to open automatically
« Reply #4 on: March 28, 2012, 02:25:56 pm »
That is the type of station code found in RW route files, unfortunately I do not know how to change the door opening side in RW's. I only know how to do it in CSV's
Signature Removed (dead link)

Offline error46146

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 620
  • Gender: Male
    • View Profile
    • Photography by me.
Re: OPEn BVE code for the doors to open automatically
« Reply #5 on: March 28, 2012, 02:56:48 pm »
Where is the Door Code on this code ???

2050@station(116th Street/5th Avenue,11.3700,11.3715,1,ats,12\116D.wav)@freeobj(1,110,0.4,0,0)@freeobj(0,110,4.85,0,0)

In RW there is no way to set which sides the doors open on - the doors open on both sides in a RW file.


Offline NYC-T-Driver

  • Developer
  • New Recruit
  • **
  • Posts: 86
  • Gender: Male
  • Route Developer
    • View Profile
    • NYC-T-Driver's Youtube
Re: OPEn BVE code for the doors to open automatically
« Reply #6 on: March 28, 2012, 03:25:25 pm »
ok. thank you though
Official Developer for The IRT 1/9 Line

Southbound Progress - Skeleton Completed, Detailing in progress

Northbound Progress - Skelton Completed, Major Detailing In Progress

Offline TJay1724

  • Developer
  • Conductor
  • **
  • Posts: 150
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: OPEn BVE code for the doors to open automatically
« Reply #7 on: March 28, 2012, 06:09:11 pm »
For RW files, that's not completely true. There is a way to determine which side the doors open on. While the @station command most likely doesn't allow this, the @STA command does. It needs to be coded like this:

@sta(Patapsco Street,,,0, -1,0,0,,25,65)

Where the -1 is to have the doors open on the left side only. 1 for the right, or 0 for both.

Offline NYC-T-Driver

  • Developer
  • New Recruit
  • **
  • Posts: 86
  • Gender: Male
  • Route Developer
    • View Profile
    • NYC-T-Driver's Youtube
Re: OPEn BVE code for the doors to open automatically
« Reply #8 on: March 28, 2012, 06:21:17 pm »
I don't see that in this code though
Official Developer for The IRT 1/9 Line

Southbound Progress - Skeleton Completed, Detailing in progress

Northbound Progress - Skelton Completed, Major Detailing In Progress

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: OPEn BVE code for the doors to open automatically
« Reply #9 on: March 28, 2012, 06:30:32 pm »
You will have to completely change the code from the @STATION code to the @STA code, RW files allow both of them.
Signature Removed (dead link)