Bmandk
Members-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Bug Reports
Everything posted by Bmandk
-
[1.11] RemoteTech v1.9.9 [2020-12-19]
Bmandk replied to tomek.piotrowski's topic in KSP1 Mod Releases
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? -
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.
-
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