Jump to content

Launch position


Recommended Posts

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?

Link to comment
Share on other sites

I literally have no idea what you are asking about.

Can anyone help me with a problem i have when I put Kerbal into a different orbit.
Different orbit meaning another planet's orbit or a different orbit inclination?
Everything seems OK but if i launch i launch in the middle of nowhere in space.
Erm, what? Do you mean you have http://forum.kerbalspaceprogram.com/threads/59545-0-23-Extraplanetary-Launchpads-v3-6?highlight=launchpad or that the game bugs and sends your ship to space, or strange things happen when you EVA, or that stage separation doesn't happen right in orbit?
It seems as the launch position is still in the old position.
Unless you have Extraplanetary-Launchpads, the launch position will always be the same, unless you tilt the whole ship on the launchpad.
Anyone have a solution for this?
I have no idea what needs solving... Unless you mean that maneuver nodes disappear when you go EVA and this is what you mean by launching?
Link to comment
Share on other sites

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.

Edited by Galantir
Link to comment
Share on other sites

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.

The problem is that you didn't ask a precise question.

In the OP, you wrote:

Can anyone help me with a problem i have when i put kerbal into a different orbit.

So a Kerbal is one of the little green guys.

And now all of a sudden it's about the planet Kerbin itself:

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.

Can you see why this makes it difficult to understand your question?

Link to comment
Share on other sites

Thanks Blizzy78, I think I now understand what he is asking.

You are making a mod to move the planet Kerbal (not a single Kerbal or Kerbal ship). In doing this, any new ships you launch, launch from the empty spot in space where you moved the planet from.

I would suggest looking at the code of another planetary mod if no one reply's to this problem. I have no experience with moving planets. Also try making your "i"'s capital, without it I assume you are not English and using a translation program, and I have dyslexia so I'm not really a big grammar man but this still shows up to me.

Edited by Clockwork_werewolf
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

although I'm not entirely sure why it resolves the problem.
Heh that sounds like about half of the worlds bug fixes, I'm sure you will realise later or have something else break later. Well done though, "if it's stupid but works, it's not stupid". Why are you trying to move Kerbin after loading by the way? Are you making it move weirdly after game start? It seems like a strange but interesting problem.
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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