Jump to content

[1.12.x] Editor Extensions Redux released (with SelectRoot merge. StripSymmetry & NoOffsetLimits)


linuxgurugamer

Recommended Posts

  On 5/22/2016 at 8:02 PM, linuxgurugamer said:

I think what he wants to know (and so do I), is what is that cheat option for?  As he said, you can already clip parts without it.

Expand  

Exactly correct, sir.  Using the stock function, I place parts (batteries, MechJeb) inside other parts using the translation gizmo.  I also use that gizmo to "slide" a nosecone and other parts down onto parts that would be exposed to the airstream.

Edited by Apollo13
Link to comment
Share on other sites

  On 5/22/2016 at 8:16 PM, Apollo13 said:

Exactly correct, sir.  Using the stock function, I place parts (batteries, MechJeb) inside other parts using the translation gizmo.  I also use that gizmo to "slide" a nosecone and other parts down onto parts that would be exposed to the airstream.

Expand  

The name (and description) is a bit misleading: it's nothing to do with clipping parts into others, it just allows to use the same stack attachment nodes multiple times.

Eg.: Place an Mk1 Pod, then a tank below that on the node, then add a second tank at exactly the same node, so both are attached to the Mk1 bottom node. In the editor, you can notice this because a 'used' node will continue to show as available, and will accept anything attached to it.

And the reasons why this is risky: fuel routing can sometimes get very screwy, and some parts do end up very clipped into each other and cannot handle that without exploding.

Link to comment
Share on other sites

  On 5/22/2016 at 10:06 PM, swjr-swis said:

The name (and description) is a bit misleading: it's nothing to do with clipping parts into others, it just allows to use the same stack attachment nodes multiple times.

Eg.: Place an Mk1 Pod, then a tank below that on the node, then add a second tank at exactly the same node, so both are attached to the Mk1 bottom node. In the editor, you can notice this because a 'used' node will continue to show as available, and will accept anything attached to it.

And the reasons why this is risky: fuel routing can sometimes get very screwy, and some parts do end up very clipped into each other and cannot handle that without exploding.

Expand  

Thank you for that concise explanation.

Link to comment
Share on other sites

@linuxgurugamer I'm new to the Github stuff so I'm not sure if my pull request worked as expected.

Basically I found myself wishing for a possibility to use the H hotkey to horizontally align along the other horizontal axis (z-axis).

Only a very minor change was needed to extend EditorExtensionsRedux.cs to use the H hotkey (or whatever the user has set) for x and Shift+H for z axis.
I would have preferred to use the mod-key but mod+H is already taken by HyperEdit :(

Link to comment
Share on other sites

  On 5/29/2016 at 11:53 AM, OliverPA said:

@linuxgurugamer I'm new to the Github stuff so I'm not sure if my pull request worked as expected.

Basically I found myself wishing for a possibility to use the H hotkey to horizontally align along the other horizontal axis (z-axis).

Only a very minor change was needed to extend EditorExtensionsRedux.cs to use the H hotkey (or whatever the user has set) for x and Shift+H for z axis.
I would have preferred to use the mod-key but mod+H is already taken by HyperEdit :(

Expand  

That would be a nice addition, but I don't see it on Github yet.

If it's a simple change send me the file and I'll add it manually.

 

Thanks

Link to comment
Share on other sites

  On 5/29/2016 at 2:49 PM, linuxgurugamer said:

That would be a nice addition, but I don't see it on Github yet.

If it's a simple change send me the file and I'll add it manually.

 

Thanks

Expand  

It's this one: https://github.com/OliverPA77/EditorExtensionsRedux/pull/1/files

I created a fork, then a branch and a pull request but apparently the PR is now within my fork and not visible to you?
Before this I tried to create the PR in your project site but it didn't let me.

Btw. I've also implemented a shortcut to open the fine adjust window (including setting in settings window) and am now going to have another new setting that opens and closes it automatically whenever the translate/rotate gizmos are activated. The shortcut is definitely convenient but I'm not sure yet how the auto-thing is going to be like...

Edited by OliverPA
Link to comment
Share on other sites

  On 5/29/2016 at 3:04 PM, OliverPA said:

It's this one: https://github.com/OliverPA77/EditorExtensionsRedux/pull/1/files

I created a fork, then a branch and a pull request but apparently the PR is now within my fork and not visible to you?
Before this I tried to create the PR in your project site but it didn't let me.

Btw. I've also implemented a shortcut to open the fine adjust window (including setting in settings window) and am now going to have another new setting that opens and closes it automatically whenever the translate/rotate gizmos are activated. The shortcut is definitely convenient but I'm not sure yet how the auto-thing is going to be like...

Expand  

Try creating the pull request again, it looks like it should work.

you might need to merge the branch into the head before doing the pull request

Re. the shortcut, I'll think about it, but am concerned about too many keyboard shortcuts.  But you can't have it close automatically, because someone might be doing a number of adjustments, flipping between the two gizmos

Edited by linuxgurugamer
Link to comment
Share on other sites

  On 12/9/2015 at 2:09 PM, linuxgurugamer said:

Only one click needed. Just click on the part you want to be the new root.

Expand  

I noticed that the one-click functionality interferes with the recent stock ability to also reroot floating subassemblies (transparent sets of parts disconnected from the main craft and set aside while editing). It simply refuses to do anything with floating sections.

Would it be very difficult to add that ability to SelectRoot? If not, at least make it not interfere or revert to stock behaviour when I try reroot a floating subassembly. I would prefer the awkward stock two clicks than it not working at all, I encounter this issue surprisingly often.

Link to comment
Share on other sites

  On 5/29/2016 at 3:13 PM, linuxgurugamer said:

Try creating the pull request again, it looks like it should work.

you might need to merge the branch into the head before doing the pull request

Re. the shortcut, I'll think about it, but am concerned about too many keyboard shortcuts.  But you can't have it close automatically, because someone might be doing a number of adjustments, flipping between the two gizmos

Expand  

Pull request came through, thanks

Link to comment
Share on other sites

If you want to have a look at the hotkey for the fine adjust window: https://github.com/linuxgurugamer/EditorExtensionsRedux/compare/master...OliverPA77:hotkeyFAW?expand=1
There's also a binary as draft release to try it out real quick.

I put "None" as default for the new hotkey so if a user wanted to assign it they'd have to do it consciously without the mod spamming the keyboard with unwanted shortcuts. It's a good compromise, no? Have a look, if you like it I'd create a PR...

The auto opening/closing of the window actually works quite nicely regarding the key-controlled adjustments. You open translate/rotate gizmo and the window opens. You switch to another gizmo and it closes:

// automatically show fine adjust window when offset or rotate gizmo are active
if ((GizmoEvents.offsetGizmoActive || GizmoEvents.rotateGizmoActive) && cfg.AutoFineAdjustWindow && !_fineAdjustWindow.isEnabled()) {
  _fineAdjustWindow.Show();
}
// automatically hide fine adjust window when offset or rotate gizmo are inactive
if (!GizmoEvents.offsetGizmoActive && !GizmoEvents.rotateGizmoActive && cfg.AutoFineAdjustWindow && _fineAdjustWindow.isEnabled()) {
  _fineAdjustWindow.CloseWindow();
}

But currently the fine adjust window also removes the snapping feature when using the mouse and this would need to go to be useful altogether.

Btw. any particular reason why the fine adjustments are triggered by GetKey and not GetKeyDown? It happens quite regularly that the part is moved too far...
 

Link to comment
Share on other sites

  On 5/29/2016 at 5:35 PM, swjr-swis said:

I noticed that the one-click functionality interferes with the recent stock ability to also reroot floating subassemblies (transparent sets of parts disconnected from the main craft and set aside while editing). It simply refuses to do anything with floating sections.

Would it be very difficult to add that ability to SelectRoot? If not, at least make it not interfere or revert to stock behaviour when I try reroot a floating subassembly. I would prefer the awkward stock two clicks than it not working at all, I encounter this issue surprisingly often.

Expand  

I've created this as an issue on Github so I don't lose track of it

Link to comment
Share on other sites

  On 5/19/2016 at 12:16 PM, linuxgurugamer said:

Just released 3.2.12:

Fixed rotation gizmo to not angle snap when anglesnap is off
Replaced code which did FindObjectsOftype with GizmoEvents class for performance improvement
Updated FineAdjustments window to detect which gizmo is active
 

@awang I just released 3.2.12, should fix your issue.  Please let me know

Expand  

Sorry, I somehow managed to miss this back then. Performance is indeed much better. Thank you!

Link to comment
Share on other sites

@linuxgurugamer Another pesky request for EEX to revert to stock behaviour in a specific circumstance: can EEX please, please obey me when I tell it to switch symmetry modes, or get a setting to stop it from forcing symmetry modes the way it does?

Alternatively, if that is not possible somehow, is it possible to get some kind of master on/off switch to completely disable EEX and revert to full stock behaviour just for those moments when I need to do something that the stock editor is perfectly ok with me doing?

 

Context and some frustration venting:

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 6/11/2016 at 10:36 AM, swjr-swis said:

@linuxgurugamer Another pesky request for EEX to revert to stock behaviour in a specific circumstance: can EEX please, please obey me when I tell it to switch symmetry modes, or get a setting to stop it from forcing symmetry modes the way it does?

Alternatively, if that is not possible somehow, is it possible to get some kind of master on/off switch to completely disable EEX and revert to full stock behaviour just for those moments when I need to do something that the stock editor is perfectly ok with me doing?

 

Context and some frustration venting:

  Reveal hidden contents

 

Expand  

Could you raise this in aGithib issue, please. I'm in the middle of finishing up another mod, am also away for avfew days, and don't wan v o lose this.

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
  On 6/22/2016 at 8:58 PM, Majorjim said:

This seems to work fine in 1.1.3. :)

Expand  

Really I am pretty sure it disabled itself for me because its an incompatible version?

Though if you edit the .version to add 1.1.3 as the max version it should load, but it does not for me.

Edited by selfish_meme
Link to comment
Share on other sites

  On 6/23/2016 at 3:05 AM, selfish_meme said:

Really I am pretty sure it disabled itself for me because its an incompatible version?

Though if you edit the .version to add 1.1.3 as the max version it should load, but it does not for me.

Expand  

Well I updated the game, loaded it and I am in the editor using all the tools. No offset limit, surface attach, symmetry. They all work and those are the only parts I use.

Link to comment
Share on other sites

  On 6/23/2016 at 3:05 AM, selfish_meme said:

Really I am pretty sure it disabled itself for me because its an incompatible version?

Though if you edit the .version to add 1.1.3 as the max version it should load, but it does not for me.

Expand  

You know, there IS a reason I put in code to prevent it from running on incompatible versions.  The .version file is used by AVC, but the code in the mod uses the compiled-in version.

And yes, I did get it updated for 1.1.3.  Nothing new, just updated fro compatibility.

Edited by linuxgurugamer
Link to comment
Share on other sites

  On 6/23/2016 at 11:20 AM, linuxgurugamer said:

You know, there IS a reason I put in code to prevent it from running on incompatible versions.  The .version file is used by AVC, but the code in the mod uses the compiled-in version.

And yes, I did get it updated for 1.1.3.  Nothing new, just updated fro compatibility.

Expand  

It works for me out of the box for 1.1.3. What gives?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...