Elvas Tower: Managing multiple screen pages on a display in 2D and 3D cabs - 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.
  • 5 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

Managing multiple screen pages on a display in 2D and 3D cabs Rate Topic: -----

#21 User is offline   Csantucci 

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

Posted 08 November 2021 - 01:34 AM

In ORNYMG 109.2 a new control, specifically devoted to the loading of the background (static) part of screen pages has been made available: ORTS_STATIC_DISPLAY. Its way of working has been added in the first thread of the post.

@akioyamamura: I don't understand why you need more states. In reality only one is needed, and I have created the ORTS_STATIC_DISPLAY control for that.
Every screenpage has its own static part, and for each of them an ORTS_STATIC_DISPLAY control has to be generated, that contains in line ORTSScreenPage the name of the related screen, and has as .Ace file only that specific static part.

#22 User is offline   akioyamamura 

  • Hostler
  • Group: Status: Active Member
  • Posts: 73
  • Joined: 30-August 21
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 08 November 2021 - 06:22 AM

This new funcionality is exactly what I need. Thank you Carlo!

https://youtu.be/6yBgBabjFtg

#23 User is offline   Csantucci 

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

Posted 10 November 2021 - 12:03 AM

At the moment the strings within the parentheses of ORTSScreenPage and ORTSNewScreenPage must have only lowercase characters. This limitation will be removed in next release of ORNYMG.

#24 User is offline   Csantucci 

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

Posted 11 November 2021 - 01:50 AM

The restriction has been removed in ORNYMG 109.4.

#25 User is offline   cjakeman 

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

Posted 23 November 2021 - 11:27 AM

View PostSerana, on 02 November 2021 - 12:25 AM, said:

I had something even more ambitious in mind: https://blueprints.l...js-cab-controls

Basically, you would define a place on the 2D or 3D cab as a screen which will display the content of an HTML page with JavaScript (to make it interactive with the simulator).
That way, you can really customize what you want to display on the screen.

That's basically how screens work in Microsoft Flight Simulator.

James and I have talked this over and we don't think this approach is appropriate right now.

A lot of work would be needed (and I believe Microsoft had lots of problems with their initial rollout). There is also the common problem of publishing controls which use features within OR which cannot then be improved without breaking content.

These issues are not insurmountable, so perhaps we can revisit the idea later when we come to create our own cab view format.

#26 User is offline   Serana 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 489
  • Joined: 21-February 13
  • Gender:Male
  • Location:St Cyr l'Ecole (France)
  • Simulator:Open Rails
  • Country:

Posted 23 November 2021 - 12:55 PM

View Postcjakeman, on 23 November 2021 - 11:27 AM, said:

James and I have talked this over and we don't think this approach is appropriate right now.

A lot of work would be needed (and I believe Microsoft had lots of problems with their initial rollout). There is also the common problem of publishing controls which use features within OR which cannot then be improved without breaking content.

These issues are not insurmountable, so perhaps we can revisit the idea later when we come to create our own cab view format.


I will do a proof of concept anyway. I don't think it is really that difficult.
And about breaking content... come on, that's a subject we already have with C# scripts and it's not that problematic currently.

#27 User is offline   Csantucci 

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

Posted 12 December 2021 - 02:46 AM

Following Chris' approval of the blueprint, a PR to the official OR release for this feature has been generated.

#28 User is offline   Csantucci 

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

Posted 14 December 2021 - 08:44 AM

The feature has been fully approved and will be present in next official Testing release.

#29 User is offline   Csantucci 

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

Posted 17 December 2021 - 01:35 PM

Feature now available in Testing release T1.4-100 and in ORNYMG 112.

#30 User is offline   trainagrandevitesse 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 32
  • Joined: 17-September 13
  • Gender:Male
  • Location:Paris Gare de l'Est
  • Simulator:ORTS
  • Country:

Posted 11 September 2022 - 03:28 PM

Good evening,
is there a maximum number of names for "ORTSScreenPage"?
I use 12 different "ORTSScreenPage" names, everything works.
But from 13 names of "ORTSScreenPage" all "ORTS_STATIC_DISPLAY" and associated "ORTS_SCREEN_SELECT" buttons disappear.

I tried several possible combinations but I always get the same result.

Good night

Jean Prisca

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

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