Elvas Tower: Pantographs - Elvas Tower

Jump to content

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

Pantographs Pantographs Rate Topic: -----

#1 User is offline   Howky 

  • Fireman
  • Group: Status: Active Member
  • Posts: 247
  • Joined: 14-February 13
  • Gender:Male
  • Location:Czech Republic
  • Simulator:Open Rails
  • Country:

Posted 07 September 2015 - 12:25 PM

Another question dysfunctional animation switches pantographs in cab.
Bug Open rails nebo Open rails still can not work with pantographs multi.
In MSTS ok

MultiState (
Type ( PANTOGRAPHS_5 TRI_STATE )
Position ( 135 383 40 30 )
Graphic ( "..//..//common.cab//cab150//150002_sberace5.ace" )
NumFrames ( 5 5 1 )
Style ( NONE )
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)



http://s26.postimg.org/5x2gp8no5/image.jpg http://s26.postimg.org/oqo9m8lw5/image.jpg

#2 User is offline   Howky 

  • Fireman
  • Group: Status: Active Member
  • Posts: 247
  • Joined: 14-February 13
  • Gender:Male
  • Location:Czech Republic
  • Simulator:Open Rails
  • Country:

Posted 16 September 2015 - 07:26 AM

Nobody?

#3 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,001
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 16 September 2015 - 09:22 AM

While Pantograph_5 is recognized by OR, PantographsToggle_5, to be inserted in the .eng file, isn't recognized. Maybe this is the cause.
By the way I don't understand why a TRI_STATE control should be used there, because the states are 4.

#4 User is offline   Howky 

  • Fireman
  • Group: Status: Active Member
  • Posts: 247
  • Joined: 14-February 13
  • Gender:Male
  • Location:Czech Republic
  • Simulator:Open Rails
  • Country:

Posted 16 September 2015 - 11:23 AM

Becasues series locomotions 150/1 have :

P+Z Z 0 P P+Z - Positions :)


P - front pantograph
Z - rear pantograph
P+Z front pantograph + rear pantograph
0 - none

:)

#5 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,001
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 16 September 2015 - 12:00 PM

That's four states. How can you represent that with a TRI_STATE?

#6 User is offline   Howky 

  • Fireman
  • Group: Status: Active Member
  • Posts: 247
  • Joined: 14-February 13
  • Gender:Male
  • Location:Czech Republic
  • Simulator:Open Rails
  • Country:

Posted 16 September 2015 - 01:17 PM

Because use 2 panto .

#7 User is offline   Howky 

  • Fireman
  • Group: Status: Active Member
  • Posts: 247
  • Joined: 14-February 13
  • Gender:Male
  • Location:Czech Republic
  • Simulator:Open Rails
  • Country:

Posted 16 September 2015 - 01:25 PM

http://s26.postimg.org/dof1tfjdh/panto.jpg

#8 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,001
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 16 September 2015 - 11:50 PM

Can you attach here 150002_sberace5.ace ?

#9 User is offline   hroch 

  • Fireman
  • Group: Status: Active Member
  • Posts: 198
  • Joined: 05-June 14
  • Gender:Male
  • Simulator:MSTS OR
  • Country:

Posted 17 September 2015 - 12:21 AM

Hi
The cabview download http://skura.msts.cz/jirka.html
TRI_STATE probably trick of autor bin, when implement in MSTS.

Attached File(s)



#10 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,001
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 17 September 2015 - 05:21 AM

Within this
MultiState (
Type ( PANTOGRAPHS_5 TRI_STATE )
Position ( 135 383 40 30 )
Graphic ( "..//..//common.cab//cab150//150002_sberace5.ace" )
NumFrames ( 5 5 1 )
Style ( NONE )
MouseControl ( 1 )
Orientation ( 0 )
DirIncrease ( 1 )
)

change MultiState to TriState, and things will work. Only problem, there is only one P+Z position. Having two P+Z positions depending from the preceding position requires a change in code. In fact there is a comment in the code
if (Pantographs[1].State == PantographState.Up && Pantographs[2].State == PantographState.Up)
                            data = 0; // TODO: Should be 0 if the previous state was Pan2Up, and 4 if that was Pan1Up


  • 2 Pages +
  • 1
  • 2
  • 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