BVEStation Forums

BVE => BVE/OpenBVE Support => Topic started by: dannyboy654 on April 11, 2013, 08:35:25 pm

Title: OpenBVE Code for Automatic Closing Doors
Post by: dannyboy654 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.
Title: Re: OpenBVE Code for Automatic Closing Doors
Post by: trainbrain 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 (http://www.bveklub.hu/developing/tool_traineditor.html)
Title: Re: OpenBVE Code for Automatic Closing Doors
Post by: dannyboy654 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 (http://www.bveklub.hu/developing/tool_traineditor.html)
I am on a mac, so yeah............
Title: Re: OpenBVE Code for Automatic Closing Doors
Post by: Threxx1 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)