BVEStation

Author Topic: Random Doors opening on some routes  (Read 5687 times)

Offline sj_ParkchesterXP

  • New Recruit
  • *
  • Posts: 12
  • Gender: Male
  • BLAM!!!
    • View Profile
Random Doors opening on some routes
« on: July 25, 2011, 02:36:34 pm »
Some routes I use like the K train have their doors open on the wrong side. I use some the new generation trains on the routes since the animation on them makes the route at least feel realistic. Is there a way to fix that the doors won't open on the wrong side?


Credit goes to Lance!

Offline bve

  • Dispatcher
  • ****
  • Posts: 726
  • Gender: Male
  • OMSI anyone?
    • View Profile
Re: Random Doors opening on some routes
« Reply #1 on: July 25, 2011, 02:37:44 pm »
I believe there is a error in the coding that causes that.
Favorite LFS Powertrain: Cummins ISL 9 EPA10
                                        Allison WB-400R Gen IV
Favorite CNG/Diesel Engine: Detroit Diesel Series 50

Favorite Transmission Make: Allison Transmission

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: Random Doors opening on some routes
« Reply #2 on: July 25, 2011, 02:47:45 pm »
All older BVE4 routes do that too, because in BVE4 it didn't matter which side the doors opened because BVE4 did not have a left door/right door feature, which is why the doors always open on one side if you play the route on OpenBVE regardless of what side the platform is at
Signature Removed (dead link)

Offline Bombardier01800

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 749
  • Gender: Male
  • Apple Certified Macintosh Technician
    • View Profile
    • MBTA and NJT Transit Forums
Re: Random Doors opening on some routes
« Reply #3 on: July 25, 2011, 02:50:53 pm »
The platform is just an object, and some of those routes are coded in RW. In BVE, you can't tell the difference. In OpenBVE, you can. RW, unless it has the command, will open the doors on both sides. If you convert an RW route to CSV using BRR, the doors will always open on the right (2 and A) Yes there is a way to fix it, you have to modify the .sta command.
Jose
BVEStation Administrator

Offline Rayvon

  • Operator
  • ***
  • Posts: 384
  • Gender: Male
  • BVEStation Administrator
    • View Profile
Re: Random Doors opening on some routes
« Reply #4 on: July 25, 2011, 02:59:52 pm »
All older BVE4 routes do that too, because in BVE4 it didn't matter which side the doors opened because BVE4 did not have a left door/right door feature, which is why the doors always open on one side if you play the route on OpenBVE regardless of what side the platform is at
yes it did, some developers just didn't add the code in right.

Offline sj_ParkchesterXP

  • New Recruit
  • *
  • Posts: 12
  • Gender: Male
  • BLAM!!!
    • View Profile
Re: Random Doors opening on some routes
« Reply #5 on: July 25, 2011, 03:18:02 pm »
The platform is just an object, and some of those routes are coded in RW. In BVE, you can't tell the difference. In OpenBVE, you can. RW, unless it has the command, will open the doors on both sides. If you convert an RW route to CSV using BRR, the doors will always open on the right (2 and A) Yes there is a way to fix it, you have to modify the .sta command.

How can that be possible with BRR?


Credit goes to Lance!

Offline Lance

  • Operator
  • ***
  • Posts: 283
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Random Doors opening on some routes
« Reply #6 on: July 25, 2011, 04:58:14 pm »
The platform is just an object, and some of those routes are coded in RW. In BVE, you can't tell the difference. In OpenBVE, you can. RW, unless it has the command, will open the doors on both sides. If you convert an RW route to CSV using BRR, the doors will always open on the right (2 and A) Yes there is a way to fix it, you have to modify the .sta command.

How can that be possible with BRR?

Don't worry about BRR, you can fix the door issue with .rw routes without the conversion process.
Below is a line of code from the fictional (K) line:
Code: [Select]
@station(Passaic Juction,,,1,ats,\K\Passaic Juction_dep.wav)The "1" is the default code for opening the right side. All you have to do is change that "1" to either "L", "R" (for left or right obviously) or "B" (for both) to determine which side the train doors open at a station so the line shows the following:
Code: [Select]
@station(Passaic Juction,,,R,ats,\K\Passaic Juction_dep.wav)Now you have to do the same for each station that's supposed to open on the left.

On a side note, I'd recommend downloading NotePad++ since it's much easier to see the code than it is in regular Notepad or Excel.

'70s style service sign at Times Sq-42 St.