Galantir
Members-
Posts
17 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by Galantir
-
Atm i'm totally rewriting the code base and taking it in a slightly different direction which should have less problems. It won't be completely random but will have a function to randomly select from a set of systems. I have created it in such a way that systems could easily be added pretty much by anyone. Offcourse it will also have the option to choose a praticular system. Creating a system however still requires some work, so the next release will probably only have one system. I am also working on implementing chaning more than orbits but this still has to be tested at this stage. Along with this all there will probably be a name change since the name doesn't entirely fit the addon anymore.
-
I made some sort of format for creating your own system. On starting a new game in either career or sandbox you get a selection box which of the installe dsystems you would like to play in. Then it gets linked to that particular saved game so each time you load it the correct system is loaded. This is why i need to be at the spacecenter screen to get the loaded game name. I also found out a bit more. It was not a fix, just me pressing a button at the right moment. It seems it still works ok during loading, just not when at the space center. I actually need to go back to main menu change system and then reload the saved game again in code(so far no luck on reloading the saved game) or have the user reload the saved game manually for everything to work ok. Atm i'm stil left with two issues. 1. fix the problem above. 2. When i tell the GUI to be visible at the main menu it already is visble at the loadscreen which i do not want since it can cause problems. I still haven't found a way to correctly show the GUI at the right moment.
-
None of the other mods seem to have this problem since they do it at the main menu. It does not seem to be a problem when you change the planets at the main menu it only occurs when you change planets when in a game already. I seem to have found my way around this problem myself now by reloading the flightstate, although i'm not entirely sure why it resolves the problem.
-
I don't see what is so hard to understand about the question when you know we're in the "Plugin Development Help and Support" part of the forum. It's about getting help developing in here. I honoustly don't see how i can ask this differently. I gave Kerbin a new orbit (so no not only a new inclination an entirely new orbit) but the launch still occurs in it's old postion at the old orbit. Thus not on the planet Kerbin but in the middle of space. I would like that to happen on Kerbin again in it's new orbit. I've looked at some code of other addons but don't see anything about repositioning the launch position to the new orbit. I found out a little more. Seems when i change it's orbit on MainMenu the launch position does seem to move along with Kerbin. When you do it at the Spacecenter screen it doesn't move along with Kerbin. I however need to do this at the spacecenter screen instead of mainmenu since i need the name of the game loaded. So somehow when loading a game or strting a new one this position is attached to Kerbin. What i need to know is how to attach it after a game is loaded.
-
Can anyone help me with a problem i have when i put kerbal into a different orbit. Everything seems ok but if i launch i launch in the middle of knowhere in space. It seems as the launch position is still in the old position. Anyone have a solution for this?
-
Thank you very much. BTW, it's not derivative, it gave me the idea and i only used like 12 lines of code from it. The rest is completely custom code. I'm working hard on getting this polished but that should not be too much of a problem with the help of the kerbal community.
-
My appologies, english is not my first language and although i'm not extremely bad i do sometimes seem to mis part of the context. I would still like to ask your permission and will act accordingly with your reply. As far as the sanity checks go, there's a lot more that needs to be checked atm which i still didn't do and which potentially might cause problems. It is still a work in progress and i released it this quick since i need information like yours and also more ideas(i'm not the best at that). Math also isn't my strongest side so things like that can take me a while to implement or fix.
-
Yeah there was a huge bug in it should be fixed now though.
-
Noticed that myself and also seems i found the problem.
-
One of the posts in this thread has some screenshots. I'll provide screenshots on the next build myself, since it will include a raw GUI for users to use to control parameters(testing this atm).
-
At the moment it only randomizes their location and which moons orbit the planet.
-
Ow damn forgot that will take care of that on next release which should be there soon.
-
I'm actually working on giving the user more control over things such as inclination, eccentricity. I'm also working on randimizing the planets and moons stats a bit more, maybe even textures. So don't worry there's more on the way.
-
I am proud to present my first addon: RandomSolarSystem 0.2 This addon will randomize your solar system every time you start a new game in either career or sandbox mode and saves it along with your save file. Sharing the solar system save file enables you to share solar systems with friends. This is very much a work in progress so do expect bugs to happen. Download Source code Credits also go to the creators and contributers of both: remotetech 2 and Alternis Kerbol and TreeLoader Please do share comments and suggestions. License: You can do pretty much whatever you want as long as you credit the credited mods and me in your mod or readme file. TODO: Change more features on planets and moons. Changes: v0.2 -Added basic GUI giving users control over parameters. -Added an initial Configuration with more realistic values. -Fixed a problem with moons not orbiting their planets correctly. -Fixed a bug when saving the solarsystem file.
-
I'm proud to present to you my first mod: RandomSolarSystem. It rearranges all planets and moons every single time you start up a new game in either career or sandbox mode. The system gets saved with your save file so that every time you load up a game you end up in it's own solar system. By sharing the solar system files with friends they can enjoy the exact same solar system as you are. This is still very much a work in progress so expect bugs. TODO: Use more realistic values for randomization. Better user control. Credits also go to: NovaSilisko and the creators and contributers of remotetech 2 for making their source available for others. Please do leave comments and suggestions. PS: Source will be available soon on github. Download