Elvas Tower: Passenger View Rotation - Elvas Tower

Jump to content

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

Passenger View Rotation Rate Topic: -----

#11 User is offline   scottb613 

  • Vice President
  • Group: Status: First Class
  • Posts: 2,973
  • Joined: 06-July 09
  • Gender:Male
  • Location:Downeast Maine (soon)
  • Simulator:ORTS
  • Country:

Posted 24 January 2024 - 03:45 PM

View Postsuperheatedsteam, on 24 January 2024 - 11:56 AM, said:

Another possible option may be to use ORTSAlternate3DCabViewPoints which allows multiple preset viewpoints. Currently this only works in ORNYMG and unstable version of OR.

Use CTRL+SHIFT+1 to scroll through the views. Example below adds 3 additional views to the default, the last one with the head outside the cab.



ORTSAlternate3DCabViewPoints
(
ORTSAlternate3DCabViewPoint(
ORTS3DCabFile ( cab.s )
ORTS3DCabHeadPos ( 0 3.7 5.4 )
RotationLimit ( 0 0 0 )
StartDirection ( 0 -10 0 )
)
ORTSAlternate3DCabViewPoint(
ORTS3DCabFile ( cab.s )
ORTS3DCabHeadPos ( -1.2 3.7 5.4 )
RotationLimit ( 0 0 0 )
StartDirection ( 0 -10 0 )
)
ORTSAlternate3DCabViewPoint(
ORTS3DCabFile ( cab.s )
ORTS3DCabHeadPos ( 1.8 3.7 5.4 )
RotationLimit ( 0 0 0 )
StartDirection ( 0 -10 0 )
)
)


Hi Marek,

Thanks - I can give that a try.

For the record - I tried [RotationLimit] in the 3Dcab view - apparently it was never implemented there either.

Regards,
Scott

#12 User is offline   Jonatan 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,662
  • Joined: 29-March 10
  • Gender:Male
  • Location:Somewhere.
  • Simulator:MSTS and Vehicle Simulator
  • Country:

Posted 24 January 2024 - 04:19 PM

I think it comes down to so many other things with Open Rails: No one of the people working on the code at the time had any interest in implementing it. Or they forgot. Or they shifted focus to other things.


Such is the nature of volunteer-based open source programming. :)

#13 User is offline   scottb613 

  • Vice President
  • Group: Status: First Class
  • Posts: 2,973
  • Joined: 06-July 09
  • Gender:Male
  • Location:Downeast Maine (soon)
  • Simulator:ORTS
  • Country:

Posted 25 January 2024 - 03:00 AM

Hi Jonatan,

It's all good - I understand - I certainly appreciate what we do have. We should probably just make a note to update the documentation - next time around - as I did check it before posting.

I figured out a solution to my immediate problem - [Ctrl][8] - instead of using arrows to pan back to the default location - use [Ctrl][8] - on every cycle you are resetting the timings and adjusting the views for any small imperfections that would get amplified on successive cycles. One odd note - [Ctrl][8] resets the view to the forward-looking position in HEADOUT - Port or Brakeman/Fireman side of the locomotive.

Now - a normal press of my Joystick four-way HAT selects the appropriate side HEADOUT view - a long-press of the same HAT button cycles the view from front to back.

I'm happy with it.
:)

The only issue I see with 3Dcab and Passenger Views - that differ from HEADOUT - is you can't select a specific view - you're forced to cycle through all defined views.


Updated Voice Attack Macro (Assigned to Joystick Button):
Begin Integer Compare : [Side] Equals 0
    Begin Integer Compare : [Headout_S] Equals 0
        Set integer [Headout_S] value to 1
        Press Left Shift+Right keys and hold for 0.73 seconds and release
        Exit Command
    End Condition
    Begin Integer Compare : [Headout_S] Equals 1
        Set integer [Headout_S] value to 0
        Press Left Ctrl+8 keys and hold for 0.15 seconds and release
        Exit Command
    End Condition
End Condition
Begin Integer Compare : [Side] Equals 1
    Begin Integer Compare : [Headout_P] Equals 0
        Set integer [Headout_P] value to 1
        Press Left Ctrl+8 keys and hold for 0.15 seconds and release
        Exit Command
    End Condition
    Begin Integer Compare : [Headout_P] Equals 1
        Set integer [Headout_P] value to 0
        Press Left Shift+Left keys and hold for 0.73 seconds and release
        Exit Command
    End Condition
End Condition


Regards,
Scott

  • 2 Pages +
  • 1
  • 2
  • 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