linuxgurugamer / KCT

Kerbal Construction Time - An addon for Kerbal Space Program
GNU General Public License v3.0
11 stars 15 forks source link

After part edit the value hdId in MODULE HardDrive is changed to a random number #16

Closed Gordon-Dry closed 5 years ago

Gordon-Dry commented 5 years ago

... which renders the part useless.

Loading the craft, editing and saving it does not help, the changed value persists.

The ModuleCommand (or any other module which is used for experiments and storing the results) has to be replaced in VAB or the value has to be changed with a text editor inside the craft file.

Example:

After saving the craft file initially (or normalliy editing in VAB and overwriting it) the part which is ModuleCommand contains:

    {
        name = HardDrive
        isEnabled = True
        hdId = 0
        stagingEnabled = True
        EVENTS
        {
        }
        ACTIONS
        {
        }
        UPGRADESAPPLIED
        {
        }
    }

and after editing it with KCT it's

    {
        name = HardDrive
        isEnabled = True
        hdId = 2716355813
        stagingEnabled = True
        EVENTS
        {
        }
        ACTIONS
        {
        }
        UPGRADESAPPLIED
        {
        }
    }
Gordon-Dry commented 5 years ago

Cross reference: https://github.com/Kerbalism/Kerbalism/issues/397

SirMortimer commented 5 years ago

that issue has no place on this project, it's purely kerbalism. please close this.

Gordon-Dry commented 5 years ago

Okay.