• Content Count

  • Joined

  • Last visited

Community Reputation

38 Excellent

About fatcargo

  • Rank
    Spacecraft Engineer

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Does "PAW" refer to Part Action Window Sorter-Outer ? While i tinkered with my code, i used following flags (this was done with stock part menus) : guiActive = true guiActiveEditor = true externalToEVAOnly = false guiActiveUnfocused = true //this one ? unfocusedRange = 1 //not directly relevant, though it wouldn't surprise me if KSP freaks out on large values Though i tested this by launching two probe cores separated with docking ports and batteries, then cheating them into orbit and then decoupling them. As distance grew, beyond 1m range, menu item for other vessel vanished. Note that distance is measured from part's stack attachment node (most likely first one in part.cfg, part i work with has only one).
  2. Is it possible to create a UI asset bundle and use it so KSP plugin can add new UI elements at run-time (maybe copy existing UI element and adding it into existing hierarchy) ? So far, none of the tutorials mention such a possibility. Asset bundles appear to be static constructs. In my case, i will need arbitrary number of labels and sliders in vertical scrollable list.
  3. Crafts in orbits can have two things in common : they can be not yet loaded (ie can be seen from KSC tracking station) and "under the hood" vessels in orbit (under fast warp, no accelerations from atmosphere or engines) have their physics turned off. To me it sounds like issue with unloaded vessels.
  4. B9 Proc Wings have flaps/ailerons and procedural tanks/SRBs seem not to have anything animated (i tried to look for gimballed engines but found nothing). What is more important : in SPH/VAB procedural parts change shape and size while editing, does AA capture these events ? Even stock parts with variant switching may pose a challenge (oh and by the way do TweakScaled parts work OK too ?). It was showcased how various part can be attached and animated on flaps surfaces B9 PWings popped into my mind. One other test : do RCS and RCSFX parts properly update their thrust vectors when moved into new positions ? Did'nt see it in yt video... Another possible issue is with Kerbal Foundries wheels/tracks : few KSP versions back (old KF before unity wheel collider breakdown) i had trouble with KF wheels mounted on IR parts. Back then, KF wheels would in flight scene assume direction/steering on vessel load and after deployment via IR they did not work properly. This time i hope AA deployed KF wheels should not suffer from this (now they have different direction/steering setup).
  5. Got this from post on IR Next thread. You did not just save my life .. you saved everyone ! Lately i don't have much time for playing KSP (though i am trying to make finish a mod, old and long story...) but can anyone test for compatibility with procedural mods like b9 proc wings and/or procedural parts (tanks ands SRBs) ?
  6. I've tried also with alternate PlayerConnectionConfigFile generated on my system (which is kind of paradox since locally generated file is actually original, but i'm splitting hairs here ) and no luck. I then renamed my KSP debug player to "Unity.exe" (and added .pdb file from same editor install location where i copied debug player), made new link to folder and it (again) worked without a hitch. When i was googling around i found some post over on unity forums that unity debugger for VS needed to find "Unity.exe" process. Ehhh i guess this works too. If both debug player and editor are run at the same time, you can tell the difference because editor will have project name in list of debug listeners, ksp debug player will have that entry empty. Finally, if above does not work you can resort to listing all processes in system that have open listen ports (two TCP and one UDP, usually the second TCP is one you should connect to). Then open VS unity debugger and choose "Input IP" and enter Problem is (at least on my machine) that every time ksp debug player is run, PORT number changes Oh and word of caution : i just noticed that VS unity debugger sees KSP debug player as "Editor". I don't know if it matters, but i tried inserting a breakpoint and it seems to work.
  7. I then stand corrected. Thanks for reply ! I was lucky (and spent lots of time on it) to find out why is my install so finicky
  8. UPDATE: i managed to make desired (minimal size) installation just for plugin development. First i used this to download required packages : vs_Community.exe --layout c:\vs2017offline --passive --wait --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Net.Component.3.5.DeveloperTools --add Microsoft.Net.Component.4.7.1.TargetingPack --add Microsoft.VisualStudio.Component.NuGet --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.VisualStudio.Component.Roslyn.LanguageServices --add Microsoft.VisualStudio.Component.Static.Analysis.Tools --add Microsoft.VisualStudio.Component.Unity Above will load everything EXCEPT Unity3D package, i downloaded it separately. Command line will cause IDE to show so download progress will be visible. To install (similar command line) , run : PUSHD C:\vs2017offline vs_setup.exe --passive --norestart --wait --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Net.Component.3.5.DeveloperTools --add Microsoft.Net.Component.4.7.1.TargetingPack --add Microsoft.VisualStudio.Component.NuGet --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.VisualStudio.Component.Roslyn.LanguageServices --add Microsoft.VisualStudio.Component.Static.Analysis.Tools --add Microsoft.VisualStudio.Component.Unity POPD Note that Unity3D package can be included entirely (shortening the "--add" packages command line) to just two entries. Also, above install command line supresses reboot, it may be needed to reboot after installing.
  9. Debugging update on Windows for : KSP 1.4.3 build 2152 Unity3D 2017.1.3p1 Visual Studio 2017 v15 Original Instructions are mostly OK except for : - debug version of Unity player needs to be named "Unity.exe" (see notes below) - mklink command now needs to be "mklink /J Unity_Data KSP_x64_Data" (case insensitive, see notes below) [NOTES] If debug player is not named "Unity.exe", unity addon will not recognize it and will present empty "Select Unity Instance" window, offering network debugging via "Input IP" option where it needs both IP address and PORT. For IP address its simple, if VS debugger and game are on same machine but, there will be problem with PORT since (at least in my case) debug player changes port with each game run. Debug player is looking for Data folder named as "NameOfEXE_Data". [/NOTES] Note also that because KSP 1.4.x now runs on new version of Unity3D, old debugger addons no longer work (at least in my case, your expirience may differ) for example Xamarin or older VS2015. ... and yes yes i know i necropost, but to me this is "official" thread about debugging, and this is where i first got a working debug. I felt it needed updating. Paging dr. @sarbian please as time permits to update OP. Thanks in advance !
  10. It's been quite a while (almost a year) since i last did some coding in KSP. To cut the story short : i tried searching and it didn't help. I guess my case is a little specific. When i start my VS 2017 Community and look at offered project templates, there is no "Class Library (.NET Framework)" i need to make a plugin. Note that my VS 2017 install is running purely from OFFLINE installer created using vs_community.exe as so : vs_community.exe --layout c:\vs2017offline --add [one.of.many.packages] Note that i used multiple --add command line arguments and that running the above does download packages. What i'm having issue with is that i can't guess which package(s) will cause IDE to show "Class Library (.NET Framework)" template. If i load old project (which i want to avoid using as "template") i can edit project preferences and i can see "class library" option. If i choose "blank project" template, project preferences are not available. Online/download from IDE is not an option since i want to save on network usage on any subsequent reinstalls, so i want a single download of all required packages and then actual install on target machine. Note also that due to KSP being switched to Unity 2017 and me needing to have debugging facilities (Tools for Unity VS2017 package) forced me to abandon VS2015 (which did not suffer from the above problem). References: Create and offline installation folder @ MS Visual Studio Community 2017 component directory @ MS, i used this in conjuction with UI for selecting workloads and then to figure out what packages i need (so far i did not see option to create local copy of packages from UI as i can with command line). Currently, i'm trying to download whatever is missing from VS installer UI, hoping to identify missing packages...
  11. Oh and one more thing ... I don't know if this was reported before : when pulling extremely heavy payloads, craft tends to go all wonky and Kraken messes it up. I made a "submarine" (to be precise a Bathysphere) that uses IW-50 winch attached to four USI floats and USI Otter impeller . Main lander can that houses a scientist and scientific instrumentation are linked below winch. Negative buoyancy is achieved using Jatwaa's MOIST!UWT mod (added intake and a fuel tank at very bottom). Problem is that UWT mod introduces CompressedLiquid resource which is VERY heavy and only a tiny amount is required. If not careful, one can easily add 100 tonnes in no time at all. Lowering the pod is not a problem, but as soon as i tried to raise it, Kraken messed up the platform and bugged the winch, freezing it at about 20m of cable length claiming it can't retract because of blockage. I started with a probe core and build from there. Build was kind of in reverse because the manned lander can is attached to winch. I did this since i needed to maintain view focus on the pod, not the platform. Anyway the pics
  12. I've created a new github issue for two more-less minor enhacements : 1. Adding "stop" action hroup for winches (haven;t found any in SPH/VAB) 2. Adding winch part with centered cable for vertically mass-aligned payloads
  13. Feature request (or separate plugin) : manually bind craft to particular contract ? If there is such feature or plugin please direct me to it. Quite often i have multiple long term DMOS missions and i guess trying to sort them is part of "mission management experience" so i also ask if this makes sense or not. Currently, i name my crafts with agency/body/instrumentation/orbit parameters and then manually match them against contract list in CapCom.
  14. fatcargo

    [WIP] Infernal Robotics - Next

    And a side note for future reference : i just remembered the Sequencer for IR. It is ok as it is, but it got me wondering : would it be possible to create IR-driven compound part (basically a pre-built assembly) that contains Sequencer cfg ? Such part would be pre-programmed and built either by a part creator or player. Individual IR-parts would not be accessible in-game, only the whole assembly and only with predefined Sequencer input controls. This, combined with IR parts non-collision should allow for mechanically believable assemblies. Does any of this appeal (or even makes sense) to anyone ?
  15. fatcargo

    [1.3] Procedural Wings

    @jrodriguez Being the one to update B9 for 1.4.2 (big thanks !), i'm asking if this plugin supports anything with more complex geometry than planar surfaces like boxes, tubes or hollow spaces enclosed with multiple colliders ? The UI B9 Pwings offers is something i've never seen in any other plugin, so at least i'm willing to learn more about it before spending time making models.