Elvas Tower: How do I add an overcharge button? - Elvas Tower

Jump to content

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

How do I add an overcharge button? Rate Topic: -----

#11 User is offline   Laci1959 

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

Posted 30 October 2022 - 02:18 AM

Hello.

What I forgot to write is that the code is in the eng file and it adds the possibility of overcharging with the necessary settings.
I confess that I drive with a keyboard to this day. I'm kind of used to it. That's why I never dealt with the part of the cvf file.
Not my solution, I just read the manual and applied it.
KNORR D2, D12 brakes have fixed notches, each notch has a specific pressure value. From the Run position ( ReleaseStart ), exactly the sixth press is the Row 5 position, which means exactly 3.5 bar main line ( BP ?? ) pressure.

Sincerely, Laci1959

#12 User is offline   Weter 

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

Posted 30 October 2022 - 02:36 AM

And the third setting should be added to Wagon() section for referring brakes insensitivity (softness). It's triple valve's property actually.
Otherwise, overcharge elimination would cause unwanted brake application (it's rate should be slower, than softness value, for preventing that effect)

#13 User is offline   Keilen 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 27
  • Joined: 12-March 19
  • Gender:Male
  • Simulator:OR & MSTS
  • Country:

Posted 30 October 2022 - 04:55 AM

Hello.

First of all thank you for responding so quickly.

Now, to summarize or recap:
In the .eng file in the engine subsection I insert the block with the two references to "Maximum overcharge" and "The leakage rate..." which I have done (I attach photo extract). Then in the .cvf file I insert the command block with the corresponding button (also attached photo).
Apart from the fact that it doesn't execute my button animation ( attached photo with cab and command given with the mouse) this entered parameter - OVERCHARGE - should be displayed on the gauges or not ?
Going back to what I wrote this morning, I checked the .cvf and Log.txt files and found nothing that would lead me to discover any mistake. I attach everything in photo format ( the forum does not allow me to upload .txt files ) I also attached the .ace image of the button. I even reversed the .ace file with the sanding one and the function was reversed. The original button for overcharge, is now animated but from the sanding command while the sanding button, now assigned to the overcharge command is stationary.
The same thing happens with the ORTS_QUICKRELEASE functionality for which I opened another topic a few months ago and the problem remained unresolved.

So, it remains to wait from Aldarion if he wants to share his experience with us.

Note: Disregard the absence of the brake controller; during testing I deliberately removed it from the .cvf

Thank you.

Attached thumbnail(s)

  • Attached Image: Overcharge.jpg
  • Attached Image: Overcharge on.jpg
  • Attached Image: Overcharge off.jpg
  • Attached Image: .cvf extras.jpg
  • Attached Image: Log.txt- Page 1.jpg
  • Attached Image: Log.txt- Page 2.jpg
  • Attached Image: Log.txt- Pge 3.jpg
  • Attached Image: Log.txt- Page 4.jpg
  • Attached Image: Front Cabview.jpg
  • Attached Image: .eng.jpg


#14 User is offline   Weter 

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

Posted 30 October 2022 - 05:16 AM

I like Your method: it's more perfect, than that, which I offered.
Since You only assign to button in question, the guaranteed-working function - it's more informative to see.
Now we sure, that animation, graphic and position are all good, but function (overcharge) causes the button to freeze.
***
Overcharge elimination is slower, than leak rate?
Doubtful, because they both have to be ignored by triple valves of the train.
Elimination have to eliminate overcharge in defined amount of time (say, couple of minutes) but 0,0025bar/s IMHO is good.
See real brakes documentation for true valuse, if possible.
Did You entered the rate of brake insensitivity to Wagon() section?

WHILE_PRESSED ?

Are You actually have 38 ACTIVE cab controls now?
No missing/excessive brackets?

Quote

this entered parameter - OVERCHARGE - should be displayed on the gauges or not ?

Which of? Manometers? If You enter the limit beyond 6.3 bar - then yes.

#15 User is offline   cesarbl 

  • Conductor
  • Group: Status: Active Member
  • Posts: 395
  • Joined: 30-March 20
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 30 October 2022 - 05:51 AM

You should try with a more recent (testing or unstable) version

#16 User is offline   Laci1959 

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

Posted 30 October 2022 - 07:40 AM

https://kephost.net/p/2022/43/8521_46e16db95ef0.png

It takes three lines to work. Two have already been mentioned.
The third must be in the Brake_Train block. I didn't mention this because it is already mentioned in the starting post of the thread. I was replying to @Darwins post and the Notch ( 0 0 TrainBrakesControllerOverchargeStart ) notch was already there.

#17 User is offline   Laci1959 

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

Posted 30 October 2022 - 09:34 AM

View PostWeter, on 30 October 2022 - 07:53 AM, said:

Wow
Where can i learn how to build tractive force tables that way?


EXCEL!!! EXCEL!!!

When saving, Save as > Other format, where the file type is Formatted text separated by spaces or Formatted text separated by tabs.
After saving, the XY.prn file must be opened and copied.

https://kephost.net/p/2022/43/5276_ce0700358b4e.png
"V43 Szili" (silicon diode) electric locomotive speed-torque characteristic curve.

#18 User is offline   Weter 

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

Posted 30 October 2022 - 09:42 AM

So, DOES ORTS ACCEPT this form of */eng-file code???

#19 User is offline   Laci1959 

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

Posted 30 October 2022 - 09:49 AM

[quote name='Weter' timestamp='1667151775' post='290186']
So, DOES ORTS ACCEPT this form of */eng-file code???

https://kephost.net/p/2022/43/4772_3be528b1c6b4.png


Opened with Notepad like this. Formatted text separated by tabs, saved.
I've been using it for years.

#20 User is offline   Keilen 

  • Apprentice
  • Group: Status: Active Member
  • Posts: 27
  • Joined: 12-March 19
  • Gender:Male
  • Simulator:OR & MSTS
  • Country:

Posted 01 November 2022 - 01:12 AM

Hello!

I owe you some answers:
1. I have inserted all the lines in the .eng file and the result is pretty much the same, in the sense that I am now more satisfied with the visualization of the ``overcharge`` pressure on the gauges, but in terms of the animation of the button that I have included in the cabin the result is null. It does not animate in any way.

@Wetter : Yes, I have 38 active controls in the cab and believe it or not, it is the cab with the fewest controls of those I have made; for example I have 64 active controls on an electric locomotive cab and 48 on a diesel-hydraulic locomotive cab. The reason ?... I wanted to have as many animations as possible in the OR to reduce significantly the difference, at least visually, from the current Train Simulator. It is only 2D cabs.

@cesarbl : I didn`t want to use any other version than the stable one because I expect that these achievements will be published on the specialized website in our country and I can`t afford to force the consumer to run the simulator on versions other than the stable one.

Thank you all!

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