- Symulator MaSzyna -

MaSzyna International => EU07 Simulator English forum => Wątek zaczęty przez: Stratula w 13 Kwietnia 2021, 20:46:21

Tytuł: Changing the motor connections of ET42
Wiadomość wysłana przez: Stratula w 13 Kwietnia 2021, 20:46:21
Good afternon.
Recently I tried the ET42. I read the manual, namely part about changing the motor connections, but I can not do it in the game. Maybe there were some changes that are not listed in the manual yet?
Best regards, Boris.
Tytuł: Odp: Changing the motor connections of ET42
Wiadomość wysłana przez: jakubg1 w 13 Kwietnia 2021, 20:47:57
Press Ctrl + F while your main controller position is in idle position.
Tytuł: Odp: Changing the motor connections of ET42
Wiadomość wysłana przez: Stratula w 13 Kwietnia 2021, 20:51:32
Should there be any sound when pressing ctrl + f? I hear nothing.
Tytuł: Odp: Changing the motor connections of ET42
Wiadomość wysłana przez: Stratula w 13 Kwietnia 2021, 20:55:39
jakubg1, thank you for the hint!
It turnd out that the reverser should be in neutral position too.
Such a pity there is no sound while pressing ctrl + f.
Boris.
Tytuł: Odp: Changing the motor connections of ET42
Wiadomość wysłana przez: Stele w 13 Kwietnia 2021, 20:58:56
Strange. It doesn't have animated switch anywhere, so we can't link dedicated sounds to it, but default switch sound still should be played.
Tytuł: Odp: Changing the motor connections of ET42
Wiadomość wysłana przez: Stratula w 13 Kwietnia 2021, 21:05:07
For the moment I thought I could hear the sound, but no, it was my squeaking keyboard.
Tytuł: Odp: Changing the motor connections of ET42
Wiadomość wysłana przez: Stele w 13 Kwietnia 2021, 21:29:26
Got it. It's vehicle specific usage of command  motoroverloadrelaythresholdtoggle that lacks call to method setting gauge animation.
Kod: ("mover.cpp 3664) [Zaznacz]
void TTrain::OnCommand_motoroverloadrelaythresholdtoggle( TTrain *Train, command_data const &Command ) {

    if( Command.action == GLFW_PRESS ) {
        // only reacting to press, so the switch doesn't flip back and forth if key is held down
        if( ( true == Train->mvControlled->ShuntModeAllow ?
                ( false == Train->mvControlled->ShuntMode ) :
                ( Train->mvControlled->Imax < Train->mvControlled->ImaxHi ) ) ) {
            // turn on
            OnCommand_motoroverloadrelaythresholdsethigh( Train, Command );
++Train->ggMaxCurrentCtrl.UpdateValue( 1.0, Train->dsbSwitch );
        }
        else {
            //turn off
            OnCommand_motoroverloadrelaythresholdsetlow( Train, Command );
--Train->ggMaxCurrentCtrl.UpdateValue( 0.0, Train->dsbSwitch );
        }
    }
}
should do if I'm reading it correctly. Will be fixed in future release.