Inserting cabview controls in side views of 2D cabs
#12
Posted 14 November 2021 - 12:07 AM
We have some cabview folders with variants of *.ace-files for it's side views.
So can we specify controls&gauges as
ORTSCabViewpoint ( n )
Where n is not restricted to be 1 or 2 only?
#13
Posted 14 November 2021 - 12:43 AM
Clearly you have to add at the top of the .cvf file, before the EngineData() line, a block like the following one for each added cabviewpoint
CabViewFile ( GP38Right.ace ) Position ( 1 3.7 6 ) Direction ( 10 84.22 0 )
#14
Posted 14 November 2021 - 01:09 AM
Look, Carlo:
I have just remembered one cabview for our famous locomotive wth double cabs.
It's feature was "right" viewpoint (it was designed at pre-MSTS-bin days), which represented central view from the backward cabin.
Certainly, it included all levers and needles (as opposed to "active" front cab's main picture, where all of that was deleted for further animated *ace's to overlay) so that backward cab was "static".
So, now, we can substitute it by an "active" variant and set-back our locomotive without actual cab-change command?
i.e. change control stand for a while by just cycling viewpoints via right/left arrow keys instead of performing complete "procedure for abandoning the cab", then pressing Ctrl+E, what will swap the track monitor as well... and after that - doing all that again for returning to previous cab...
I would say, as well, about another feature... but now - the feature of the real locomotive:
it has a "Maneure" button, bringing it's power unit to Run1 state while pressed, moving a vehicle to pre-selected (by the reverser) direction carefully.
The button is easyly accessible when the driver stucked from his side window, while performing, e.g. coupling/uncoupling maneurers.
So, thanking Your efforts, we can have such functionality at ORTS now.
Thank you one more (but not the last - I'm sure about that) time!
#16
Posted 14 November 2021 - 01:33 AM
1. At your code sample i can't see CabVieWindowFile block.
So far is it not needed?
2. Must the block ORTSCabViewpoint ( n ) to be just as it wrote, or must it include in braces all of it's related control's code, as
ORTSCabViewpoint( n Cab_Control's_Type This control's purpose () position/size () graphics () num frames () num positions () etc.etc.etc. )
#17
Posted 14 November 2021 - 02:12 AM
ORTSCabViewpoint ( n ) must be inserted INSIDE every cabview control that must be enabled in CabViewpoint n, and not at top of the list of such controls.
Example:
TwoState ( Type ( HORN TWO_STATE ) Position ( 106 125 30 21 ) Graphic ( Horn.ace ) NumFrames ( 2 2 1 ) Style ( ONOFF ) MouseControl ( 1 ) ORTSCabviewpoint ( 1 ) )
#18
Posted 14 November 2021 - 03:39 AM
a bit off-top:
#19
Posted 01 December 2021 - 09:08 PM
#20
Posted 24 January 2022 - 06:22 AM
#21
Posted 03 February 2022 - 01:03 AM
The front view is the view along the tender backwards.
The left view is the original front view and the right view is again a view along the tender backwards, but on the stoker man side.
All elements were moved to the left view (ex front) using the parameter ORTSCabviewpoint (1), but it does not work for one.
Coincidentally, this is a typical element of steam locomotives - a firebox.
The usual code entry is:
Firebox ( Type ( FIREBOX FIREBOX ) Position ( 1 350 80 128 ) Graphic ( "fire.ace" ) FuelCoal ( "coal.ace" ) )
Would it also be possible to include this element in the control with the ORTSCabviewpoint (1) parameter?
In the meantime, I helped with the static texture of fire.ace and the spare workaround:
Lever ( Type ( FIREBOX FIREBOX ) Position ( 1 350 80 128 ) Graphic ( "fire.ace" ) Style ( NONE ) NumFrames ( 1 1 1 ) NumPositions ( 0 ) ORTSCabviewpoint ( 1 ) )
#22
Posted 03 February 2022 - 07:32 AM
#23
Posted 07 February 2022 - 01:01 AM
Csantucci, on 03 February 2022 - 07:32 AM, said:
I also plead for the DialClock parameter. It doesn't work properly either.
I use it, for example, for historical registration speedometers (Hasler Bern)
#24
Posted 07 February 2022 - 04:54 AM
#25
Posted 22 May 2022 - 10:00 AM
I am working now on a 2D cockpit that has a clock (DialClock) on the right display. I have inserted the line ORTSCabviewpoint ( 3 ), corresponding to the right screen, but the additional control is displayed in the front cockpit. I am using OR New Year MG 1.4-237 rev. 119 and it does not work.
What am I doing wrong? Thank you.