Jump to content

Lagrange Proyect


LucalisIndustries

Recommended Posts

Love the idea of this mod, but I've encountered a minor issue: in Career Mode, many contracts point to the Lagrange points since the game actually considers them to be planets (also "storyline" contracts, i.e., from Kerbin World-Firsts Record-Keeping Society), and even new strategies from the mod Strategia appear focused on the points. While orbital survey contracts are somewhat realistic (we actually do that IRL, like JWST or Euclid), things become a little weird when it is asked to land on a Lagrange point.:blink:

I guess future updates could consider a way to disable the L-points from contracts

Link to comment
Share on other sites

  • 2 weeks later...
On 6/28/2024 at 5:15 AM, ScareCrxw said:

Hey, I've been encountering an issue with the Duna L2 point where it seemingly 'disappears'. I can still see it on the map, target it, but whenever I'm close to it, it's sphere of influence just disappears and I'm ejected into the sun orbit. Haven't had that issue with any other point so far

huh, will check it asap

Link to comment
Share on other sites

On 7/2/2024 at 4:26 AM, Rjoande said:

Love the idea of this mod, but I've encountered a minor issue: in Career Mode, many contracts point to the Lagrange points since the game actually considers them to be planets (also "storyline" contracts, i.e., from Kerbin World-Firsts Record-Keeping Society), and even new strategies from the mod Strategia appear focused on the points. While orbital survey contracts are somewhat realistic (we actually do that IRL, like JWST or Euclid), things become a little weird when it is asked to land on a Lagrange point.:blink:

I guess future updates could consider a way to disable the L-points from contracts

I must advice, do not try to land on them or even get excesively near, the way they works (cos of how ksp works) makes them unstable, that said, I don't know how to disable the contracts for them, I'll check on that and try to do a patch.

Link to comment
Share on other sites

  • 2 weeks later...
On 7/16/2024 at 11:20 AM, LucalisIndustries said:

I must advice, do not try to land on them or even get excesively near, the way they works (cos of how ksp works) makes them unstable, that said, I don't know how to disable the contracts for them, I'll check on that and try to do a patch.

You're doing Lagrange points as celestial bodies, right? It looks like the Contract system multiplies contract destination weight by a body's RecoveryValue. Try setting it to 0 for the Lagrange points. 

In the Properties node

Properties
{
	<various properties>
	ScienceValues
	{
		RecoveryValue = 0
	}
}

All fields you can set for a body's ScienceValues. (They default to 1 )

LandedDataValue 
SplashedDataValue
FlyingLowDataValue 
FlyingHighDataValue
InSpaceLowDataValue 
InSpaceHighDataValue
RecoveryValue

 

Not sure what you want to do with these, if anything.

flyingAltitudeThreshold 
spaceAltitudeThreshold 

CAVEAT: I don't know for a fact that this will stop contracts from showing up. I believe it will. They might show up anyway but immediately fail if accepted. (a lot of things depend on the destination weight, so deadline time, funds, science, it's reasonable to think that if a body has no value then the contract system shouldn't generate contracts for that body. If that assumption is wrong then you get the contracts anyway and they autofail/don't provide value)

Edited by Starwaster
Link to comment
Share on other sites

On 7/24/2024 at 12:39 PM, Starwaster said:

You're doing Lagrange points as celestial bodies, right?

It's the only way you can do them without principia.

On 7/24/2024 at 12:39 PM, Starwaster said:

Try setting it to 0 for the Lagrange points.

will do the try later, thanks for the idea!

Link to comment
Share on other sites

  • 1 month later...

Hey! I love the concept of this mod so much. I recently started using the ballisticfox update of the Beyond Home planet pack https://github.com/ballisticfox/BeyondHomePlanetMod. While I know what lagrange points are and how they work, I'm, admittedly, not familiar with how lagrange point calculations are made so I don't think I could figure out the Beyond Home system myself. Would you be willing to look into it? The core system has a binary star which might make things too complicated (or the fun kind of complicated) so you could likely just calculate it based on their Barycenter.

There's also the kcalbeloh planet addition pack which adds a black hole system which might be interesting to take a look at!

Link to comment
Share on other sites

  • 4 weeks later...
On 8/25/2024 at 5:48 PM, AmberAtelier said:

Hey! I love the concept of this mod so much. I recently started using the ballisticfox update of the Beyond Home planet pack https://github.com/ballisticfox/BeyondHomePlanetMod. While I know what lagrange points are and how they work, I'm, admittedly, not familiar with how lagrange point calculations are made so I don't think I could figure out the Beyond Home system myself. Would you be willing to look into it? The core system has a binary star which might make things too complicated (or the fun kind of complicated) so you could likely just calculate it based on their Barycenter.

There's also the kcalbeloh planet addition pack which adds a black hole system which might be interesting to take a look at!

I'll check on them, the main thing needed is the orbital periods... which is not exactly simple because most times they're not defined as a number, you need to manually calculate them unless they're on the .cfg of the planet, but as KSP does the calculation automatically with the orbital data, it's not something you ussually write

Link to comment
Share on other sites

  • 2 weeks later...
On 9/22/2024 at 12:48 AM, LucalisIndustries said:

I'll check on them, the main thing needed is the orbital periods... which is not exactly simple because most times they're not defined as a number, you need to manually calculate them unless they're on the .cfg of the planet, but as KSP does the calculation automatically with the orbital data, it's not something you ussually write

You can install Planet Info Plus, which adds a configurable planet info menu that allows you to see their orbital periods.

Edited by Iapetus7342
for the love of me i cannot type
Link to comment
Share on other sites

On 9/30/2024 at 10:05 AM, Iapetus7342 said:

You can install Planet Info Plus, which adds a configurable planet info menu that allows you to see their orbital periods.

will check, but I think they're not as precise as I need, but will check.

Link to comment
Share on other sites

  • 5 weeks later...

Damn Lagrange points without Principia? Gotta try, I'd love to use Principia but I got disheartened when I saw on the KSS2 github that Principia is not compatible so I only have Principia on my RSS game files. Now i Can Lagrange points in my stock system though I'll have to wait like 2 hours just have the game start up since I have at least 20 mods.

Link to comment
Share on other sites

On 11/2/2024 at 7:58 AM, heakhaek said:

Damn Lagrange points without Principia? Gotta try, I'd love to use Principia but I got disheartened when I saw on the KSS2 github that Principia is not compatible so I only have Principia on my RSS game files. Now i Can Lagrange points in my stock system though I'll have to wait like 2 hours just have the game start up since I have at least 20 mods.

Tell me if you found any problem please, hope you like it!

Link to comment
Share on other sites

1 hour ago, Bej Kerman said:

Cause these act nothing like lagrange points.

Since we're stuck with patched conics and spehere-of-influence based orbital mechanics, one has to improvise.  To have real  Lagrange points you'll need n-body physics. If you don't have that but you do want (semi-stable) fixed positions around planetary bodies, then you have to improvise.

There's a lot in KSP that doesn't act like anything in reality and we're still pretty happy with it.

Link to comment
Share on other sites

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