neurotoxin

Members
  • Content Count

    45
  • Joined

  • Last visited

Everything posted by neurotoxin

  1. Yep, I agree, but with what I'm doing I can't avoid it. I actually just found exactly what I'm looking for. So long and thanks for all the fish!
  2. Yeah, I didn't think it'd be easy or else the answer would have shown up from my first hour of googling. Well, it did, in the form of reflection. I guess it's time to look into the reflection API. Thanks for the replies. Honestly, this wasn't even directly KSP related but there are a lot of talented programmers here so I thought I might get a good answer, which I did, thus why I am quick to dismiss module manager. Once again, thanks for the help.
  3. Yeah I know I could do that, but I'm trying to avoid it. The question is more theoretical than something I intend to use in a practical mod. I don't have the .dll open atm so these are just made up names but let's say the .dll has a Wheel class with a method named Roll(). Is there any way to make it so when the game calls Wheel.Roll() it actually calls MyNewWheel.Roll(). For this example let's assume MyNewWheel : Wheel and only the Roll method has been overridden. Again all theoretical, any resemblance to real people or places is purely fiction.
  4. How would one go about overriding a built in class? Like, let's say I extended Wheel, overrode a method, and now I want KSP to use my wheel rather than it's own? I've looked into Reflection but, well it's a bit confusing and a LOT of code for something that seems like it should be simple.
  5. @RoverDude I just wanted to point out that the github link in the OP is incorrect. Its http://www.github/com/BobPalmer/Karbonite and it should be http://www.github.com/BobPalmer/Karbonite Not a big deal obviously just a QoL issue for anyone wanting to use it. Nice work with this by the way.
  6. Right you are. Thanks for pointing me to learn something new. The books I taught myself with didn't cover do-while loops or the difference. Thanks for correcting that and not letting it just drift away, I appreciate a learning opportunity. The best documentation I've been able to find is: http://wiki.kerbalspaceprogram.com/wiki/Category:Community_API_Documentation https://github.com/Anatid/XML-Documentation-for-the-KSP-API I don't know exactly how up to date either of those resources are but they seem to give a good stepping off point.
  7. Yeah, I kind of figured that seeing as I can READ other's code decently. The issue I'm worried about is adapting to the few differences, like keywords. Actually, googling around a bit has waylaid some of my fears on syntax, I guess some of the differences I saw were just different modder's preferences (like using do while loops rather than while {//do stuff}). Yeah, considering that, I'll just jump in and try it. Time to get used to Visual Studio, probably the most daunting part of all this, learning a new IDE. It's like a new pair of shoes, the old one is all broken in and comfy and you feel bad leaving them. Haha.
  8. Ok so I guess I'll ask here. Was going to start a thread but I figured I'd see what this was first. My question is, how hard will it be learning C# coming from a background of java? I see many similarities in the two looking through other developers source codes and a I also see differences, obviously I'm talking about syntax as the keywords are quite different. Can anyone point me to some decent resources that aren't aimed at beginner programmers but still cover a good portion of the c# basics using semi-advanced concepts? Lastly, should I be focusing on learning the .net framework or is plugging into KSP not going to require a strong knowledge of it? Pre-thanks for any answers.
  9. So... after screwing around a bit with my settings and managing to increase my FPS quite a bit (from 25ish at KSC screen to 60) I noticed that I no longer had the right click or staging issues on the x64 build. I'm not entirely sure HOW relevant it is. I'm assuming it's some kind of Unity bug stemming from not updating user input while playing catch-up in rendering but don't listen to me as I don't really know what I'm talking about (I've only built command line and simple gui applications). As for the framerate improvement, I was just fiddling about in my settings.cfg file and came across PLANET_FORCE_SHADER_MODEL_2_0 = False. I set that to True and massive improvement but it makes the KSC scene extremely ugly because the seams in the terrain are suddenly very apparent. YMMV. Anyway, if anyone wants to verify that framerate effects the ability to decouple/right click it'd be much appreciated. Just drive your game into the ground framerate wise, try a couple short test flights, then try to get your fps back up over 30 and try again and let me know.
  10. Pretty much everything you said. It's just disappointing that rather than the 100 page thread on a forum dedicated to the game and run by the company the first direct information shows up somewhere else. I'm glad there was/is communication just slightly disappointed that it wasn't here first. It's not a huge deal at all just irksome. I do however appreciate Rowsdower showing up to confirm pretty quickly.
  11. I don't know about the other mods but I know that you can't redistribute Kethane's files as it's against the license, you may want to look into that before offer modpacks.
  12. @CaptainArbitrary @Robbii6 Did you guys go into the VAB and place a root part? The little button doesn't show up until there's at least 1 part placed in the VAB/SPH.
  13. I recall reading somewhere that squad doesn't want to release features that will only be available to a select set of customers (in this case that would be steam customers). Not that that's the whole reasoning behind it but I'm sure it has a part to play in that decision.
  14. Wow, I can't believe how hard on this guy you guys are being. Obviously Petumies is proud of what he's managed to accomplish thus far and just wanted to share his progress. Sure that progress isn't a lot but he apparently felt he reached a milestone and posted to gather some encouragement. Everybody has to start somewhere. @Petumies Keep up the good work and I hope to see more progress from you. Don't mind the sarcastic and/or negative responses.
  15. While Camelot's listed mod is also a good organization mod it sounds to me like you're actually looking for this one: http://forum.kerbalspaceprogram.com/showthread.php/34779-0-20-Simple-Part-Organizer-(v0-250) I believe they can actually be used together even if that's your cup of tea.
  16. Dev blog where said video originated: http://forum.kerbalspaceprogram.com/entry.php/612-C7-DevBlog-6-25-2013
  17. I recently put together a ModuleManager modification for a request and I figured I'd leave a copy here in case anyone in following this thread would like to use it. It just adds mechjeb functionality to all the stock(Squad) command pods and probe cores. Installation should be self explanatory for anyone who's installed mods lately. Module Manager's source can be found on Ialdabaoth's Github and my contribution is just the MechjebPodEnabler.cfg which can be opened with any text editor. Mechjeb Command Pod Enabler - Mediafire
  18. Add the following line to your settings.cfg file: ShowInMenu = False
  19. See my post directly above yours. Specifically locate GameData/Kethane/settings.cfg and add the line "ShowInMenu = False" without quotation marks.
  20. It should be generated the first time you run KSP with Kethane installed. Delete the one you made, launch KSP and see if it makes one. The full cfg on my system looks like this: ShowInMenu = False ScanningSound = True ShowOverlay = False WindowLeft = 1123 WindowTop = 581 There's a blank line following the last key (although I don't believe that's important because it's just a keypair file). TBH I don't see why it wouldn't work just using the lines from my previous post unless you're not using the most recent version. I would personally try just deleting the settings.cfg you hand made, launch KSP, make a ship (command pod + kethane scanner), launch, end flight, go to the tracking center, close ksp and modify the settings.cfg that should be generated. Not entirely sure when it generates the file thus the launch/tracking station junk above but that should cover all configurable lines that would need to be initialized at any given point (position x2, detection sound, show overlay toggle).
  21. Yeah I noticed that it didn't auto generate the line in the config but I'm sure that was just a minor oversight. Glad to help.
  22. Looking into the source on Github it looks like the value you want to set is ShowInMenu. After some trial and error I figured it out. I placed ShowInMenu in the following location ScanningSound = True ShowInMenu = False ShowOverlay = False For some reason it kept reverting my changes when I placed it at the end although it might work for you there. So edit GameData/Kethane/settings.cfg and then start your game.
  23. I knew there were issues with it but since we were on the topic I felt I should fully explain what I had pictured. That would be great. Any indication that there's more than one resource in a cell that doesn't muddy up the cells would be a step in the right direction in my opinion. Either way I'm just happy we got the new overlay. Just wanted to offer my 2 cents.
  24. Oh definitely I understand that. I liked one of the previous ideas that was made earlier in the thread but I think you had mentioned there was some problems with it. I don't know HOW possible it would be but possibly adding an indicator IF another resource is present. Example of my idea below (forgive my amazing MSPaint skillz yo.) Assume kethane as the primary deposit in multiple resource mode and display a indicator for any other resources located in the same cell. Like I said, I have absolutely no idea how difficult this might be from a programming perspective (I haven't learned much farther beyond console utilities in java) just an idea. I know I wouldn't wanted a blending, especially considering how ugly some colors may get when mixed with others. Kethane deposit with ore: Kethane deposit with ore and another resource: EDIT: The multiple resources view would be used primarily as a quick reference point for overlapping resources which a user could identify deposit sizes easily by just switching views to said resource and hovering. Multiple resources view would show no deposit values (or all if you would/could code that in) and would serve only as a reference point.