Jump to content

sarbian

Members
  • Posts

    5,039
  • Joined

  • Last visited

Everything posted by sarbian

  1. Come on. This is nothing more than the base BepInEx. There is nothing specific to KSP in there. Sure, it lets you load code and patch things, but calling that a KSP mod tool is a bit premature. The lack of official mod support makes sense from the dev perspective given the current state of the game. But the current gold rush for 1st mod and multiplication of method to loads mods does not bode well for the state of modding when the official support come. And a concrete statement on what is actually planned for the official mod support would be quite welcome to at least know where we are going and avoid wasting our time. The current code and its "everything mod is a Unity Bundle" looks bleak from my chair...
  2. It seems that people forgot about the advanced MM options. Add "-nyan-nyan -ncats" to your KSP launch options. It will change your loading experience drastically.
  3. Ideally, yes, but it would require to restart the game or a larger code change. And we had far more post asking why MJ was not always on, than post complaining about it being always on since we changed it.
  4. I just did a test with stock parts and a similar staging and it worked fine. My guess is that MJ does not understand properly your separator motors. What kind of engine do you use for that ? If you are not using the stock Sepratron then can you try with those ? No. The current code take over all the axis controls and it won't change at this point.
  5. // detect if this part is an SRB, will be dropped in the next stage, and we are below the enabled dropSolidsLeadTime public bool isBurnedOutSRBDecoupledInNextStage(Part p) { return dropSolids && p.IsThrottleLockedEngine() && LastNonZeroDVStageBurnTime() < dropSolidsLeadTime && p.IsDecoupledInStage(vessel.currentStage - 1); } It should move to the next stage if the engine is throttle locked (SRB should be), the displayed current stage remaining burn time (in MJ windows is less than the set time and is decoupled in the next stage. A screenshot of your stages and the MJ dV window may help.
  6. Ok, it pains me to admit it but I agree with Lisias here. But I will merge the change because it will push the problem away from MM. A popup that warns the player and stop the game after the renaming is doable and feels like a good solution that will fix most of this.
  7. All MechJeb release are built on my Jenkins which runs on Linux. dotnet runs fine on Linux and you can use it to build (info). I did not test it but ./dotnet sdk/6.0.400/MSBuild.dll MechJeb2/MechJeb2.csproj should build MJ fine with the current tarball of the .NET 6.0 SDK If you do not want to full dotnet then a simple installation of the Compiler with nuget install Microsoft.Net.Compilers can do the trick, and then you use KSP dll as references. I just tested with mono 6 and it works fine. On Windows the instruction assume you have Visual Studio installed and know the basis of how to use it. You can find threads to help you with that on the forum.
  8. Try with ScaledSpace.SceneTransform as the parent. If it does not work you will have to wait for someone else to help because I will be away for a few days.
  9. I am a bit rusty with all that but I would do GameObject obj = GameObject.CreatePrimitive(PrimitiveType.Sphere); obj.layer = 10; // Scaled Scenery layer float scale = 4f; obj.transform.localScale = new Vector3(scale, scale, scale); obj.transform.parent = ScaledSpace.Instance.transform; obj.transform.localPosition = ScaledSpace.LocalToScaledSpace(kerbin.position);
  10. The view in KSP is composed of multiple camera. And some of those camera uses a different scale than the rest of the world. In the tracking station/map view you basically have the ScaledSpace Camera PlanetariumCamera.Camera (where you have your planets and orbits) and the galaxy Camera (a small cube with the texture of the galaxy background). Those cams only displays objects with the proper culling mask. So if you want your sphere to show up then the GameObject needs to be assigned to the right Layer. You can find a list here . And you will need to use "Scaled Scenery" for your needs. And you will have to search the forum about ScaledSpace and WorldSpace to place the item where you actually want them if you want to use orbits or "real" space coordinate. Edit : set FlightCamera.fetch.cullingMask to -1 while in the flight view if you want to better understand what is going on. (or set it to ~(1 << LayerMask.NameToLayer("SkySphere")) to hide everything but the galaxy box)
  11. No, MM calls a game function to do the reload and reloading only one item would mean having to dig deep into the KSP loading system. The best I can suggest is to remove most part when you are working on something to keeps the amount of reloaded items to a minimum
  12. Thanks to @NathanKell hard work we can now patch the localization nodes. Support wildcards in nodetype matching so you can do @*,* {} Support # in value names since loc names start with # Tell Localizer to reload the language after MM finishes ModuleManager.4.2.2.dll ModuleManager-4.2.2.zip
  13. People have been asking their questions here for years without any problems. I do not see the point of having a new thread
  14. And break any mods that needs more than 2 digits of precision. And I won't even go near the argument that using round is more accurate.
  15. It was doing it with any item that can not display a value in the Editor. Fixed : MechJeb2-2.14.1.0.zip
  16. Here is a new release for KSP 1.12.x only. 2.14.0 UI refactor of the Ascent Guidance Improved Principia node Execution Performance fix and optimization Stuff Many thanks to the contributors of this release. MechJeb2-2.14.0.0.zip
  17. It is exactly how unity works. And since KSP loads its asset in the Update loop it is not surprising that it does stutter, cats or not cats. Obviously, the stutter is a bit harder to notice with static images.
  18. There is no need to diagnose anything. SmartRCS disable rotation or translation by changing the RCS config. It does not save the original config and so it can not restore it when switched off. Saving the conf is not trivial, but far from impossible. The main issue is people willing to code it. I am not among those people.
  19. This should be fixed with the new CustomBarnKit-1.1.22.0.zip thanks to @siimav
  20. Ah. Code is always so easy. The repo is here. I will be waiting for your minimalist PR.
  21. It has not. The certificate is valid until the 3rd of December 2021 and has been updated on the 4th of September. If @bghyt has those errors then he has a problem on his device or his ISP is doing funny things.
×
×
  • Create New...