Jump to content

[1.8.1 - 1.12.5] Interstellar Fuel Switch (IFS) 3.29.5


FreeThinker

Recommended Posts

6 minutes ago, FreeThinker said:

@cicatrix Damn, I wasn't aware there was a problem. I need a well repeatable scenario on how to repeat the problem

Does my rover from my initial post get loaded normally at your machine? Because it doesn't at mine.

Each pair of tanks it has has different fuel setup (LqdAmmonia, Hydrazine, Hydrogen, Nitrogen, Water).

When it loads all tanks are loaded with hydrogen for some reason, except one. And whereas the .craft is saved with empty tanks, it is loaded with full.

Link to comment
Share on other sites

6 minutes ago, cicatrix said:

Does my rover from my initial post get loaded normally at your machine? Because it doesn't at mine.

Each pair of tanks it has has different fuel setup (LqdAmmonia, Hydrazine, Hydrogen, Nitrogen, Water).

When it loads all tanks are loaded with hydrogen for some reason, except one. And whereas the .craft is saved with empty tanks, it is loaded with full.

I loaded it, but I'm not sure what it is supposed to be, I see 1 big Hydrazine, 8 medium hydrogen, 2 amonia. most hydrogentanks are empty

Edited by FreeThinker
Link to comment
Share on other sites

1 hour ago, FreeThinker said:

I loaded it, but I'm not sure what it is supposed to be, I see 1 big Hydrazine, 8 medium hydrogen, 2 amonia. most hydrogentanks are empty

If you load the craft into notepad you'll see it should also have water tanks and nitrogen tanks:

MODULE
	{
		name = InterstellarFuelSwitch
		isEnabled = True
		selectedTankSetup = 14
		inFlightTankSetup = -1
		configuredAmounts = 0,
		configuredFlowStates = True,
		selectedTankSetupTxt = Water
		configLoaded = True
		initialTankSetup = LqdHydrogen
		storedVolumeMultiplier = 1
		storedMassMultiplier = 1
		traceBoiloff = False
		stagingEnabled = True
		EVENTS
		{
		}
		ACTIONS
		{
		}
		UPGRADESAPPLIED
		{
		}
	}

...

MODULE
	{
		name = InterstellarFuelSwitch
		isEnabled = True
		selectedTankSetup = 12
		inFlightTankSetup = -1
		configuredAmounts = 0,
		configuredFlowStates = True,
		selectedTankSetupTxt = Liquid Nitrogen
		configLoaded = True
		initialTankSetup = LqdHydrogen
		storedVolumeMultiplier = 1
		storedMassMultiplier = 1
		traceBoiloff = False
		stagingEnabled = True
		EVENTS
		{
		}
		ACTIONS
		{
		}
		UPGRADESAPPLIED
		{
		}
	}

I attached the log file from the process before.

I can give you my save when I return home, but I'm afraid I'm using too many mods. 

The problem is that after upgrade existing crafts that have interstellar fuel tanks changed fuel type. I even tried to manually edit them in the save game but when any of those ships are loaded into the flight scene, the tanks get re-fuelled with LqdHydrogen again (even though their initial setup was for differen fuel - hydrazine mostly).

Edited by cicatrix
Link to comment
Share on other sites

@cicatrix Well this was totally not my intention. The goal was to make it more reliable ,, not less

For the moment I change my adviced version to the previous version

11 minutes ago, cicatrix said:

If you load the craft into notepad you'll see it should also have water tanks and nitrogen tanks:


MODULE
	{
		name = InterstellarFuelSwitch
		isEnabled = True
		selectedTankSetup = 14
		inFlightTankSetup = -1
		configuredAmounts = 0,
		configuredFlowStates = True,
		selectedTankSetupTxt = Water
		configLoaded = True
		initialTankSetup = LqdHydrogen
		storedVolumeMultiplier = 1
		storedMassMultiplier = 1
		traceBoiloff = False
		stagingEnabled = True
		EVENTS
		{
		}
		ACTIONS
		{
		}
		UPGRADESAPPLIED
		{
		}
	}

...

MODULE
	{
		name = InterstellarFuelSwitch
		isEnabled = True
		selectedTankSetup = 12
		inFlightTankSetup = -1
		configuredAmounts = 0,
		configuredFlowStates = True,
		selectedTankSetupTxt = Liquid Nitrogen
		configLoaded = True
		initialTankSetup = LqdHydrogen
		storedVolumeMultiplier = 1
		storedMassMultiplier = 1
		traceBoiloff = False
		stagingEnabled = True
		EVENTS
		{
		}
		ACTIONS
		{
		}
		UPGRADESAPPLIED
		{
		}
	}

 

Hey, where are the resources declarations?

Edited by FreeThinker
Link to comment
Share on other sites

9 minutes ago, FreeThinker said:

@cicatrix Well this was totally not my intention. The goal was to make it more reliable ,, not less

For the moment I change my adviced version to the previous version

Hey, where are the resources declarations?

 

I did not include them, but they're there (you can see them in the .craft file):

RESOURCE
    {
        name = Water
        amount = 0
        maxAmount = 8400
        flowState = True
        isTweakable = True
        hideFlow = False
        isVisible = True
        flowMode = Both
    }

...

RESOURCE
    {
        name = LqdNitrogen
        amount = 0
        maxAmount = 8400
        flowState = True
        isTweakable = True
        hideFlow = False
        isVisible = True
        flowMode = Both
    }

 

Edited by cicatrix
Link to comment
Share on other sites

@cicatrix  Alright, after analyzing the you log, I beginning to understand what is going wrong. somehow, the default resource is comming back from the grave which depending on is name create more or less havoc, I need to keep him back in the coffin.

This also explains why stock tanks with IFS don't have this problem so much, LiquidFuel is reasonbly high in the list, only Xenon tanks might get messed up..

18 hours ago, th3AddY said:

Would be nice if anyone found a solution for that :)

Now that I understand what is going wrong, I also know a hack to foce it to use the correct tank, simply change the default resource to the last one in the IFS resource list, which is Water.  Effectly this means you need to change the resource LqdHydrogen into Water.

Edited by FreeThinker
Link to comment
Share on other sites

22 minutes ago, FreeThinker said:

Now that I understand what is going wrong, I also know a hack to foce it to use the correct tank, simply change the default resource to the last one in the IFS resource list, which is Water.  Effectly this means you need to change the resource LqdHydrogen in to water.

Could you elaborate a bit more? Where should I change it? In my existing craft? In the save file or only in new ones?

Link to comment
Share on other sites

5 minutes ago, cicatrix said:

Could you elaborate a bit more? Where should I change it? In my existing craft? In the save file or only in new ones?

You need to change it in the part defenition file or script which adds IFS. At least in IFS tanks, the  initial resource is LqdHydrogen,

Another solution would be to remove the resource all together, this should be a fool proof method

Edited by FreeThinker
Link to comment
Share on other sites

Version 2.2.8 for Kerbal Space Program 1.2.1

Released on 2016-11-09

  • Fix: disabled adaptiveTankSelection by default which was causing problems when an existing resource is present on the rank
  • Fix: disabled verbose Log messaging
  • Included Module Manager to 2.7.3
Link to comment
Share on other sites

@FreeThinker, on Spacedock you or maybe Spacedock apparently named the 2.2.8 IFS update as one for KSP Interstellar Extended, as that was what the update notice email I got said.  The download was only 755 KB, so I figured it was really IFS...also, on Spacedock there is no version 2.2.8 for IFS in the changelog, only goes up to 2.2.7.

Link to comment
Share on other sites

@Laguna weird, I'm sure I had uploaded IFS 2.2.8, the version dump is proof of it as you can only generate this after an upload. Somehow it got lost...
I uploaded it again

Edit: it is explained, I uploaded it to the wronf location

Edited by FreeThinker
Link to comment
Share on other sites

On 13-11-2016 at 3:25 PM, Likon Diversant said:

@FreeThinker, where just an empty tank? Why cut?

well because of 2 reasons:

A switching caused the switch buttons to jump arround

B:  I assumed no one was actualy using the empty tanks

Edited by FreeThinker
Link to comment
Share on other sites

Is there a way to prevent some models from showing in the editor list when making a part with Interstellar Mesh Switch? Right now all the models are showing in the little icon in the editor list and it looks kind of weird. Thanks,

Benji13. 

Link to comment
Share on other sites

2 hours ago, Benji13 said:

Is there a way to prevent some models from showing in the editor list when making a part with Interstellar Mesh Switch? Right now all the models are showing in the little icon in the editor list and it looks kind of weird. Thanks,

Benji13. 

In unity you need to add the "Icon_Hidden" tag to every mesh you want to hide.
oGqg1Eu.png

Link to comment
Share on other sites

3 minutes ago, FreeThinker said:

Version 2.2.9 for Kerbal Space Program 1.2.1

Released on 2016-11-20

  • Added ability to jettison all fuel in a container to all Fuel switches
  • Increased resource amount IFS storage container
  • Added PolyvinylChloride to IFS storage container

Can we have ability to store all liquid fuels including Diborane/Kerosene/Helium 4 in standard Interstellar tanks?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...