Jump to content

Converting from ModuleAnimateGeneric to ModuleDeployableAntenna ?


Recommended Posts

I'm trying to keep a couple of ancient antenna parts around for aesthetic reasons, and I'm trying to figure out if I can convert from ModuleAnimateGeneric to ModuleDeployableAntenna.

If I take the animationName from the old part and drop it into the new module, KSP hangs during loading:

[EXC 17:35:17.793] NullReferenceException: Object reference not set to an instance of an object
	ModuleDeployablePart.AssumeDragCubePosition (System.String name)
	DragCubeSystem+<RenderDragCubes>c__Iterator1E.MoveNext ()
	UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)

This part predates drag cubes.

Does anyone have a suggestion for what I need to do to keep these parts working in the new environment?

Link to comment
Share on other sites

You would still need to found the name for this spot

	MODULE
	{
		name = ModuleDeployableAntenna
		showStatus = false
		isTracking = false
		pivotName = AntennaHolster              <---------------- HERE 
		raycastTransformName = AntennaHolster    <----------  not sure about this one
		animationName = Deploy     <------- With ModuleAnimateGeneric we just need this name            
	}

This are all 3 stock

	MODULE
	{
		name = ModuleDeployableAntenna
		showStatus = false
		isTracking = false
		pivotName = Rescalar
		windResistance = 1		
		animationName = dish    <------- With ModuleAnimateGeneric we just need this name
	}

	MODULE
	{
		name = ModuleDeployableAntenna
		showStatus = false
		isTracking = false
		pivotName = seg2          <------------------  here
		windResistance = 1
		animationName = antenna   <------- With ModuleAnimateGeneric we just need this name
	} 

What mod did they come from will play around with them and see

 

EDIT- If it's AIES mod have some working ones will try and get a MM to do the changes

 

EDIT- If AIES here is a quick MM you get them to work https://dl.dropboxusercontent.com/u/72893034/AIES_Patches/AIES-Antenna-PATCH_KSP_1.2.cfg

Edited by Mecripp2
Added link
Link to comment
Share on other sites

11 hours ago, MeCripp said:

EDIT- If it's AIES mod have some working ones will try and get a MM to do the changes

The MM config isn't quite right - you need to use

Quote

   !MODULE[ModuleAnimateGeneric] { }
   !MODULE[ModuleDataTransmitter] { }
 

to remove the old modules.  Other than that, it works well.  Thanks again for posting it.

Link to comment
Share on other sites

4 minutes ago, MOARdV said:

The MM config isn't quite right - you need to use

to remove the old modules.  Other than that, it works well.  Thanks again for posting it.

Thanks will make the changes sometimes get alittle lost with writing MM

Made changes hope it's right now if you get a change can you take a look and see

Link to comment
Share on other sites

2 hours ago, MeCripp said:

Thanks will make the changes sometimes get alittle lost with writing MM

Made changes hope it's right now if you get a change can you take a look and see

Yeah, they can get confusing.  I know just enough about them for the simple things I do.  The only other part I think is off is for the multiple modules ones:

   !MODULE[ModuleAnimateGeneric,0] {}

is how I think they're supposed to be (the ',0' inside the square bracket).  I don't have any of those specific antennas installed right now, so I can't double-check ATM.

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