r/KSPModDevelopment • u/Felbourn • Sep 22 '15
r/KSPModDevelopment • u/SixHourDays • Sep 21 '15
Question How do you import UI into KSP easily?
Hi everyone! First feels good ;-)
I've been looking for the best way to import UI into KSP. Tradition is to just suffer through the GUILayout etc stuff - which works but is time consuming to write ( I would know, on about page 4 of the stuff...sheesh).
I tried AssetBundles, which I can get to load, but in Unity 4 you need Pro to create them :-(
How has everyone been creating their UI's in their mods?
r/KSPModDevelopment • u/Kerbolev • May 05 '21
Question Hydraulicly activated control surfaces
Anybody know how to have control surfaces use a resource? I’m trying to write a hydraulics mod and I figure I need a plugin to get control surfaces to consume anything.
r/KSPModDevelopment • u/TriggeredSnake • Mar 16 '18
Release Old Parts Redux - Part reimplimentation mod - Now released!
r/KSPModDevelopment • u/SlickStretch • Jan 25 '18
[MOD IDEA] Check yo stagin'
This is a very simple idea that would save me a lot of frustration.
When you're in the VAB and you click the launch button, a window would pop up saying:
Did you check your staging?
[YES] [NO]
If you select [YES] then it proceeds to launch. If you select [NO] then you go back to the VAB to check yo stagin'. (Or continue editing.)
This seems like a really simple idea to me and I was suprised I couldn't find a mod that did this. If I knew the first thing about modding KSP I might try to do it myself.
r/KSPModDevelopment • u/Yuffy_Kisaragi • Nov 30 '15
How do I make engines have minimum throttle settings, but still able to ignite/cut off?
I'd like to be able to have an engine ignite, and then be able to throttle down to a certain value, say, 70% minimum, and also be able to be turned off and reignited.
If I set the min thrust setting to the desired throttle limit, then you can't turn the engine off at all, just down to that throttle level.
r/KSPModDevelopment • u/jkortech • Nov 04 '15
Release ShipSections v1.0 -- Section Your Ships for Accurate Analysis
r/KSPModDevelopment • u/dekyos • Oct 22 '15
Mod idea: Better financing options?
Instead of having contracts have a payout with an advance, what if there was a way through the administration building to acquire funds that could be paid back with interest?
You could tie interest rates into your agency's Reputation percentage, and loans would be paid back in the administration building.
Has a mod done anything like that before?
r/KSPModDevelopment • u/[deleted] • Oct 16 '15
Question How can I add a more info module for my part in VAB?
r/KSPModDevelopment • u/RGBPeter • Oct 14 '15
[Guide] Optimizing .PNG textures to reduce memory footprint
Fist you will need a program called OptiPNG
After downloading it you will notice that double clicking optipng.exe does jack shit. This program needs to be run from a command line.
<I will now assume you never seen a command prompt in your life>
Create a folder somewhere, let say C:\textures, and place the optipng.exe inside this folder.
Place the textures you want to optimize in the same folder.
Open a command prompt by pressing "win+r" and type in CMD
You will most likely see something like C:\Users"your name">. You want to change this folder you just created. Type in cd.. to go down one level. Do this twice so it says C:> and after that type in cd textures your prompt will now read C:\textures
Now type in *optipng.exe -o7 .png to start the process.
When the program has done it's thing you will find the memory footprint of your textures has reduced substantially without losing detail.
<Variables>
-h = help
-keep = keep a back up of the uncompressed files
-o# =replace # with a number between 1-7, changes compression level (1= fast but large 7= slow but small)
Check the optipng.man.pdf file for more variables.
<Tips/notes>
If you add the optipng.exe path to the "Environment Variables" in "System Properties" you can run it as an internal command
The .PNG file format allows for lossless compression so the image quality should not change
I ran a few test on the planet textures from the "Kerbol plus" mod and this resulted in an average size reduction of 12% for colour maps and 25% for normal maps.
r/KSPModDevelopment • u/SixHourDays • Oct 02 '15
Advanced C# - mind blown via Predicates and Lambdas
Hey. Warning - advanced C# ahead! I'm a C++ programmer by day, and I knew a little C# when I started writing my mod.
I've been learn-by-doing as I go, and overall things are going well. StackOverflow is my friend, and that ol debug console lets me know when I null ref my dumb ass.
Delegates were a refreshing upgrade to my patterns, but I knew of them before I started. Yesterday I discovered Predicates, Funcs, Actions, and Lambda. Those are some slick, higher level paradigms!
Being able to traverse a collection, test every element, and && them together is nothing new. Doing it without boilerplate code on one line ...that is really great.
I could praise how many errors we avoid with these functions and how readability improves etc etc....but ill just say im happy I looked it up.
Onward!
r/KSPModDevelopment • u/THE_TADPOLE • Sep 24 '15
Help getting started
Im curious as to what kind of hardware/software I would need to get started modding KSP. Also any good tutorials out there would be great. I figured this would be the place to ask, if not, please ignore and enjoy the rest of your day, "and as always... fly safe"
r/KSPModDevelopment • u/cogbotchutes • Sep 23 '15
Would a Dyson Sphere mod be feasible?
I have had an idea of a Dyson Sphere type mod kicking around in my head for a while. I know there are several severe engine limitations on such a mod, but I wanted to see what you all think of my idea.
So, first off my idea is to have a "sun" like object in the center of the Dyson sphere, surrounded by space, then atmosphere and a ground shell, complete with the basic terrain we already have in ksp(mountains, water, biomes hopefully).
Just in terms of scale, it would almost certainly be impossible to make it as large as one au(or Kerbal au for that matter). From what I understand, Real Solar System Already pushes some peoples machines pretty hard. Instead, what about a Dyson Sphere of about Kerbin size, or 600km? I'm thinking about something closes to Cocoon from Final Fantasy XIII than a real Dyson Sphere. That would make it more reasonable and would still be a ton of fun to fly around I imagine. Still there are a few obstacles that I am not sure could be overcome
Gravity: Now, I know that KSP's engine is meant to calculate gravity around a single body using patched conics. Still, with my idea we would have a "sun" at the center of the Dyson sphere which could serve as the planet as far as the game cares. I'm wondering if it's possible to change the gravity formula of the game so that it would push objects away from the "sun" and be stronger the farther from the center the craft was. Something like F = -g(r)2 with g = 2.72x10-11 so we get 9.8 m/s gravity near the shell's surface. Again, not sure that would work with the physics engine, but it would be a relatively easy hack if possible. One downside to this method is that any sort of stable orbit would be impossible. Any opinions about the size of the sun would be nice. Personally, I'm thinking 10000m.
Terrain: I doubt a concave collision model for the shell would work. Perhaps a hack where the max altitude allowed would be 600km, and it would autokill velocity (and check to see if that change was more than the crash tolerance of a craft's parts.) That would be enough to get a "sea level" (optimistically a sea floor level). Then mountains and continents could be placed as static convex meshes.
Map: I have no idea how this idea would work with the orbital map as we know it. It would need a way to turn half of the shell invisible so the player could see inside. Any ideas here appreciated.
tl;dr: Could someone make a mod where they hollow out Kerbin, put a "sun" in the center, and reverse gravity to make a "Dyson Sphere"?
Edit: Formatting
r/KSPModDevelopment • u/Elick320 • Sep 22 '15
Would the license for the station science mod allow me to branch off an add-on for it?
[Mod link](http://forum.kerbalspaceprogram.com/threads/54774-1-0-4-Station-Science-(v1-5)
Of course I would get no profit as I just want a baseline to work off
r/KSPModDevelopment • u/BeebsTheAstroonaut • Mar 29 '25
Question Why is my Custom Part not showing up?
I'm following this tutorial (https://www.youtube.com/watch?v=VJy5cXd04uk&t=1294s) and I've finished modeling and scripting my part, but whenever I export it, it doesn't show up. I don't know what I'm doing wrong. :/
r/KSPModDevelopment • u/TheFrenchOmelette • Apr 28 '21
Question Mod to sort your Astronauts?
I have recently begun a personal project to recreate the International Space Station with some historical accuracy.
I have, in this effort for historical accuracy, been using the F12 menu to create Kerbals with the names of the real astronauts (modifying the game files to change the last names). Now however, a couple of flights in, I realize that there are just SOO MANY astronauts responsible for the ISS. It seems like it will soon become a pain sifting through all of the astronauts to find the right ones, especially since some fly more than one mission. I have considered 'dismissing' the astronauts whose mission I fly was their last, but I didn't want to have to do so if there was another option. I think it would be cool, when I finally catch up with modern day, to see all the names that went into the ISS.
The only mod that I was able to find, with some creative googling, was a mod called KerbalSorter. However, it seems that the mod doesn't work well in 1.11, or at least it didn't when I tried. If anyone had any other mod recommendations for sorting, or otherwise being organized with my crew, or just regular recommendations for how I might overcome this issue, I would be really grateful!
Thank you for your time, and fly safe!
r/KSPModDevelopment • u/bogy2 • Oct 29 '20
Beginner
Hi I tried making a solar panel mod with animation. The animation works in blender but non in unity. Can somebody tell me how to properly import the animation in unity and male it work?? Thanks
r/KSPModDevelopment • u/ZukoBestGirl • Mar 31 '20
Question Trying to get my feet wet with modding. How does the game store custom filters (categories)? Where can I look?
I like that they added a vanilla option to make custom categories, and I may be willing to do it ingame, but I'm not a big fan of that.
Example of what I mean, there is a default category of "Cross Section Profile" and I can look at 1.5 but I can't filter "only tanks" or "only engines".
I want to make my own categories, like with the "+" icon, but I want it to be something that is plug and play, I can share it, save it, edit it with an XML.
For this I'd need to understand where in the code is this handled, where can I start looking at?
Also how would I find a list of all ingame items?
Ty very much!
r/KSPModDevelopment • u/CrackersAndChips • Mar 21 '20
Question Pressure Curve Calculator for Kopernicus-Made Planetary Atmospheres
Sorry about the name, but I am currently trying to make a custom planet with an atmosphere 100km thick with a 1,400 km radius. I'm totally new to making planets via Kopernicus, and I saw from the KSP forums (specifically those of The White Guardian) that in order to make a proper atmosphere, you needed a pressure curve calculator. Now I want to ask, does anyone know about or have a calculator for atmospheric pressure curves, temperature curves, and temperature sun mult curves? I heard about KillAshley having one, but I doubt that he/she still has it, and that he /she will give it to someone. The assistance is much appreciated.
r/KSPModDevelopment • u/AutoModerator • Oct 01 '18
Mod Post Monthly Simple Questions Thread
The point of this thread is for anyone to ask questions that don't necessarily require a full thread. Even if your question seems slightly stupid, we'll do our best to answer it!
Before you post, maybe you can search for your problem using the search in the upper right! Chances are, someone has had the same question as you and has already answered it!
As always, the side bar is a great resource for all things Kerbal, if you don't know, look there first!
r/KSPModDevelopment • u/crocogator12 • Jun 19 '18
Question TelemachusContinued map replacement?
I've installed TelemachusContinued to do a mission control party, however, the maps in the mod seem to rely on kerbalmaps.com which no longer works.
I've tried replacing the link (tiles.kerbalmaps.com) in the leafletksp.js to ksp.deringenieur.net, but that didn't do anything.
Is there any way of replacing the old source for the maps with the new one?
I don't know anything about ksp mod development so if anyone is willing to give this a look, I would be very grateful.
r/KSPModDevelopment • u/DimDumbDimwit • Dec 17 '17
Mod Idea - Community Sourced Tutorial
Recently one of my friends bought KSP, he is vaguely interested in space but knows almost nothing about space flight. I am finding it really difficult to explain to him all the principles of space flight and KSP rocket design. I realise that the in-game tutorials are adequate for the base game but as we all know 80% of the value of this game comes from mods, I taught him how to install mods and suggested that he get MechJeb, KER and kerbal alarm clock(among others). Then I had to explain to him what Delta-V and TWR are, then I had to explain how to design a efficient rocket(his first attempt at a mun lander used a skipper and the smallest 3.75m tank), the list goes on and I'm still having to explain stuff to him. So what I'm proposing is a mod that guides the user through the process of adding mods which leads onto how to use MechJeb and KER to design rockets(I'm thinking an apollo style mission would be a perfect walk through scenario).Finally how to use other utility mods like KAC and TWP(maybe a Duna rover mission could work here). I can see already this might be a long time investment for the user but I can also see how it could be spaced out a little, they would not need to do the KAC and TWP parts until they are ready to go further than Minmus. Furthermore parts such as gravity assists and space planes could be covered much later on in a users' KSP lifetime. The reason I included community sourced i the title was that IMO there is a lot of non coding stuff to be done here which can easily be done by experienced players TL;DR A mod written by experienced players that guides the user through adding and using basic utility mods and the finer points of rocket and mission design thus eliminating the 'Google it or Quit it response'.
r/KSPModDevelopment • u/Insert_Gnome_Here • Sep 11 '17
Idea: Modular Jet Engines Mod
The stock jet engine system is well known for being an unrealistic kludge.
My solution is to separate the roles of combustion chamber and exhaust.
Two new resources will be added:
ExhaustAir, representing air flowing from the combustion chamber into the exhaust.
Shaft Horse Power (SHP), a massless resource (like electric charge) representing the energy of the turbine shaft.
Here's a proposed diagram:
+------+
Liquid |Intake<----------+
Fuel +--+---+ |
+-------+ | |
| |Intake Air |
| | |
+v------v----------+ |Shaft
|Combustion Chamber+-?-|Horsepower
++------+----------+ |
| | |
| |Exhaust Air |
<-------+ | |
Electric +--v----+ |
Charge |Exhaust+----?----+
+--+----+
|
|Thrust
v(I'm not quite sure where SHP should be produced)
Once this is implemented, other parts, such as propellers (SHP to thrust) and radial combustion engines (Intake Air and Liquid Fuel to SHP) can be designed.
I've never modded significantly before, but I think I can manage to make this work.
Some art assets can come from stock and PorkJet's designs. Others will have to be made for the mod.
I'm no artist, so if anyone's interested in helping with that side of things, I'd appreciate it.
Anybody have any advice or suggestions?
r/KSPModDevelopment • u/JohanGrimm • May 27 '17
Finding Klockeed Martian Special Parts
So I'm trying to rebuild an archived version of KSP .90 I lost a year or so ago. The flotation devices in this mod were really cool and I used them pretty extensively in a few of my builds.
Unfortunately it seems at some point the maintainer of the original mod was harassed by a user on the official forums and basically shuttered the mod. Because KM Special Parts was only ever really hosted on the KM github which is now gone, as far as I can tell, I cannot find this mod mirrored anywhere else.
So my question is does anyone have an archived copy of this mod they could re-upload somewhere?
r/KSPModDevelopment • u/VileTouch • Mar 28 '17