New Assigning a thruster to a signal switch that is off will break the thruster's torque contribution

Discussion in 'Bugs' started by Garaman, Oct 25, 2020.

  1. Garaman

    Garaman Lieutenant

    Aug 23, 2020
    Likes Received:
    Build: 3135
    Mode: Creative
    Mode: Single Player

    Reproducibility: Always
    Severity: Minor

    Type: Signals

    Summary: Any thrusters that are assigned to turn on/off with a signal switch will have zero torque contribution if the signal switch is off when either the thruster is bound to it, or when the game is loaded with the switch in the off state.

    There is a case when you are using signal switches to control thruster activation that can result in the thruster providing lateral thrust when activated, but providing no torque contribution for rotating this ship. This can be verified by looking in the statistics panel and noting a zero torque contribution from the thrusters even though they are on. This also affects ships during game load as detailed in the steps below.

    Steps to Reproduce:

    1) In a creative orbit game, load the attached blueprint and fuel it. This CV has 4 engines, with two facing forward and two facing backward. You should be able to move the ship forward and backward and rotate it side-to-side.

    2) Now bring up the control panel. There is a custom signal switch labeled "Thruster Power". Verify that it is off.

    3) In the Signal Logic tab, assign all four thrusters' On/Off inputs to the "Thruster Power" signal. This should disable each thruster in turn.

    4) Close the control panel. Verify that the thrusters are off, and you have no lateral or rotational movement.

    5) Open the control panel and activate the "Thruster Power" signal switch. You can now move the ship forward and backward, but there is still zero torque contribution so the ship will not rotate. Toggling the "Thruster Power" signal switch, the "Thrusters" main switch, or the "Power" switch does not restore any torque capability.

    6) Now set the control panel to the following state: "Power" on, "Thruster Power" signal off. Close the game and restart it. Note that the ship is still in this broken state with no torque after you turn the thrusters back on.

    7) Repeat step 6, but leave the "Thruster Power" signal active before restarting. When you restart the game, the thrusters will be fully operational. At this point toggling the signal switch or the main "Thrusters" switch will disable lateral movement of the engines correctly, though in both cases the thrusters will still provide torque so you can rotate the ship.

    There is likely a second bug here detailed in step 7 where disabled thrusters still allow the ship to be rotated. This is observable with any ship by simply turning the main thruster switch off.

    Update: I changed the language from "RCS contribution" to "torque contribution". I incorrectly use the two terms interchangeably, but I want to clarify that this is not related to RCS devices.


    Attached Files:

    Last edited: Oct 27, 2020
  2. Khaleg

    Khaleg Lieutenant

    Nov 5, 2020
    Likes Received:
    I can confirm this, but the behavior for fixing it was a little different. There was no a linked switch in the main control panel, the thrusters were linked to a manual switch inside the HV cockpit. In order to fix it, I had to go to the main control panel, devices and select every thruster, and disable and enable individually each thruster, while still were controlled by the switch in the cockpit.

    After "refreshing" the activation state of each thruster in control panel, the HV was able to rotate again, when the cockpit switch was on, of course.

    All this was tested with this HV:
    Kriel-Tengu by jrandall (jrandall if you read this, I love your designs, you are doing a great and talented job, thanks so much)

    I do not when or how the problem was triggered, I normally leave all HVs / SVs / CVs with the thrusters off before saving the game and exiting.

    I see that there is no connection between the state of switches in control panel and the physicalized switches (switches objects) that we can use, and I think this is not consistent. If a device is linked to a physical switch, the state of the switch in control panel, should be in sync with the physical switch, and the inverse is true too. I do not see this sync happening, or not in all cases at least.
    Germanicus likes this.
  3. Khaleg

    Khaleg Lieutenant

    Nov 5, 2020
    Likes Received:

    Here is a save game in which this issue happens.

    You will be inside the hangar of the Kriel Overseer. Turn to your left about 60 degrees go to the Kriel-Tengu HV, enter, press Y to power on the HV, at the left of the pilot seat, just before the seat, it is the Thruster power switch, enable it, take the control of the HV, press space to undock, you will see that you are junable to turn the HV. Now go to the HV's control panel, select each thruster, disable and enable each one. Test again, now you will see that your are able to turn.

    If you save the game in this situation, it will work, but... If you disconnect again the power switch on the left of the pilot seat, power the HV off, and save the game, the problem is there again after loading.

    The save game file:

Share This Page