Jump to content

ModuleSelectableDataTransmitter


Recommended Posts

Hi all,

I'm going to be writing a small part module, called ModuleSelectableDataTransmitter. It's going to inherit from ModuleDataTransmitter, the change will be that in the editor, you will be able to select the antennaType, so that a single antenna can be used either for a DIRECT or a RELAY antenna.

I was thinking about making it possible to flip it in flight.  Before I get started, I'd like any input or comments as to the viability and usability of this.

Thanks

Link to comment
Share on other sites

Maybe it would be better to make a separate part module that looks for a ModuleDataTransmitter and switches the type. That way you don't mess up any mods that look for ModuleDataTransmitter (even if most of the time they should probably be using IDataTransmitter). 

I imagine that if you want to flip the type in flight you might need to re-initialize the CommNet aspects of the transmitter. That seems like something that would only be set once.

Link to comment
Share on other sites

  • 2 weeks later...
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...