BVEStation

Author Topic: OpenBVE Code for Automatic Closing Doors  (Read 5200 times)

Offline dannyboy654

  • New Recruit
  • *
  • Posts: 2
  • BVEStation Member
    • View Profile
OpenBVE Code for Automatic Closing Doors
« on: April 11, 2013, 08:35:25 pm »
Hi, I was hoping to figure out how to remove the automatic closing doors in OpenBVE because it is really annoying.

Offline trainbrain

  • Conductor
  • **
  • Posts: 108
  • Gender: Male
  • Freelance Route Developer
    • View Profile
    • My Youtube Channel
Re: OpenBVE Code for Automatic Closing Doors
« Reply #1 on: April 11, 2013, 08:48:17 pm »
Well, do u have train editor? If you do, do this:

OPEN TRAIN EDITOR
CLICK OPEN (DO NOT SAVE CHANGES)
FIND THE TRAIN YOU WANT TO CHANGE
GO TO PROPERTIES (2)
UNDER THE DEVICE COLUMN, CHANGE DoorOpenMode AND DoorCloseMode TO MANUAL
HIT SAVE AS
SAVE AS THE TRAIN.DAT FILE OF THE TRAIN YOU CHANGED (CLICK YES TO REPLACE)

Hope this helps-if you don't have train editor, download it here

http://www.bveklub.hu/developing/tool_traineditor.html

Working on the Northbound 2nd Ave Subway and the eastbound JFK express.
Upcoming projects are the R11, R15 and R12 trains.
(All credit to goes to Lance522 for the signature)

Offline dannyboy654

  • New Recruit
  • *
  • Posts: 2
  • BVEStation Member
    • View Profile
Re: OpenBVE Code for Automatic Closing Doors
« Reply #2 on: April 11, 2013, 09:20:20 pm »
Well, do u have train editor? If you do, do this:

OPEN TRAIN EDITOR
CLICK OPEN (DO NOT SAVE CHANGES)
FIND THE TRAIN YOU WANT TO CHANGE
GO TO PROPERTIES (2)
UNDER THE DEVICE COLUMN, CHANGE DoorOpenMode AND DoorCloseMode TO MANUAL
HIT SAVE AS
SAVE AS THE TRAIN.DAT FILE OF THE TRAIN YOU CHANGED (CLICK YES TO REPLACE)

Hope this helps-if you don't have train editor, download it here

http://www.bveklub.hu/developing/tool_traineditor.html
I am on a mac, so yeah............

Offline Threxx1

  • Conductor
  • **
  • Posts: 226
  • Gender: Male
    • View Profile
Re: OpenBVE Code for Automatic Closing Doors
« Reply #3 on: April 12, 2013, 08:00:14 am »
I am on a mac, so yeah............

You can open the train.dat file manually and change the values under "DoorOpenMode" and "DoorCloseMode" (the last two values in the #DEVICE section)