-
Posts
1,083 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by Xyphos
-
Updated to 1.7 several weeks ago, forgot to update this thread. I've added a UI, disable option, and Robotics compatibility since initial release. I'll add KAS support for the harpoons later, sorry for the late reply. (sorry for the necro post, but I didn't see a reason to start a new thread for the update.)
-
CelestialBody.grav in m/s?
Xyphos replied to Xyphos's topic in KSP1 C# Plugin Development Help and Support
idk how to write the tiny two, lol edit: ASCII 253 -
CelestialBody.grav in m/s?
Xyphos replied to Xyphos's topic in KSP1 C# Plugin Development Help and Support
That worked, thanks! -
I'm trying to display the Gravity constant of each celestial body, but it's not displayed as m/s so how do I convert?
-
I'm trying to create a scrolling options panel but the options won't scroll for some reason. I was wondering if anyone knew the "sanitary" useage for it? UPDATE: I figured it out by accident. my scroll list content didn't have a sizer so the scroll list didn't know how to scroll. here's a sample for everyone to learn from: var partsList = new DialogGUIVerticalLayout(); partsList.AddChild(child: new DialogGUIContentSizer(widthMode: ContentSizeFitter.FitMode.Unconstrained, heightMode: ContentSizeFitter.FitMode.MinSize)); partsList.AddChild(child: new DialogGUIHorizontalLayout(new DialogGUILabel("Row 1"))); partsList.AddChild(child: new DialogGUIHorizontalLayout(new DialogGUILabel("Row 2"))); partsList.AddChild(child: new DialogGUIHorizontalLayout(new DialogGUILabel("Row 3"))); var scrollList = new DialogGUIScrollList( size: listSize, /* this is a pre-defined Vector2 */ hScroll: false, vScroll: true, layout: partsList );
-
How do I save/load plugin settings?
Xyphos replied to Xyphos's topic in KSP1 C# Plugin Development Help and Support
thanks! that saves me from having to write a ton of [de]serialzation code! -
I have an idea for a new mod, but I have no idea how to implement it. from inside either vessel editor, I want to dynamically obtain a list of all celestial bodies, including mod celestial bodies, and obtain their basic information such as gravity and atmosphere. edit: I'll take a peek at KER for this also I want to be able to spawn a dynamically generated subassembly when a button is clicked, I know UI so the button callback is easy to implement, just don't know how to spawn [connected] parts. edit: I need help with this one!
-
I like having a small NavBall but I hate having to squint to read the Extended Burn Indicator. Because the Extended Burn Indicator scales with the NavBall, I suggest either adding a scale slider setting in the Settings Menu or move the burn information to a new tab in the new Mode Panel. Thank you for your consideration.
-
from that thread, I've gathered the info required: new DialogGUIImage( new Vector2(0.0f, 0.0f), // image size, in pixels; (-1, -1) would stretch to fit, (0,0) would be a zero-pixel size (hidden) new Vector2(0.0f, 0.0f), // image location in pixel coordinates Color.red, // color mask loadedImage) thanks!
-
Yeah, I already know about SAS AutoPilot, I'm the Author of SASAG on CKAN :p I wanted to rotate a vessel to point a specific direction (East, zero pitch, zero yaw) so I could automate gravity turns and circulation burns, and that's not possible with stock SAS unless it's pointing to a maneuver node. I'll look over your code, and see if I can find anything useful. thanks
-
[v1.5] Can't access cheat/debug menu
Xyphos replied to Xyphos's topic in KSP1 Technical Support (PC, unmodded installs)
weird. now it works again and I didn't touch any of the settings -
@Redshift OTF Speak of the mod maker, and s/he shall appear. (...eventually.) Your idea of adding GUI support for every part, reminds me of the problem FullAutoStrut faced before I added a GUI to that, and so I got to thinking, maybe I could add a similar GUI and functionality to Buoyancy Control too. I'll work on it, but understand it might not happen anytime soon, I'm mostly involved with my career and only play/mod in my spare time, if any.
-
CKAN / NETKAN submissions?
Xyphos replied to Xyphos's topic in KSP1 C# Plugin Development Help and Support
Thanks, you're awesome -
CKAN / NETKAN submissions?
Xyphos replied to Xyphos's topic in KSP1 C# Plugin Development Help and Support
so I shouldn't use "v" at all?