Jump to content

[1.8+] DebugStuff - (2020-06-29) See the hidden secrets of the game objects


sarbian

Recommended Posts

Debug stuff is a simple plugin that allows you to display the transform & colliders of a part in wireframe and display the part Hierarchy in a window. It was created to help understanding how the new legs work.

The window is opened with ALT P and you select an Object by holding shift and moving the cursor over your ship. The dump button will save the content of the window to your log. You can change the current mode between PART, UI and OBJECT. Each one will target specific type of object. The -/+ button limit how far up in the object parent the display goes.

Licence : MIT

Source : https://github.com/sarbian/DebugStuff

Download : DebugStuff-1.7.0.0.zip

 

DebugStuff1.png DebugStuff2.png

 

DebugStuff3.pngDebugStuff4.png

Edited by sarbian
Link to comment
Share on other sites

Just to double check, you reuploaded the fixed version with the working ALT-P yes? And are we talking ALT-P or MOD-P?

FYI: ALT-P conflicts with the Vessel Mover mod by Baha; MOD-P conflicts with Part Commander and Pathfinder.:P

I know this is probably a one and done type deal and you're off busy slaying 1.1 krakens or what have you, but any chance of some type basic out of game little settings file to set your keybind (in the off chance that's the issue, if not, ignore request)? Obviously, low priority, back of the line, I know. It's just that I have high hopes for this mod, not having access to UNITY, but currently, no workie workie.

I did the download again (not the source), unzipped, put the debug folder with the dll + license in my game data folder. Nada. Tried in flight scene and vab.

Any suggestions anyone has would be much appreciated.

Cheers.

Linux 64 bit btw, still using the ancient and out dated 1.0.5...wait, here's a thought - does this even work with 1.0.5 or is it for 1.1-pre only?

@sarbianSo when you say 1.1 in the title, do you mean only 1.1 as in no 1.0.5? Damn I'm a swift one. Anyway, as I mentioned above, ALT-P & MOD-P have a number of conflicts, which may or may not concern you. I look forward to trying this in 1.1.:D

Cheers.

Link to comment
Share on other sites

28 minutes ago, sarbian said:

1.1 is out. You can switch to UI mode (yes the button are horrible, I ll do better next time) and display the hierarchy of the stock UI. (Also a GameObject mode but it is not finished)

https://ksp.sarbian.com/jenkins/job/DebugStuff/3/artifact/DebugStuff-1.1.0.0.zip

 

 

You just got 2 likes. One for the mod, and one for the toolbar button :)

Link to comment
Share on other sites

DebugStuff-1.2.0.0.zip

Adds a working object mode (but you can only select object with a collider), improve the drawing performance and allow switching between collider and mesh display.

Be aware that the object mode has no limit on the hierarchy, so it can make thing a "bit" slow if you select an item that will bring the whole scene with it. I ll add a limit later. And I will cull what is not visible too ...

Edited by sarbian
Link to comment
Share on other sites

  • 2 weeks later...

And now 1.3 is out.

  • Bugs fix to the Object mode.
  • Limits to how much parents are displayed in object and UI mode
  • Swtich to turn On/Off each displays
  • Bounds displays (a lot faster than mesh)
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 3 weeks later...
  • 2 months later...

Woah! Do you think this still runs in 1.2 or would it need an update? - I'm going to test it on my install in a few.

EDIT: @sarbian it appears as though only the "Labels" button functions in 1.2. - I cannot view colliders or other options when they are selected and shift over parts. :(

Edited by Avera9eJoe
Link to comment
Share on other sites

  • 4 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

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...