linuxgurugamer

Members
  • Content count

    6412
  • Joined

  • Last visited

Community Reputation

3841 Excellent

About linuxgurugamer

Recent Profile Visitors

9833 profile views
  1. Wondering how this is going? I'm working on a Suicide Burn mod, and would prefer to not have to reinvent the wheel. My mod is working with BetterBurnTime, but due to a licensing issue, I won't be able to use that when I release. So I was wondering if I could help you with this, to both of our benefits.
  2. I wanted to have a part which did multiple science experiments (using stock experiments), but didn't want those experiments available in this part until they were available in the stock tree. Roverdude let me use one of his models so I now have 4 science parts. Actually a better solution in this case.
  3. I wanted to add existing functionality of existing modules. I solved the problem by adding new parts with what I needed Thanks for replying
  4. This code is being used after a suicide burn, the velocity is minimal and the vessel is/should be upright
  5. but depends on the planet. Just got it working, here's the code if anyone else would be interested: var thrust = GetThrustInfo(FlightGlobals.ActiveVessel); Vector3d CoM = FlightGlobals.ActiveVessel.GetWorldPos3D(); double localg = FlightGlobals.getGeeForceAtPosition(CoM).magnitude; var throttle = (FlightGlobals.ActiveVessel.totalMass * localg) / thrust;
  6. Subject says it. I have the total thrust available, and the vessel mass. What's the calculation to set the throttle to balance against gravity? Thanks in advance
  7. @Snark Came across a very bad issue here. I was building a new mod which will be using BBT, and am getting the following errors: Severity Code Description Project File Line Suppression State Warning The primary reference "BetterBurnTime" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v3.5". SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the framework assembly "System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "BetterBurnTime" or retarget your application to a framework version which contains "System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Data.SqlXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "3.5.0.0" in the current target framework. SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. SuicideBurn Warning The primary reference "BetterBurnTime" could not be resolved because it has an indirect dependency on the .NET Framework assembly "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "4.0.0.0" than the version "2.0.0.0" in the current target framework. SuicideBurn This is version 1.5.3 I also forked the repo, and in VS, it says that the target framework is .NET Framework 4.5.2 I fixed it on my system, it compiled cleanly. Apparently I ran afoul of the license. It was my belief that an unchanged copy could be redistributed (the license is: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License), it doesn't say no distribution. But, since I've been told that I can't provide a DLL of the mod totally unchanged, just recompiled, I'm going to provide a series of steps here for you to recompile it for yourself. Install Microsoft Visual Studio Download and unzip the source for this mod from Github Start Visual Studio Select the option to Open an existing project Navigate to where you downloaded the source, open the file: BetterBurnTime.sln Once it opens, right-click on project in the left: BetterBurnTime, it will be the line which DOES NOT SAY Solution. Select the last item in the right-click menu which says Properties In the right-pane, in the list of tabs on the left side, click the one which says: Application Find the dropdown which says: Target framework: Select it and select the entry which says: .NET Framework 3.5. You will be prompted by Visual Studio that it will need to reopen the project, go ahead and allow it to do so. Now, in the left window, find the line which says References, and click the little arrow to the left of that to open it up You might need to open up the BetterBurnTime project first (click the little arrow to the left) Select all entries in that section EXCEPT for the one which says Analyzers Right-click and select Remove, and hit OK when asked Now, right-click the line which says References and select Add Reference..., this opens up the Reference Manager In the left of the window, click Browse Navigate to the Kerbal Space Program folder Find the folder which says KSP_x64_Data and double-click on it Find the folder which says Managed and double-click on it In this folder, find the following files and double-click on each: UnityEngine.UI.dll UnityEngine.dll System.dll Assembly-CSharp.dll You can either repeat the above steps (starting at step # 13) for each file, or you can select all 4 files at the same time by (in Windows) Ctrl-leftClick on each one, then click Add In the top toolbar, there will be a dropdown which says either Debug or Release . Select Release Hit the F6 key to build the project, you can also do the menu item: Build->Build Solution Now in Windows, navigate to the BetterBurnTime folder where you put the source code Open the folder called: src/bin/Release In this folder, you will find a number of files. Find the file called: BetterBurnTime.dll and copy it to the BetterBurnTime folder in your KSP GameData directory My apologies for not being able to provide the DLL. Things like this are why I don't like the No Derivatives licenses, and also why I don't contribute to mods which have that kind of license.
  8. Also, make sure all SAS is disabled on the station except for one, sometimes they will work against each other
  9. Sound like a good idea for a mod. I'll look into adding some sort of filater window to it via The Janitor's Closet, but may be a little while.
  10. I solved it in a different way, created new parts. Putting multiple sensors on a part had a very confusing interface Thanks
  11. Do you have KEI installed? If so, that might be the problem as well, the author has refused to fix some known bug, even with the fix submitted with a PR
  12. I did that on my very first launch, back on 0.25
  13. As long as the mod doesn't save files outside the main KSP directory, you are fine. Congrats on the mod, it's a new take on the craft naming idea. Feel free to look at Persistent Dynamic Pod Names for ideas.
  14. Already there, go to settings and select either/or "Always hide the button"/"Hide the button in the flight scene"
  15. I'm making a science probe, which will initially only have a couple of experiments, but I'd like to be able to upgrade it over time with other sensors. Can this be done via the upgrade system?