Combined power handle not functioning properly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • INRDfan
    Member
    • Aug 2012
    • 76

    #1

    Combined power handle not functioning properly

    Hello all,

    I have noticed what appears to be a glitch in Open Rails with a particular locomotive, and am unsure of how to go about solving it. My apologies if this has been noted already; I couldn't find it with a forum search.

    The issue is with the 3DTrainStuff Amtrak Genesis P42. When in the cab, the combined power handle will not move when key commands are pressed. Also, the dynamic brakes do not function properly using the keyboard. I have copied what looks like the relevant section from the .cvf file.

    CombinedControl (
    Type ( CP_HANDLE COMBINED_CONTROL )
    Position ( 319 261 53 146 )
    Graphic ( 3DTS_p42_PowerHandle.ACE )
    Style ( NONE )
    MouseControl ( 1 )
    NumFrames ( 16 8 2 )
    NumPositions ( 18 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 )
    NumValues ( 18 0 0.0625 0.125 0.1875 0.25 0.3125 0.375 0.4375 0.5 0.55555 0.6111 0.66665 0.7222 0.77775 0.8333 0.88885 0.9444 0.99995 )
    Orientation ( 1 )
    DirIncrease ( 1 )

    And below here is a section of the .eng file...

    EngineControllers (
    Throttle ( 0 1 0.125 0
    NumNotches ( 9
    Notch ( 0 0 Dummy )
    Notch ( 0.125 0 Dummy )
    Notch ( 0.25 0 Dummy )
    Notch ( 0.375 0 Dummy )
    Notch ( 0.5 0 Dummy )
    Notch ( 0.625 0 Dummy )
    Notch ( 0.75 0 Dummy )
    Notch ( 0.875 0 Dummy )
    Notch ( 1 0 Dummy )
    )
    )
    Brake_Engine ( 0 1 0.0125 0
    NumNotches ( 1
    Notch( 0 1 Dummy )
    )
    )
    Brake_Train ( 0 1 0.0125 0.35
    NumNotches ( 5
    Notch( 0 0 TrainBrakesControllerReleaseStart )
    Notch( 0.3 1 TrainBrakesControllerGraduatedSelfLapLimitedHoldin gStart )
    Notch( 0.85 0 TrainBrakesControllerSuppressionStart )
    Notch( 0.9 0 TrainBrakesControllerContinuousServiceStart )
    Notch( 0.95 0 TrainBrakesControllerEmergencyStart )
    )
    )
    Brake_Dynamic ( 0 1 0.1111 0
    NumNotches ( 10
    Notch ( 0 0 Dummy )
    Notch ( 0.1111 1 Dummy )
    Notch ( 0.2222 1 Dummy )
    Notch ( 0.3333 1 Dummy )
    Notch ( 0.4444 1 Dummy )
    Notch ( 0.5555 1 Dummy )
    Notch ( 0.6666 1 Dummy )
    Notch ( 0.7777 1 Dummy )
    Notch ( 0.8888 1 Dummy )
    Notch ( 0.9999 1 Dummy )
    )
    )

    Combined_Control( 0 1 0.5 0.5 throttle dynamic )
    DirControl ( -1 0 1 1 )


    Thanks for reading, any assistance is appreciated!
  • csantucci
    Senior Member
    • Nov 1999
    • 856
    • Torino, Italy.

    #2
    The problem here is that NumPositions refers to 18 different frame numbers ( 0 to 17), however Numframes is only 16, so there is an incoherence.
    If as a comparison you look at the standard dash9.cvf file, you will notice that Numpositions refers to 18 frame numbers too, but Numframes is 18. In fact also in your case, with the number of notches the engine has, 18 frames should be necessary.
    First of all, opening 3DTS_p42_PowerHandle.ACE, you should check whether it effectively only has 16 positions. If it unfortunately does, the only solution I see is to assign 2 frames to two notches each. You may select which ones. Here an example:
    NumPositions ( 16 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 )
    NumValues ( 18 0 0.0625 0.1875 0.25 0.3125 0.4375 0.5 0.55555 0.6111 0.66665 0.7222 0.77775 0.8333 0.88885 0.9444 0.99995 )
    In this case there are two couples of throttle notches that are each assigned to a single frame.
    I haven't tested it, but I think it should work.
    Last edited by csantucci; 05-22-2017, 01:52.
    sigpic

    Comment

    Working...