Jump to content

nadvornm

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by nadvornm

  1. @bice all the problems you mention should be fixed in the temporary patch I have released some posts ago. I guess you missed the last page of this thread There will be an official release coming probably on monday as @ObiVanDamme stated in his last post.
  2. I've created a fix for the recycler problem. Please let me know if it is working for you. Download link for the updated .dll stays the same as in my last post: https://www.dropbox.com/s/u2lgj9fy90up4v7/Workshop.dll?dl=0
  3. I will look into this and let you know if I find a a way to patch it. @ObiVanDamme you will receive a pull request in the next few days from me so you can integrate my patches if you want to
  4. I've created a quick and dirty patch to make OSE Workshop comptatible with KSP 1.1.2 and KIS 1.2.10. Download: https://www.dropbox.com/s/u2lgj9fy90up4v7/Workshop.dll?dl=1 Source: https://github.com/mnadvornik/Workshop Please be aware that this is not an official release and thus no support can be given!
  5. Well I didn't try OnSave/Load. As I already said I don't know how to call the methods. It would be nice if you could explain it to me
  6. Well I know I need ScienceSubject. It is also returned from R&D's GetExperiment() method. But my question is how to restore a ScienceSubject once I have saved it
  7. Okay now I understand why it was not working. However I can see the methods GetExperiment(string) and GetTechnologyState(string) but for setting the values there is only SetTechState(string, ProtoTechNode) but no mehtod for setting the experiments. So if there's someone who could tell me how to put an experiment into the R&D instance I would be very lucky
  8. Thanks for your reply xEvilReeperx. As I not only need to purchase the parts but also really unlock the tech nodes it is not enough to just iterate through the parts and purchase them. So I will try to use the OnLoad and OnSave methods. However the methods take a ConfigNode as parameter. Can you give me a hint on how to call the methods and where to get the ConfigNode parameter from? Unfortunately I'm not a very experienced programmer...
  9. Hi all, I'm looking for a way to backup and restore the tech tree and the experiment history. I know it is possible to get that data from the persistent.sfs file. However I need a method to get and also restore the data while KSP is running. What I tried so far is using ResearchAndDevelopment.Instance: ResearchAndDevelopment rdinstance; //Backup rdinstance = ResearchAndDevelopment.Instance //Restore ResearchAndDevelopment.Instance = rdinstance However it didn't work. Unfortunately I didn't find any projects that are accessing the R&D data in a way I would like to do. Any help would be appreciated!
  10. Hello BGog42, As studying keeps me busy at the moment I didn't have much time to work on this project lately. However I might have some time when I get back home from 30C3 to finish the improvements I wrote about in my last post. Until end of frebruary I will have a lot of exames at my University so I might be able to start working on on VAB control as of March. I'm sorry I can't develop faster. Altough any help would be very appreciated. So if there is a developer with a leap motion controller wanting to help me please just send me a message.
  11. DEVELOPMENT UPDATE: My new Version should be online within this week. Found out some weird behaviour during the testing so I had to fix a lot of stuff. I still need to fix a problem with the SAS though
  12. As you are already the second one I hear from that VAB control is wanted I will plan to implement it. However before starting to work on this feature I will have a look at docking control. It would be nice if you could send me your ideas about the VAB control. So what you think which gestures and which intuitive hand movements will do what
  13. Hi retaliation, I just recoded half the plugin yesterday to optimize the interface to the leap controller. My new code still needs some work and testing but you can expect a new update in the next few days. Feel free to test my plugin. It's always nice to get some feedback
  14. OK thank you! I will have a look at MonoBehaviour
  15. Hello, I need help with developing my plugin. I need to do some deinitialization routines. But at which point can I put them? I didn't find any method that is called when a flight is ended, KSP is going to close, or my Vessel is onloaded. Are there such methods or is there any other way to perform some deinitialization routines? Tanks in advance!
  16. Thank you sirkut for linking to my thread LeapGamer.com have you already got an Leap Motion controller? If yes please tell me how my plugin worked for you. I am open for any suggestions. I might also take you into consideration for future beta testing. Of course only if you want
  17. Hi everyone! It's finally there! Version 0.2 of my Leap Motion Plugin is online! What it does? You can control your rover and fly your plane with just moving your hand in front of your screen. You can download my latest build here: https://www.dropbox.com/s/i4pzx0vury5ggiz/LeapMotionPlugin.zip (source code included) Installation instruction: Just unzip the file you downloaded into your KSP Main directory. As with any plugin it is best to use it in a fresh install. How to control a rover: Move hand towards the screen: forward Move hand towards you: backward Roll your hand to the left: steer left Roll your hand to the right: steer right Fist or hover over the controller: just roll / not throttle, drive straight Move hand away from controller: brake How to control a airplane: The first hand you put over your leap motion controller is the steering hand. The second hand you put over your controller is the thrust hand. With the steering hand you can control pitch, roll and yaw. Making a fist with the steering hand turns SAS on. With the thrust hand you can control the thrust by moving your hand (spread your fingers) towards/away from your screen. Making a fist with the thrust hand halts the current thrust level. Known issues: -when the plugin is loaded thrust can only be controlled with your thrust hand. Shift and Ctrl Key don't have any effect on thrust anymore. - the game crashes when exiting the game. Though while beeing in game everything works fine. I hope I can fix this soon. - depending on your CPU specs it is possible you experience some small legs or micro lags In case something is not working for please post it here and send me the ksp.log file Planned for the next update(s): - Activate action groups by using gestures --Changelog 0.2-- -added airplane control -plugin is now partless -fixed stack overflow error So have fun using your leap controller in KSP! Updates to this plugin will come soon
  18. Thanks JPD! This is actually what I was looking for
  19. How can I enable/disable the wheel brake within my plugin? Thanks!
  20. BUMP! Is there nobody who is able to help me?
  21. Hi, I just got my Leap and started developing a proof-of-concept plugin for KSP. But I didn't get far because whenever I load my Plugin I see an error in the debug console in-game that the LeapCSharp DLL couldnt be found. As this is my first plugin I am not sure where to put external DLLs. I put them with the plugin DLL into the Plugins folder. Is there something special I need to do when using external dlls? Maybe something in code or a special directory within the KSP folder? Maybe someone of you has already some success in using the Leap Motion controller.... Any help would be appreciated! Thanks! edit - I finally got my Leap Motion controler to work within KSP/Unity. I just had to copy the Plugin folder from the Leap Motion SDK (from the folder UnityAssets) into \KSP_Data. Now Unity is able to find the Leap Motion DLLs.
  22. Hi, is it possible to create a plugin that creates a vessel in-game? If so, how can I do this?
×
×
  • Create New...