Elvas Tower: Different controls for left and right mirrors - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Different controls for left and right mirrors Rate Topic: -----

#1 User is offline   VAPOR3D 

  • Conductor
  • Group: Status: Active Member
  • Posts: 268
  • Joined: 15-March 20
  • Gender:Male
  • Location:Barcelona, Catalunya
  • Simulator:Open Rails
  • Country:

Posted 06 December 2021 - 01:35 PM

Hi, I've been searching the forum on the subject but I can't find anything.

My question is if it is possible to implement different controls to move the left and right mirror independently.

I have managed to move the mirrors and their corresponding switches using the following entries in the *.cvf:

TwoState (
Type ( ORTS_MIRRORS TWO_STATE )
Position ( 194 397 24 14 )
Graphic ("trans.ace")
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 1 )
)
TwoState (
Type ( ORTS_MIRRORS TWO_STATE )
Position ( 194 397 24 14 )
Graphic ("trans.ace")
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 1 )
)

This works in the 3D cockpit: the switches move and the mirrors move, but the two switches move at the same time and the mirrors move at the same time.

In the 3D cab model, the switches are named like this:

ORTS_MIRRORS:0 (left mirror switch).
ORTS_MIRRORS:1 (right mirror switch)

And the mirrors, like this:

MIRRORS:0 (left mirror switch)
MIRRORS:1 (right mirror switch)

Although this is an improvement over previous versions of OR (I'm with Testing T1.4-55-g04375e6bf), because previously I couldn't move the mirrors from their switch, now I find it would be interesting if it's possible to move them independently. It would be as simple with an ORTS_LEFTMIRROR and ORTS_RIGHTMIRROR as with the gates... but this doesn't work.

As always, thank you very much for the help!

#2 User is offline   Skinner_11 

  • Apprentice
  • Group: Status: New Hire
  • Posts: 1
  • Joined: 20-February 22
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 23 February 2022 - 10:31 AM

 VAPOR3D, on 06 December 2021 - 01:35 PM, said:

Hi, I've been searching the forum on the subject but I can't find anything.

My question is if it is possible to implement different controls to move the left and right mirror independently.

I have managed to move the mirrors and their corresponding switches using the following entries in the *.cvf:

TwoState (
Type ( ORTS_MIRRORS TWO_STATE )
Position ( 194 397 24 14 )
Graphic ("trans.ace")
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 1 )
)
TwoState (
Type ( ORTS_MIRRORS TWO_STATE )
Position ( 194 397 24 14 )
Graphic ("trans.ace")
NumFrames ( 2 2 1 )
Style ( ONOFF )
MouseControl ( 1 )
)

This works in the 3D cockpit: the switches move and the mirrors move, but the two switches move at the same time and the mirrors move at the same time.

In the 3D cab model, the switches are named like this:

ORTS_MIRRORS:0 (left mirror switch).
ORTS_MIRRORS:1 (right mirror switch)

And the mirrors, like this:

MIRRORS:0 (left mirror switch)
MIRRORS:1 (right mirror switch)

Although this is an improvement over previous versions of OR (I'm with Testing T1.4-55-g04375e6bf), because previously I couldn't move the mirrors from their switch, now I find it would be interesting if it's possible to move them independently. It would be as simple with an ORTS_LEFTMIRROR and ORTS_RIGHTMIRROR as with the gates... but this doesn't work.

As always, thank you very much for the help!


Did you manage to come up a solution since then? I'm facing a similar issue, where I have multiple alerter reset buttons in my 3D cab, but even when assigning different names to them, pressing any of them will make all of them animate together.

#3 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 944
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 24 February 2022 - 02:36 AM

Hi.

No. There is a list somewhere of the controls and back indicators that can be used in the cab. Also included in the Manual. Does not include NYMG CC controls and feedback.
I wrote a private message in Hungarian.

Sincerely, Laci1959

#4 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,927
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 24 February 2022 - 07:53 AM

If there are no mirrors, that can be assigned to jealousies of radiators, for instance.
What for list of all cab controls, Laci probably meant this:
http://www.elvastowe...post__p__280800
Thanks to ExRail

#5 User is offline   Laci1959 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 944
  • Joined: 01-March 15
  • Gender:Male
  • Simulator:Alföld
  • Country:

Posted 24 February 2022 - 09:29 AM

 Weter, on 24 February 2022 - 07:53 AM, said:

If there are no mirrors, that can be assigned to jealousies of radiators, for instance.
What for list of all cab controls, Laci probably meant this:
http://www.elvastowe...post__p__280800
Thanks to ExRail


Hi Weter.

Yes, that's what I was thinking. The excel spreadsheet shown in the picture completes this list. The original can be downloaded from the NYMG thread or from Cruise Control.
I have already translated the table for Hungarian content creators.

Laci1959

https://kephost.net/p/2022/08/7981_953c66d0f862.png

#6 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,867
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 25 February 2022 - 11:03 AM

 Laci1959, on 24 February 2022 - 09:29 AM, said:

The excel spreadsheet shown in the picture completes this list. The original can be downloaded from the NYMG thread or from Cruise Control.

The OR Manual also describes John's Excel spreadsheet with a web-link in the section Developing OR Content > Parameters and Tokens.

Page 1 of 1
  • 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