Jump to content

[1.12.x] Near Future Technologies (September 6)


Nertea

Recommended Posts

1 hour ago, Nertea said:

Just so you know I haven't forgotten, keeping an eye on it even though I can't reproduce it.

How dare you have a life outside of your unpaid modding time!

Seriously though, I get it. It's fine man. It might have been a problem with my KSP installation though. When I posted that earlier, I removed all my other mods first and rechecked. However, the other day I had to have Steam rebuild my install due to some corrupted files, so it's possible that there was something like that going on. Anyway, if I see it again I'll see if I can dig a little deeper.

Link to comment
Share on other sites

It looks like the latest update of B9 Part Switch v2.4.0 broke the truss-spinal-01 and truss-spinal-02 parts in Near Future Construction. My workaround was to downgrade to the previous version (v2.3.3) of B9 Part Switcher. Here are the logs regarding the broken parts:

EDIT: Because apparently 1.5 was released yesterday, I am still on 1.4.5. Both Part Switcher versions also list 1.4.5 as the compatible version.

[LOG 14:47:34.833] PartLoader: Compiling Part 'NearFutureConstruction/Parts/Truss/truss-spinal/truss-spinal-01/truss-spinal-01'
[WRN 14:47:34.849] DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.
[ERR 14:47:34.850] Module ModuleB9PartSwitch threw during OnLoad: System.Exception: Fatal exception while loading fields on module ModuleB9PartSwitch on part truss-spinal-01 ---> System.Exception: Exception while loading field subtypes on type B9PartSwitch.ModuleB9PartSwitch ---> System.Exception: Subtype has no name
  at B9PartSwitch.PartSubtype.OnLoad (.ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.PartSubtype.Load (.ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.Fishbones.Parsers.NodeObjectWrapper.Load (System.Object obj, .ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.Fishbones.NodeDataMappers.NodeListMapper.Load (System.Object& fieldValue, .ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.Fishbones.NodeDataField.Load (.ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.Fishbones.NodeDataList.Load (.ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at B9PartSwitch.Fishbones.NodeDataList.Load (.ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.Fishbones.NodeDataObjectExtensions.LoadFields (System.Object obj, .ConfigNode node, B9PartSwitch.Fishbones.Context.OperationContext context) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.CustomPartModule.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at B9PartSwitch.CustomPartModule.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at PartModule.Load (.ConfigNode node) [0x00000] in <filename unknown>:0 

[ERR 14:47:34.861] PartLoader: Encountered exception during compilation. System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
  at System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype () [0x00000] in <filename unknown>:0 
  at B9PartSwitch.ModuleB9PartSwitch.TransformShouldBeEnabled (UnityEngine.Transform transform) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.PartExtensions.UpdateTransformEnabled (.Part part, UnityEngine.Transform t) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.PartSubtype.<ActivateObjects>b__83_0 (UnityEngine.Transform t) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[UnityEngine.Transform].ForEach (System.Action`1 action) [0x00000] in <filename unknown>:0 
  at B9PartSwitch.PartSubtype.ActivateObjects () [0x00000] in <filename unknown>:0 
  at B9PartSwitch.PartSubtype.ActivateForIcon () [0x00000] in <filename unknown>:0 
  at B9PartSwitch.ModuleB9PartSwitch.SetupForIcon () [0x00000] in <filename unknown>:0 
  at B9PartSwitch.ModuleB9PartSwitch.OnIconCreate () [0x00000] in <filename unknown>:0 
  at PartLoader.CreatePartIcon (UnityEngine.GameObject newPart, System.Single& iconScale) [0x00000] in <filename unknown>:0 
  at PartLoader.ParsePart (.UrlConfig urlConfig, .ConfigNode node) [0x00000] in <filename unknown>:0 
  at PartLoader+<CompileParts>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0 

[ERR 14:47:34.861] PartCompiler: Cannot compile part

[LOG 14:47:34.861] PartLoader: Compiling Part 'NearFutureConstruction/Parts/Truss/truss-spinal/truss-spinal-02/truss-spinal-02'
[EXC 14:47:34.897] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.GetModuleMass (Single baseMass, ModifierStagingSituation situation)
    Part.ModulesOnStart ()
    Part+<Start>c__Iterator0.MoveNext ()
    UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
[EXC 14:47:34.907] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.GetModuleMass (Single baseMass, ModifierStagingSituation situation)
    Part.ModulesOnStart ()
    Part+<Start>c__Iterator0.MoveNext ()
    UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
[LOG 14:47:34.913] [Part truss-spinal-01] [ModuleB9PartSwitch 'meshSwitch'] Switched subtype to None
[EXC 14:47:34.914] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.TransformShouldBeEnabled (UnityEngine.Transform transform)
    B9PartSwitch.PartExtensions.UpdateTransformEnabled (.Part part, UnityEngine.Transform t)
    B9PartSwitch.PartSubtype.<ActivateObjects>b__83_0 (UnityEngine.Transform t)
    System.Collections.Generic.List`1[UnityEngine.Transform].ForEach (System.Action`1 action)
    B9PartSwitch.PartSubtype.ActivateObjects ()
    B9PartSwitch.PartSubtype.ActivateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.UpdateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.Start ()
[EXC 14:47:34.914] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.UpdateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.Start ()
[EXC 14:47:34.915] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.NodeShouldBeEnabled (.AttachNode node)
    B9PartSwitch.PartExtensions.UpdateNodeEnabled (.Part part, .AttachNode node)
    B9PartSwitch.PartSubtype.<ActivateNodes>b__84_0 (.AttachNode n)
    System.Collections.Generic.List`1[AttachNode].ForEach (System.Action`1 action)
    B9PartSwitch.PartSubtype.ActivateNodes ()
    B9PartSwitch.PartSubtype.DeactivateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch+<>c.<UpdateOnStart>b__91_0 (B9PartSwitch.PartSubtype subtype)
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].ForEach (System.Action`1 action)
    B9PartSwitch.ModuleB9PartSwitch.UpdateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.Start ()
[EXC 14:47:34.917] NullReferenceException: Object reference not set to an instance of an object
    B9PartSwitch.ModuleB9PartInfo.UpdateFields ()
    B9PartSwitch.ModuleB9PartInfo.Start ()
[LOG 14:47:34.917] [Part truss-spinal-01(Clone)] [ModuleB9PartSwitch 'meshSwitch'] Switched subtype to None
[EXC 14:47:34.917] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.TransformShouldBeEnabled (UnityEngine.Transform transform)
    B9PartSwitch.PartExtensions.UpdateTransformEnabled (.Part part, UnityEngine.Transform t)
    B9PartSwitch.PartSubtype.<ActivateObjects>b__83_0 (UnityEngine.Transform t)
    System.Collections.Generic.List`1[UnityEngine.Transform].ForEach (System.Action`1 action)
    B9PartSwitch.PartSubtype.ActivateObjects ()
    B9PartSwitch.PartSubtype.ActivateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.UpdateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.Start ()
[EXC 14:47:34.917] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.UpdateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.Start ()
[EXC 14:47:34.918] ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].get_Item (Int32 index)
    B9PartSwitch.ModuleB9PartSwitch.get_CurrentSubtype ()
    B9PartSwitch.ModuleB9PartSwitch.NodeShouldBeEnabled (.AttachNode node)
    B9PartSwitch.PartExtensions.UpdateNodeEnabled (.Part part, .AttachNode node)
    B9PartSwitch.PartSubtype.<ActivateNodes>b__84_0 (.AttachNode n)
    System.Collections.Generic.List`1[AttachNode].ForEach (System.Action`1 action)
    B9PartSwitch.PartSubtype.ActivateNodes ()
    B9PartSwitch.PartSubtype.DeactivateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch+<>c.<UpdateOnStart>b__91_0 (B9PartSwitch.PartSubtype subtype)
    System.Collections.Generic.List`1[B9PartSwitch.PartSubtype].ForEach (System.Action`1 action)
    B9PartSwitch.ModuleB9PartSwitch.UpdateOnStart ()
    B9PartSwitch.ModuleB9PartSwitch.Start ()
[EXC 14:47:34.918] NullReferenceException: Object reference not set to an instance of an object
    B9PartSwitch.ModuleB9PartInfo.UpdateFields ()
    B9PartSwitch.ModuleB9PartInfo.Start ()

 

Edited by PhaserArray
Added more info
Link to comment
Share on other sites

1 hour ago, PhaserArray said:

EDIT: Because apparently 1.5 was released yesterday, I am still on 1.4.5. Both Part Switcher versions also list 1.4.5 as the compatible version.

B9PartSwitch 2.4.0 is compiled for KSP 1.5.0, not 1.4.5, but I just tried it in 1.5.0 and the same error occurs.

One of the changes listed in the B9PartSwitch 2.4.0 release announcement is that "a few incompatibilities that previously silently disabled functionality are now fatal errors".  This may be an instance of that.

Link to comment
Share on other sites

2 hours ago, Lathari said:

As an emergency fix you can open GameData\NearFutureConstruction\Parts\Truss\truss-spinal\truss-spinal-01.cfg and add name attribute to endcap variants. That solved the problem for me.

please explain. I assume you mean the last segment of subtypes of ModuleB9PartSwitch

quickfix (I assume this now works by giving a child a proper name :P)

Spoiler

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = meshSwitch3
		switcherDescription = #LOC_NFConstruction_switcher_endcap_title1

		SUBTYPE
		{
			name = Endcap1 // was empty
			title = #LOC_NFConstruction_switcher_endcap_variant1

			transform = TRUSSTOP
			transform = COLLIDERTOPA01
			transform = COLLIDERTOPA02
			transform = COLLIDERTOPA03
			transform = COLLIDERTOPA04
		}
		SUBTYPE
		{
			name = Endcap2 // was empty
			title = #LOC_NFConstruction_switcher_endcap_variant2
			node = top02
			transform = TRUSSTOPSOLID
			transform = COLLIDERTOPB
			addedMass = 0.03
			addedCost = 75
		}
		SUBTYPE
		{
			name = Endcap3 // was empty
			title = #LOC_NFConstruction_switcher_endcap_variant3
			transform = TRUSSTOPFRAME
			addedMass = -0.01
			addedCost = -25
		}
	}

 

 

Edited by LatiMacciato
Link to comment
Share on other sites

13 minutes ago, BRAAAP_STUTUTU said:

@Nertea Have you ever considered adding some SCRAM-jets to NF Aeronautics? Gotta go fast eh

Are they useful in the stock sized solar systems, though? You'd be achieving orbital speeds pretty quickly with scramjets (and overheating too)

Link to comment
Share on other sites

1 minute ago, juanml82 said:

Are they useful in the stock sized solar systems, though? You'd be achieving orbital speeds pretty quickly with scramjets (and overheating too)

depends, you could probably get enough speed to reach even the mun provided you don't burn up going that fast

it would definitely be even more useful on larger scale systems or larger oxygenenated planets (i.e. GPP's Tellumo)

still i see it being useful on stock sized oxygenated planets as a sort of high ISP SOI exit engine or even going interplanetary perhaps or making LF only SSTO's easier or heck, as a step inbetween the project eeloo engine

regardless it would create intresting design challenges and would probably still be quite balanced

Link to comment
Share on other sites

@BRAAAP_STUTUTU @juanml82 How I'm reading the technical data  about scramjets, It is estimated that the max speed for ramjets may be  somewhere from mach 10 to mach 17, to even orbital velocity, at mach 25(depending depending on the assumptions and input data). 
Kerbin Orbital velocity is somewhere at mach 6-7ish. For our stock size purposes, conventional ramjets are scramjets.

Btw
Mk2 expansion has a scramjet, which can get up to mach 10.
While testing, I got a cheat plane up to dres.

For stock size, Scramjets are too Powerfull to be reasonable.
But they would work well for RSS I could Imagine

Link to comment
Share on other sites

Working through some minor bugfixes for these mods. Most should be done shortly except NFSpacecraft, which is under heavy dev to bring it to 1.0 state.

Screen_Shot_2018-09-24_at_11.38.41_PM.pn

1.0 state includes 6 new pods and facelifts for the others....

Link to comment
Share on other sites

10 hours ago, Nertea said:

Working through some minor bugfixes for these mods. Most should be done shortly except NFSpacecraft, which is under heavy dev to bring it to 1.0 state.

Screen_Shot_2018-09-24_at_11.38.41_PM.pn

1.0 state includes 6 new pods and facelifts for the others....

Those new pods look ah-mazing.

Link to comment
Share on other sites

11 hours ago, Nertea said:

Working through some minor bugfixes for these mods. Most should be done shortly except NFSpacecraft, which is under heavy dev to bring it to 1.0 state.

Screen_Shot_2018-09-24_at_11.38.41_PM.pn

1.0 state includes 6 new pods and facelifts for the others....

Could you also please add a 5m heat shield for the large command pod, so we can use it to haul large numbers of Kerbals to orbit and back?

Link to comment
Share on other sites

17 minutes ago, KSPanier said:

Could you also please add a 5m heat shield for the large command pod, so we can use it to haul large numbers of Kerbals to orbit and back?

Nope, you can now use the 3.75m shield properly though due to a lot of changes to how that pod works. In addition there is another large pod that is not shown there that should be better for up/down stuff. 

Link to comment
Share on other sites

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...