How do I add an overcharge button?
#11
Posted 30 October 2022 - 02:18 AM
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
Posted 30 October 2022 - 02:36 AM
Otherwise, overcharge elimination would cause unwanted brake application (it's rate should be slower, than softness value, for preventing that effect)
#13
Posted 30 October 2022 - 04:55 AM
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.
#14
Posted 30 October 2022 - 05:16 AM
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
Which of? Manometers? If You enter the limit beyond 6.3 bar - then yes.
#15
Posted 30 October 2022 - 05:51 AM
#16
Posted 30 October 2022 - 07:40 AM
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
Posted 30 October 2022 - 09:34 AM
Weter, on 30 October 2022 - 07:53 AM, said:
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
Posted 30 October 2022 - 09:42 AM
#19
Posted 30 October 2022 - 09:49 AM
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
Posted 01 November 2022 - 01:12 AM
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!