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
Pantographs Pantographs
#3
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.
By the way I don't understand why a TRI_STATE control should be used there, because the states are 4.
#4
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
:)
P+Z Z 0 P P+Z - Positions :)
P - front pantograph
Z - rear pantograph
P+Z front pantograph + rear pantograph
0 - none
:)
#5
Posted 16 September 2015 - 12:00 PM
That's four states. How can you represent that with a TRI_STATE?
#9
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.
The cabview download http://skura.msts.cz/jirka.html
TRI_STATE probably trick of autor bin, when implement in MSTS.
Attached File(s)
-
Manual_eng.doc (1008K)
Number of downloads: 1212
#10
Posted 17 September 2015 - 05:21 AM
Within this
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
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