Elvas Tower: Open/close doors in AI trains - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Open/close doors in AI trains Rate Topic: -----

#21 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,424
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 05 February 2017 - 05:28 AM

View PostJames Ross, on 04 February 2017 - 06:40 AM, said:

Are there actually any items on the "Experimental" tab which only apply to one of those modes, and why would we not want to make them apply to both?


  • Forced red at station stops : does not apply to timetable as in timetable mode this is controlled by the $hold parameter.
  • Extended AI train shunting : not available in timetable (when introduced, it will be controlled by timetable parameters).
  • Autopilot : not available in timetable.
  • Location-based passing processing : default in timetable mode (so not an option).


At present, AI trains opening doors is also not yet available in timetable mode.
Furthermore, specific timetable mode options are likele to be introduced as time goes by which cannot be applied to activities as the related functionality does not exist in activities, and cannot be added because of either MSTS compatibility, or the lack of appropriate methods to set the required parameters. Such options are envisaged in the planned update of timetable mode.

Regards,
Rob Roeterdink

#22 User is offline   midneguy 

  • Foreman Of Engines
  • Group: Status: First Class
  • Posts: 931
  • Joined: 29-August 11
  • Gender:Male
  • Location:Nebraska
  • Simulator:MSTS
  • Country:

Posted 05 February 2017 - 06:25 AM

Carlo,

I'm curious if I can add something to the discussion regarding opening doors on AI trains - which is a neat feature by the way! I haven't tested this personally yet, but just noticing this topic now I thought of something I wanted to put out there... I assume this feature will open the doors on locomotives too when they have door animations? If so, do we want this to be the case? I've made several steam locomotive models which have the front doors of the cab animated so they can be run with the doors either open or closed. Of course the problem with this is that if you have cars in the consist that have door animations, those will all open and close as well which looks pretty odd.

Would it be possible to differentiate between .eng doors and .wag doors and be able to command them separately in the sim?

Derek

#23 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 05 February 2017 - 06:58 AM

Hi Derek,
if you want to open a freight engine's door during run, you must not check the option I introduced and you are in the same situation you were before the option was available.
Differentiating between .eng and .wag doors in a straightforward way is not a perfect solution, because in DMUs and EMUs .eng and .wag doors should open/close at the same time. So one should check whether the .eng file has parameter PassengerCapacity ( number ) set or not.
It must be seen whether this feature is of interest of other people, is approved by the ORTS management team and finds a voluntary for implementation :)

#24 User is offline   midneguy 

  • Foreman Of Engines
  • Group: Status: First Class
  • Posts: 931
  • Joined: 29-August 11
  • Gender:Male
  • Location:Nebraska
  • Simulator:MSTS
  • Country:

Posted 05 February 2017 - 07:26 AM

Carlo,

Thanks for your reply - I hadn't considered the cases of DMU's / EMU's, which makes sense after you mentioned it. Your suggestion of using the PassengerCapacity (number) parameter in the .eng file is an interesting one. I assume you were referring to AI trains in your reply, meaning that if this parameter is set to "0" then the doors wouldn't open when an AI train pulled up to a platform? I was thinking more of the behavior of player consists in my original note... Apologies if this is too far off from the thread topic but with door behavior being discussed I couldn't resist asking the question :)

Derek

#25 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 05 February 2017 - 08:54 AM

No problem, you raised an interesting issue.
PassengerCapacity, when present, has a value greater than 0. If absent, MSTS and OR assume the trainset carries no passengers. I think that dividing door operation as you suggest is applicable for both player train and AI trains (of course in AI trains doors of non-passenger carrying engines would never open).

#26 User is offline   RTP 

  • Conductor
  • Group: Status: Active Member
  • Posts: 254
  • Joined: 14-June 09
  • Gender:Male
  • Location:Barcelona
  • Simulator:Open Rails
  • Country:

Posted 05 February 2017 - 09:47 AM

At the start of the activity there are two trains stopped at the station.

The AI one, have both sides open, correctly, but the player one have both sides closed and must be also open.

If you open this doors manually, the program does not close them.

Regards.

#27 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 05 February 2017 - 10:57 AM

If you are the train driver you will have something to do! So it's to you to open and close doors for the player train, unless you pass to autopilot mode.

#28 User is offline   RTP 

  • Conductor
  • Group: Status: Active Member
  • Posts: 254
  • Joined: 14-June 09
  • Gender:Male
  • Location:Barcelona
  • Simulator:Open Rails
  • Country:

Posted 05 February 2017 - 11:28 AM

Yes, but I am in autopilot mode.

Regards.

#29 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 05 February 2017 - 11:38 AM

In the starting station autopilot mode does not open/close doors. It must be done manually.
Also, if you arrive at a station in player mode and pass to autopilot mode when stopped at station, you will have to close doors manually.

#30 User is offline   RTP 

  • Conductor
  • Group: Status: Active Member
  • Posts: 254
  • Joined: 14-June 09
  • Gender:Male
  • Location:Barcelona
  • Simulator:Open Rails
  • Country:

Posted 05 February 2017 - 11:49 AM

OK.

Really, this feature adds life to the simulator.

Regards.

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users