Elvas Tower: Label feature for cabin controls - Elvas Tower

Jump to content

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

Label feature for cabin controls Rate Topic: -----

#1 User is offline   Jindrich 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 9
  • Joined: 12-July 18
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 03 February 2021 - 05:26 AM

Hello.
A new small feature was added to the rev. 89 of OR NewYear MG. You can add labels to your cabin controls. Then this label is displayed in the info line instead of control type.
Example:

Lever (
	Type ( TRAIN_BRAKE LEVER )
        ...
	MouseControl ( 1 )
        Label ( "My new nice label" )
)


Jindřich

#2 User is offline   Aldarion 

  • Engineer
  • PipPipPipPipPip
  • Group: ET Owner
  • Posts: 629
  • Joined: 11-February 13
  • Gender:Male
  • Location:Lisbon, Portugal
  • Simulator:Open Rails
  • Country:

Posted 03 February 2021 - 02:41 PM

Wow.
Nice feature!

#3 User is offline   Aldarion 

  • Engineer
  • PipPipPipPipPip
  • Group: ET Owner
  • Posts: 629
  • Joined: 11-February 13
  • Gender:Male
  • Location:Lisbon, Portugal
  • Simulator:Open Rails
  • Country:

Posted 03 February 2021 - 03:00 PM

my Norton is complaining about a WS.Reputation.1 detected in several exe and dll on the 89.1 pack.
can you confirm it please?
Here's my antivirus report. i apologize for being in Portuguese.

Attached File(s)



#4 User is offline   Jindrich 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 9
  • Joined: 12-July 18
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 03 February 2021 - 04:29 PM

I did not made the build, I only contributed my code. Will send this to Carlo anyways.

 Aldarion, on 03 February 2021 - 03:00 PM, said:

my Norton is complaining about a WS.Reputation.1 detected in several exe and dll on the 89.1 pack.
can you confirm it please?
Here's my antivirus report. i apologize for being in Portuguese.


#5 User is offline   Csantucci 

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

Posted 04 February 2021 - 12:05 AM

The download site is a secure one. Up to now no one of the other 180 people having downloaded this has complained.
The pack should be unzipped only with 7zip. Have you done that?

#6 User is online   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,237
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 04 February 2021 - 01:05 AM

Is this only for use from a cvf file or will it be possible to use the feature from an eng file in this way?

Brake_Train ( 0 1 0.01 0.50
NumNotches ( 5
Notch ( 0.0 0 TrainBrakesControllerOverchargeStart ) Label ( Füll- und Lösestellung )
Notch ( 0.2 0 TrainBrakesControllerReleaseStart ) Label ( Fahrtstellung )
Notch ( 0.3 0 TrainBrakesControllerNeutralHandleOffStart ) Label ( Mittelstellung )
Notch ( 0.5 0 TrainBrakesControllerSelfLapStart ) Label ( Bremsabschlußstellung )
Notch ( 0.7 0 TrainBrakesControllerFullServiceStart ) Label ( Betriebsbremsstellung )
Notch ( 1.0 0 TrainBrakesControllerEmergencyStart ) Label ( Schnellbremsstellung ) ) )

#7 User is offline   Jindrich 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 9
  • Joined: 12-July 18
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 04 February 2021 - 05:20 AM

For cvf only. Will check if we can use it in eng also.

 darwins, on 04 February 2021 - 01:05 AM, said:

Is this only for use from a cvf file or will it be possible to use the feature from an eng file in this way?


#8 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 04 February 2021 - 10:34 AM

Hi Jindřich,

 Jindrich, on 03 February 2021 - 05:26 AM, said:

A new small feature was added to the rev. 89 of OR NewYear MG. You can add labels to your cabin controls. Then this label is displayed in the info line instead of control type.

Neat idea - thank you.

It would be good if you could submit it to the official version as well, please.

#9 User is offline   Csantucci 

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

Posted 28 December 2021 - 12:55 AM

I have now ported Jindrich's feature to the official OR, creating a PR.

#10 User is offline   gpz 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,772
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 28 December 2021 - 03:25 AM

An important piece is missing IMHO: i18n. And i18n should be able to work in a "plugin" style, w/o editing the cvf or eng. So I'm sorry but I cannot give my "+1" vote for this feature with this implementation style, it's not been thought over thoroughly enough. But it's a good start for a discussion!

  • 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