FractalUK / KSPInterstellar

KSP Instellar Mod for Kerbal Space Program
115 stars 69 forks source link

[solved] Can't log magnetometer data #46

Closed shrx closed 10 years ago

shrx commented 10 years ago

UPDATE The title was wrong, I wanted to say that I can't Log Magnetopsheric Data, not collect it.

I have put a Dual Technique Magnetometer on my satellite. I can only activate or deactivate the sensor, I can't collect log the science data. I've looked in my persistent.sfs and it looks like this:

                MODULE
                {
                    name = ModuleScienceExperiment
                    isEnabled = True
                    Deployed = False
                    Inoperable = False
                    EVENTS
                    {
                        DeployExperiment
                        {
                            active = False
                            guiActive = True
                            guiIcon = Deploy
                            guiName = Log Magnetopsheric Data
                            category = Deploy
                            guiActiveUnfocused = False
                            unfocusedRange = 2
                            externalToEVAOnly = True
                        }

I changed the active = False in DeployExperiment to active = True in my quicksave.sfs and reloaded the saved game but it had no effect. Any suggestions?

confusingbits commented 10 years ago

The problem lies in the part config. Here's is a corrected version.

https://github.com/WaveFunctionP/KSPInterstellar/blob/master/GameData/WarpPlugin/Parts/Utility/DTMagnetometer/part.cfg

In particular

dataIsCollectable = True collectActionName = Take Data interactionRange = 1.2

I'm not sure exactly how to edit the save file to correct the issue directly.

shrx commented 10 years ago

Sorry for the confusion. I actually meant that I can't Log Magnetopsheric Data, not collect it. As in, there is no Log Magnetopsheric Data button in the magnetometer's menu. I will edit the question.

confusingbits commented 10 years ago

Are you sure that you are a place where you log data and that your vessel is still powered and you have command? Do any context menu buttons show up, cause that is a ksp bug as well.

shrx commented 10 years ago

The screenshots I linked to in the question (1, 2) are taken from a 700 km high circular orbit around Kerbin. Should the sensor work here? This is the first time I tried to use this sensor, I've only just started with the Interstellar mod.

shrx commented 10 years ago

Small follow up: I started a completely new game with only KSP Interstellar mod v0.11 installed. I edited the save file to get some science to research the magnetometer sensor and launched two spacecrafts with it, one in ~70 km and one in ~900 km orbit around kerbin. I still can't log magnetospheric data from any of them. Here is the save file if it's of any help: https://www.dropbox.com/s/igp6136pwtfrnhj/megnetotest.zip

confusingbits commented 10 years ago

Strange. It should say "Log Magnetospheric Data" on the button. I would suggest deleting the old warpplugin folder, downloading the mod, and placing it in gamedata again.

shrx commented 10 years ago

No luck, this new game is with a freshly downloaded mod from the official forum page. I've also tried assigining data logging to an action group but it still doesn't work.

confusingbits commented 10 years ago

I've seen corrupted installs before. You may need to reinstall if you don't have clean install to copy.

To be clear you don't have any plugins in game directory other than the gamedata folder do you? Third party plugins should go into the gamedata folder, not the plugins/parts/ships folders.

shrx commented 10 years ago

OK, will try this.

shrx commented 10 years ago

You were right, it looks my game files got corrupted somehow. Redownloaded the game from steam and now it works.

confusingbits commented 10 years ago

Awesome! Have fun. :)