Elvas Tower: Cabview - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cabview Wot does this mean Rate Topic: -----

#1 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 179
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 09 March 2022 - 08:58 PM

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 )

#2 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,774
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 09 March 2022 - 09:12 PM

Front window ace file
left window ace file
right window ace file

#3 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 179
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 09 March 2022 - 11:44 PM

View Postengmod, on 09 March 2022 - 09:12 PM, said:

Front window ace file
left window ace file
right window ace file


Whats the dirrence betwee
GP38frnt.ace and AcWndFrn.ace
or
GP38Frnt Ace and ""

#4 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,774
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

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

#5 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,238
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

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

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 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 179
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 10 March 2022 - 02:54 PM

View Postdarwins, 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

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 User is online   Weter 

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

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.

Page 1 of 1
  • 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