Jump to content

Bmandk

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Bmandk

  1. I've just run into an issue with the M700 Survey Scanner not working. It seems the same issue was posted a couple years ago in the old thread. Is there already a fix for this in the mod, or has this just been overlooked?
  2. Alright, thanks. How would I then load models from code? In Unity, I would use the Resources folder to load models at runtime, but I'm not sure if I'm able to do this in a compiled Unity game? If so, where would I place it?
  3. Well, the first answer is pretty easy to solve (you could've googled that really). Using GetComponents(typeof(Component)) will get you an array of all the components on an object. You can then use this to check what components are there. You can even use it in a debug-manner and log all the components names to the console. This allows you to discover the components. You can also look through the documentation right here. As for the second question, you just need a reference to the component. Again, GetComponent is your friend here. The third question is really about what you want the object to do. You add whatever component you need to add to it to allow that function.
  4. Hey, I'm thinking about getting into modding KSP with some plugins. I already have a lot of experience using Unity. I had one in mind, which would basically have interactable items in the world. However, from researching, I couldn't find any way to add objects that aren't parts or vessels. Basically, is it possible to access normal Unity stuff like Unity's Instantiate function? Thanks
  5. These are the dialogue popups I'm talking about: I'd rather have them near the parts, and having to move them every time I press next is a bit annoying.
×
×
  • Create New...