Elvas Tower: Why are there only keyframe indexes from 1 - 10 for throttle levers in the 3D CabView animation calculated? - Elvas Tower

Jump to content

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

Why are there only keyframe indexes from 1 - 10 for throttle levers in the 3D CabView animation calculated? Rate Topic: -----

#11 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 24 February 2023 - 03:38 PM

View PostJonatan, on 24 February 2023 - 12:19 PM, said:

... Then I set the number of frames in the cvf to 100, the controls moved their full range with smooth motion. ...

Only for my understanding: where do set the number of frames in the *.cvf - in "NumFrames", "NumPositions" or "NumValues"?

#12 User is offline   Weter 

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

Posted 24 February 2023 - 08:43 PM

Hello.
I always thought, that 0 1 are range limits, either with MS- or OR- -TS.
It seems to me as very interesting assumption, about 100xValue/"second number".
But a have an answer (assumption too, though): this is needed for unification with combined controls description. (where we have splitted range for two controls)

If we go further, I'd think about brake handles, having general range and, inside it, some sub-ranges for some brake functions.

#13 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 24 February 2023 - 09:27 PM

View PostWeter, on 24 February 2023 - 08:43 PM, said:

...
It seems to me as very interesting assumption, about 100xValue/"second number"
.....
This is not only an assumption of mine. I've made many tests and finally an excell-table, witch proves the "100 x NotchValue/second value" in MSTS.

#14 User is offline   Weter 

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

Posted 24 February 2023 - 09:35 PM

Thanks.
Never expected something new there.
That's an important note, indeed.

What that table for, and what it does?

#15 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 24 February 2023 - 10:57 PM

View PostWeter, on 24 February 2023 - 09:35 PM, said:

...
What that table for, and what it does?

Hi Weter,

I had only created an Excel table for my exploration of the % values of the throttle lever that MSTS showed me on the screen. I used this table to analyze the throttle sequence from post #5, for example.

Excell-table:
Attached File  SecondValueInThrottleLine.zip (9.09K)
Number of downloads: 75

#16 User is offline   Weter 

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

Posted 24 February 2023 - 11:33 PM

Useful tool. Thanks.

#17 User is offline   QJ-6811 

  • Conductor
  • Group: Status: Active Member
  • Posts: 385
  • Joined: 27-December 15
  • Gender:Male
  • Simulator:MSTS / Open Rails
  • Country:

Posted 25 February 2023 - 12:53 AM

View Postjonas, on 24 February 2023 - 03:38 PM, said:

Only for my understanding: where do set the number of frames in the *.cvf - in "NumFrames", "NumPositions" or "NumValues"?



I don't know if this is what you mean and if it helps?
Example of a "29 notch throttle lever".

Attached File  29 notch throttle lever.txt (1.76K)
Number of downloads: 73

#18 User is offline   Weter 

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

Posted 25 February 2023 - 01:10 AM

Graphic naturally points the name of *.ace-file, which contains given control's image(s).

Num frames means how "graphic" image need to be sliced.
No necessity to use all frames then; also, some frames may not contain any image.
Notes:
1. Critical here, that ORTS parces horizontal and vertical numbers in different way, than MSTS does.
2. I suspect, tri-state graphics are hard-coded in ORTS, what is bad: cab authors often arrange frames vertically.

Num positions sets correspondence between cab control positions and frame numbers
(this is exact list of frames, which are needed to be used for this case)

Num values refers the thresholds within control's range, where previously-selected frames need to be changed.

#19 User is offline   Laci1959 

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

Posted 25 February 2023 - 09:40 AM

https://kephost.net/p/ODc1Mjcy.png

Hello.

A thought for the 20 positions. I created a 512×512 texture including 21 keyframes. I made it a little rough because I only wanted to depict the principle. The 20 levels in the eng file require keyframes from 1 to 20. Of course, in the cvf file, the individual positions must be assigned to the individual numbers. Since the 2d cab is not visible, it does not matter what it represents. If it is important, it is more difficult to prepare, but the principle is the same.

Sincerely, Laci 1959

#20 User is offline   jonas 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 548
  • Joined: 04-April 14
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 26 February 2023 - 01:06 PM

In the meantime it is also (again) possible for me to correctly display a large number of more than 10 throttle stages in 2D and 3D CabViews. Thanks again for the reminder about NumPositions and NumValues. Almost a bit embarrassing that my forgetting about it brought me to this "maybe it's a bug" topic here. I paused almost a year with working with TS things.
I looked it up and realized that my last work with the two NumValues was longer than 2018, when I built my previous 3D CabView. In fact, the last time I dealt with the NumValues was in a 2D-CabView some times before 2018.

In Jonatans post, only the wording

View PostJonatan, on 24 February 2023 - 12:19 PM, said:

...Then I set the number of frames in the cvf to 100, ...
made me wonder whether there is another specific parameter in *.cvf-files that can be used to explicitly set the "number of frames ". I might have forgotten or didn't know such a parameter. However, my guess was that he meant the set of "NumFrames, NumPositions, NumValues", but I was just curious to know further about a possible single parameter to which define the number of frames. Now I know there is no specific parameter that kind.

Based on the topic title here and a self-quote from post #9

View Postjonas, on 24 February 2023 - 11:53 AM, said:

...In OR, the notch values are always taken as absolute percentages ...
here my state of knowledge in a picture:
Attached Image: Throttle-Code.jpg
To what extent this also applies to brakes or other levers, I have not tested.

Greetings
jonas

  • 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