sarbian

Optional MechJeb Modules for FAR, NEAR & km_Gimbal 2/3 (July 16)

341 posts in this topic

Here is some Mechjeb extension plugin. I can't edit MechJeb OP so they will live here for now. You need the latest dev version of MJ for them to work.

All of them are under GPL3 license.

FAR Support

Basic support for FAR inside MJ. For now it only adds surface control info inside MJ. The control should not wobble as much.

Download

Source

km_Gimbal 2.0 Support (I won't build this one anymore)

Full support for dtobi km_Gimbal 2.0 (the one currently in B9). Original code by NathanKell

you NEED Mechjeb2 dev version #316 or later for this to work

Download

Source

km_Gimbal 3.0 Support

Full support for the km_Gimbal 3.0 bunlded in my current version of SSE. Original code by NathanKell, patch by Ozraven

you NEED Mechjeb2 dev version #316 or later for this to work

Download

Source

ModuleRCSFX Support

Full support for the ModuleRCSFX bunlded used in RO/RSS. Original code by me and Starwaster

you NEED Mechjeb2 dev version #507 or later for this to work

Download

Source

btn_donate_SM.gif

Edited by sarbian
5 people like this

Share this post


Link to post
Share on other sites

Lovely, I've been watching the dev versions and seeing the FAR support commits with glee

Share this post


Link to post
Share on other sites

The FAR extension seems much less inclined to flip the rocket over when doing the gravity turn on an ascent. Maybe it's just confirmation bias or is that expected?

Share this post


Link to post
Share on other sites

Rocket flipping over with or without the ext is the turn shape set too low. Set it around 60% for FAR :)

This is a cut-paste of an reply I made on MJ bug tracker avout FAR ext:

The problem is that most of FAR is stateful, so I can not ask for "how much drag would I get if the ship was moving at this speed and turned this way" without changing how the ship currently fly.

For some operation I can save the state, do what I need to, and then restore it.

But for some other I can't do that. For example the re-entry simulation run in a separate thread, so if I can not save/query/restore data without totally destroying the flight model. I have some idea on how to overcome this but I don't know if they'll work until I try them.

Share this post


Link to post
Share on other sites

I run it at 70 to 80% normally and 14 to 24km start of turn - I fly a lot of very large, lumpy rockets so I'm used to dealing with it. Just seems to be less prone to it now.

Maybe ask ferr4m if he could add bits to his API that might help you? If such things exist.

Share this post


Link to post
Share on other sites

ferr4m already added some patch I submitted but he can't rewrite the whole plugin.

I'll find a way to do it, it just need time :)

Share this post


Link to post
Share on other sites

I hit a bug with the Blizzy78 Toolbar support. I had a craft that had MJ modules on two stages (a "smart" booster stage and a capsule). In orbit, I staged to separated the two stages, and switched to the booster. Once I had it on a suborbital trajectory, I switched back to the capsule. The MJ modules had disappeared from the toolbar. I returned to the space center and went back, and they appeared again. Without the toolbar support, the MJ menus do not disappear like this.

Share this post


Link to post
Share on other sites
...The MJ modules had disappeared from the toolbar. ....

Similar, to an extent, to the issue I am experiencing. I have MJ main button along with a few MJ's modules buttons (and other mods) on the toolbar. I repeatedly had the main MJ button disappear from the toolbar (only that one button, all others stay fit) when I move a vessel to the launchpad. Sometimes the button is present but not functional (no MJ main window works), but then the button itself disappears during ascent. If I then switch to the same vessel after launch, everything works as expected.

Share this post


Link to post
Share on other sites

Sorry for that one. I'll look into it tonight.

Share this post


Link to post
Share on other sites
I hit a bug with the Blizzy78 Toolbar support. I had a craft that had MJ modules on two stages (a "smart" booster stage and a capsule). In orbit, I staged to separated the two stages, and switched to the booster. Once I had it on a suborbital trajectory, I switched back to the capsule. The MJ modules had disappeared from the toolbar. I returned to the space center and went back, and they appeared again. Without the toolbar support, the MJ menus do not disappear like this.

As a follow-on, any MJ windows that are open when switching windows remain - so, if the main MJ window is open, I can access everything. FWIW, I don't use AR202 case. I add the module to pods.

Share this post


Link to post
Share on other sites

I just uploaded a new version of the toolbar module that should fix all the disappearing and not working buttons.

Share this post


Link to post
Share on other sites
I just uploaded a new version of the toolbar module that should fix all the disappearing and not working buttons.

For me, that new version has solved the issue with the main MJ button. Many thanks.

Share this post


Link to post
Share on other sites
I just uploaded a new version of the toolbar module that should fix all the disappearing and not working buttons.

I confirm it fixed my bug. Thank you.

Share this post


Link to post
Share on other sites

Ok, I have MJ (136) working with .23, but not with the Blizzy toolbar. The window is just a little square blot.... Is there a new MJ toolbar.dll that needs to be downloaded. Many thanks..

Share this post


Link to post
Share on other sites
You re sure the icons are here ?

Try with blizzy updated dll http://forum.kerbalspaceprogram.com/threads/60863

Trying again now. Will update / edit with results in just a moment... Thanks...

EDIT: Still no go, getting this error in ksp.log

[LOG 06:30:36.646] saving toolbar settings (EDITOR)

[ERR 06:30:36.658] MechJeb module MechJebModuleRoverWaypointWindow threw an exception in OnSave: System.NullReferenceException: Object reference not set to an instance of an object

at MuMech.MechJebModuleRoverWaypointWindow.OnSave (.ConfigNode local, .ConfigNode type, .ConfigNode global) [0x00000] in <filename unknown>:0

at MuMech.MechJebCore.OnLoad (.ConfigNode sfsNode) [0x00000] in <filename unknown>:0

[LOG 06:30:36.762] [MechJeb2] MechJebModuleMenuToolbar adding Button: Delta-V_Stats for MechJebModuleCustomInfoWindow

Blizzy's toolbar is visible on launch pad, and MJ is not in toolbar, but is on the side??

Edited by drtedastro
more info

Share this post


Link to post
Share on other sites

I can confirm his bug Sarbian, FAR works fine with the toolbar, the MJ button just does not seem to be willing to make an appearance.

Share this post


Link to post
Share on other sites

FAR and Kerbal Manifest are working A-OK with the toolbar...

Share this post


Link to post
Share on other sites

Ok, i'll have a look after work in 4~5H

Share this post


Link to post
Share on other sites
Ok, i'll have a look after work in 4~5H

No problem. No hurry.... Just wanted to let you know... And thanks Lucchese for the confirmation.... Cheers.

Share this post


Link to post
Share on other sites

The Toolbar Support is updated with the version 1.2 of Blizzy addon and the last version of MJ addon.

Works here. The only thing I know not to work is custom windows with the same name. If you do that you will have to rename one and reload MJ (a return to the space center should do it)

Share this post


Link to post
Share on other sites

Since I use the Delta-V window all the time, I thought I would go ahead and make an icon for you to include in the toolbar for it.

Delta-V_Stats.png

If I find myself randomly making any other icons, I will be happy to send them your way.

I was also wondering if you were looking to avoid color in your icons. If not, then I think making the AP buttons (Ascent, Landing, Maneuver, Redezvous, Smart A.S.S.) have limited color accents to visually separate them from the planner/info display windows. Here is an example of what I mean:

Your Maneuver Node Editor icon is white, while this alteration is used for the Maneuver Planner:

Maneuver_Planner

Share this post


Link to post
Share on other sites

I'd like to have a go at the buttons, please. A few questions, seeing as I've never tried anything like this before. Alpha means transparency, right?

Do I have to change anything in photoshop to get alphas?

24x24 means 24px by 24px totals, like pixel art kinda?

Any specific requirements?

I'm totally new to this so I'll just be trying out skills, so don't expect art.

Thanks for all your help.

Share this post


Link to post
Share on other sites

Yes, alpha is transparency.

I don't know much about photoshop :(

Yes again, a 24 pixels square.

Nothing too specific. Limit text use.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.