Jump to content

linuxgurugamer

Bug Hunter
  • Posts

    24,896
  • Joined

  • Last visited

Everything posted by linuxgurugamer

  1. If you know of any other editor-related minimods which aren't being supported, let me know, I'll consider incorporating them into the EEX mod
  2. If anybody is interested, I've recompiled this for 1.1: https://drive.google.com/file/d/0Bzid7e3pW1k7YnhvQkYwWElMbDA/view?usp=sharing
  3. Here you go: https://drive.google.com/file/d/0Bzid7e3pW1k7YnhvQkYwWElMbDA/view?usp=sharing The license is a do what the f*** you want, so I'm going to incorporate this into EditorExtensions later
  4. I've sent an email to the author, if he isn't going to support this, then I'll take it over.
  5. Is this going to get updated for 1.1? If not, I'd be happy to take over the support for it. LGG
  6. The UI now properly scales with the rest of KSP. Also, the SelectRoot functionality is now mostly working (it simplifies selecting a new root part)
  7. I believe that I saw the same thing on a Twitch stream using stock fairings. For now, I'm going to leave this alone, since the fairings are using stock code
  8. This line: if (FlightResultsDialog.isDisplaying) { Is causing a NullReferenceException when in flight. Before I report this as a bug, does anyone have a comment?
  9. I wasn't even aware the UI could scale. Thanks for reporting, I'll get back to this when I get KRASH working
  10. @sarbian I need your example of how to do the MultiOptiondialog in 1.1. Apparently it doesn't use DialogOption any more, but instead uses DialogGUIBase? And I don't see how to move from one to the other yet. Thanks
  11. ok, but the right click on the toolbar was working in 1.0.5, and @sal_vager confirmed that it was a mistake. For now, I've changed the way the mod works a bit. I was using the right-click to bring up the setting window, and left-click to display some info. The changes I made are that the left click brings up the settings window, and the info window is now an option. This is in my TotalTime mod, but I do use the right-click on the toolbar in other mods. Re. the MultiOptionDialog, this is in KRASH (was in the old Holodeck) code. I found some examples on how to do it without using a callback, so unless I hear another way to use a callback function, I'll probably recode the dialogs
  12. Apparently the MultiOptionDialog call has changed. It used to have the ability to call a callback function, now that callback is not allowed anymore Can someone else confirm this?
  13. Nothing to do with that, although thanks for the info. This is a confirmed bug, and I reported it on the bugtracker. Right clicks are not being passed at all to the associated function from the toolbar. Once they fix that, I'll keep what you have in mind. Thanks
  14. wish I did, but no. The only thing needed was an updated ModuleManager. This file includes everything, KW, Community fixes and MM LGG
  15. Some of my mods respond to a right-click on the toolbar button (stock toolbar) It's not working anymore. However, left-button clicks still work. Here is the basic code. First, this line adds the button to the toolbar: TT_Button = ApplicationLauncher.Instance.AddModApplication (GUIToggleToolbar, GUIToggleToolbar, null, null, null, null, ApplicationLauncher.AppScenes.SPACECENTER, TT_button_img); and here is the function (simplified): public void GUIToggleToolbar () { //GUIToggle (true); Log.Info("GUIToggleToolbar"); //stockToolBarcreated = true; if (Input.GetMouseButtonUp (1)) { //onRightButtonStockClick (); configDisplayActive = !configDisplayActive; if (configDisplayActive) { SetConfigVisible (true); cfgWinData = false; } } } What I saw by adding the Log.Info line, is that the toolbar is not passing right-clicks to the function. Edit: clarification: The function is not called at all when I right-click on the tool-bar button Is this a bug, or a change in the functionality? Thanks
  16. which fairing, and can you show me a picture? Also, try the same thing with the stock fairings
  17. I just tested it, works fine for me. Please get back to me with the answers to my questions
  18. Did you copy everything, including module manager to the directory? Do you have any other mods installed?
  19. First off, Squad is adding a function so I won't need to use reflection to get a hidden value anymore. I have two mods which use this: WasdEditorCameraRedux and EditorExtensionsRedux. They use it in different ways, but essentially to avoid conflicting with what the editor itself is doing.
  20. What I need is access to the KerbalFSM. If there is a better way to do this, I'd appreciate hearing about it. Specifically, I need to do the following: (editorFSM.currentStateName == "st_offset_tweak" || editorFSM.currentStateName == "st_rotate_tweak")) and the following: editorFSM.lastEventName.Equals("on_rootSelect"); Thanks in advance
×
×
  • Create New...