In the Cabview File (GP38.cvf)
Wot are the 3 items marked ==================<< mean
I see in some file they are in as ""
Is it a second cab? Thanks
Tr_CabViewFile (
CabViewType ( 2 )
CabViewFile ( GP38Frnt.ace )
CabViewWindow ( 43 0 597 412 )
CabViewWindowFile ( AcWndFrn.ace ) ===========================<<<
Position ( 1 3.7 6 )
Direction ( 10 0 0 )
CabViewFile ( GP38Left.ace )
CabViewWindow ( 0 0 640 301 )
CabViewWindowFile ( AcWndLft.ace ) ===========================<<<
Position ( 1 3.7 6 )
Direction ( 10 -77.35 0 )
CabViewFile ( GP38Right.ace )
CabViewWindow ( 20 0 589 430 )
CabViewWindowFile ( AcWndRgt.ace ) ===========================<<<
Position ( 1 3.7 6 )
Direction ( 10 84.22 0 )
EngineData ( GP38 )
Page 1 of 1
Cabview Wot does this mean
#2
Posted 09 March 2022 - 09:12 PM
Front window ace file
left window ace file
right window ace file
left window ace file
right window ace file
#3
Posted 09 March 2022 - 11:44 PM
#4
Posted 10 March 2022 - 02:43 AM
>GP38frnt.ace
A picture of the inside front of a gp38
AcWndFrn.ace
A test picture
I had a look at the files with tgatool2a.exe
A picture of the inside front of a gp38
AcWndFrn.ace
A test picture
I had a look at the files with tgatool2a.exe
#5
Posted 10 March 2022 - 02:58 AM
You can leave those lines blank.
They were used by early versions of MSTS. You had to specify where the transparency was going to be in order to save computer graphics power on older computers.
This was the purpose of CabViewWindow ( 20 0 589 430 ) with which they work.
They are not needed in ORTS. I have just replaced
with
and everything still works fine.
They were used by early versions of MSTS. You had to specify where the transparency was going to be in order to save computer graphics power on older computers.
This was the purpose of CabViewWindow ( 20 0 589 430 ) with which they work.
They are not needed in ORTS. I have just replaced
CabViewFile ( "../../MT_Common.Cabs/Class44cab/Front_1024.ace" ) CabViewWindow ( 0 0 640 480 ) CabViewWindowFile ( ../../MT_Common.Cabs/Class44cab/Front_1024.ace ) Position ( -0.9 2.9 7.7 ) Direction ( 8 0 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/left.ace" ) CabViewWindow ( 0 0 640 480 ) CabViewWindowFile ( "" ) Position ( -1 2.8 6.2 ) Direction ( 0 -45 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/right.ace" ) CabViewWindow ( 0 0 640 480 ) CabViewWindowFile ( "" ) Position ( 0 2.9 6.2 ) Direction ( 2 80 0 )
with
CabViewFile ( "../../MT_Common.Cabs/Class44cab/Front_1024.ace" ) Position ( -0.9 2.9 7.7 ) Direction ( 8 0 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/left.ace" ) Position ( -1 2.8 6.2 ) Direction ( 0 -45 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/right.ace" ) Position ( 0 2.9 6.2 ) Direction ( 2 80 0 )
and everything still works fine.
#6
Posted 10 March 2022 - 02:54 PM
darwins, on 10 March 2022 - 02:58 AM, said:
You can leave those lines blank.
They were used by early versions of MSTS. You had to specify where the transparency was going to be in order to save computer graphics power on older computers.
This was the purpose of CabViewWindow ( 20 0 589 430 ) with which they work.
They are not needed in ORTS. I have just replaced
with
and everything still works fine.
They were used by early versions of MSTS. You had to specify where the transparency was going to be in order to save computer graphics power on older computers.
This was the purpose of CabViewWindow ( 20 0 589 430 ) with which they work.
They are not needed in ORTS. I have just replaced
CabViewFile ( "../../MT_Common.Cabs/Class44cab/Front_1024.ace" ) CabViewWindow ( 0 0 640 480 ) CabViewWindowFile ( ../../MT_Common.Cabs/Class44cab/Front_1024.ace ) Position ( -0.9 2.9 7.7 ) Direction ( 8 0 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/left.ace" ) CabViewWindow ( 0 0 640 480 ) CabViewWindowFile ( "" ) Position ( -1 2.8 6.2 ) Direction ( 0 -45 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/right.ace" ) CabViewWindow ( 0 0 640 480 ) CabViewWindowFile ( "" ) Position ( 0 2.9 6.2 ) Direction ( 2 80 0 )
with
CabViewFile ( "../../MT_Common.Cabs/Class44cab/Front_1024.ace" ) Position ( -0.9 2.9 7.7 ) Direction ( 8 0 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/left.ace" ) Position ( -1 2.8 6.2 ) Direction ( 0 -45 0 ) CabViewFile ( "../../MT_Common.Cabs/Class44cab/right.ace" ) Position ( 0 2.9 6.2 ) Direction ( 2 80 0 )
and everything still works fine.
Thanks for that, I have removed the redundant lines
#7
Posted 11 March 2022 - 09:45 AM
Hello.
Little addition:
Besides that reason (shortening of screen area, where 3d-rendering must take place) which was for decreasing computing demands,
I've read somewhere, that it was intended to implement weather effects, like snowflakes or raindrops on windshields, as well as wipers work, using those window masks.
Little addition:
Besides that reason (shortening of screen area, where 3d-rendering must take place) which was for decreasing computing demands,
I've read somewhere, that it was intended to implement weather effects, like snowflakes or raindrops on windshields, as well as wipers work, using those window masks.
Page 1 of 1