Jump to content

[request] F and G class asteroids


Sharpy

Recommended Posts

  On 1/6/2017 at 6:07 PM, Sharpy said:

1.62^2=2.7225 so two classes up seems to be it. Gonna wait some time for new asteroids to spawn - while radius changes dynamically, mass seems to be assigned at spawning time (basing on radius) and saved. The fixed patch got size in check, but the asteroid remained as heavy as before.

Expand  

Allow me to correct the above a bit, could be I wasn't clear before, radius goes with the cubic root (not the square root) of volume. 1.65^3 = ~4.5.

Can't tell about the patch; but certainly each asteroid when discovered has a size assigned (not exact mass, that is determined only after it enters the bubble if I'm right)

Link to comment
Share on other sites

  On 1/6/2017 at 6:17 PM, diomedea said:

Allow me to correct the above a bit, could be I wasn't clear before, radius goes with the cubic root (not the square root) of volume. 1.65^3 = ~4.5.

 

Expand  

Not volume. I have no direct control over volume. Class.

I can set radius multiplier. So, how much larger radius does class G have than class E?

Link to comment
Share on other sites

@Sharpy, given that insight about density being too low, would there be a way to use MM to increase the mass without changing the size of the asteroids? The previous MM config you shared increases the size.

This may give us more "realistic asteroids"

Link to comment
Share on other sites

@PART:HAS[@MODULE[ModuleAsteroid]]
{
	@MODULE[ModuleAsteroid]
	{
		@density *= 33.3333333333333  // Stock asteroids will have density of 1.0
		maxRadiusMultiplier = 5.0  //Default is 1.25 so up to four times larger
	}
		
	@density *= 33.3333333333333  // Stock asteroids will have density of 1.0
}

This is Roverdude's ART patch for the asteroids.

 

Link to comment
Share on other sites

  On 1/7/2017 at 2:03 AM, Sharpy said:
@PART:HAS[@MODULE[ModuleAsteroid]]
{
	@MODULE[ModuleAsteroid]
	{
		@density *= 33.3333333333333  // Stock asteroids will have density of 1.0
		maxRadiusMultiplier = 5.0  //Default is 1.25 so up to four times larger
	}
		
	@density *= 33.3333333333333  // Stock asteroids will have density of 1.0
}

This is Roverdude's ART patch for the asteroids.

 

Expand  

I've been toying with a mix of your and @RoverDude's configs. When I tried yours, which increases size, I found a lot of issues with the collision boxes. Maybe it was just bad luck, but in the half dozen encounters I tried it appeared the the collision boxes were less accurate relative to the asteroid skin. I'm thinking that increasing the size just exacerbated the collision box issues the asteroids already had. 

Here's the config that I've settled on:

  Reveal hidden contents

This config gave me a class A @ 500 tons, Class B @ 2400 tons and a Class C @ 11K tons. Of course there's a random factor, but if these are somewhat representative, it would make Class A and B manageable, but anything larger a real challenge.

 

As a side question...do ALL asteroids use the same model? 

Edited by Tyko
Link to comment
Share on other sites

  On 1/13/2017 at 5:53 PM, Tyko said:

I've been toying with a mix of your and @RoverDude's configs. When I tried yours, which increases size, I found a lot of issues with the collision boxes. Maybe it was just bad luck, but in the half dozen encounters I tried it appeared the the collision boxes were less accurate relative to the asteroid skin. I'm thinking that increasing the size just exacerbated the collision box issues the asteroids already had.

[...]

 

This config gave me a class A @ 500 tons, Class B @ 2400 tons and a Class C @ 11K tons. Of course there's a random factor, but if these are somewhat representative, it would make Class A and B manageable, but anything larger a real challenge.

 

As a side question...do ALL asteroids use the same model? 

Expand  

Asteroids have their collider much simpler than the actual model. The discrepancy is directly proportional to the asteroid size, so obviously larger asteroids will have it worse.

By giving the asteroids the same min. and max. size, you've removed the random factor :) The randomness is still in ore content (some 70-90%) but not in size.

All asteroids are procedurally generated, you have a 'seed' in your save file which decides what is the asteroid looks like. Regardless, they all look very similar. There's a different layout of bumps, holes, hills and ridges, but they all have bumps, holes, hills and ridges, and it's quite hard to tell them apart just by looks if you don't remember the specific layout (and why would you do that?)

Link to comment
Share on other sites

  On 1/13/2017 at 7:11 PM, Sharpy said:

Asteroids have their collider much simpler than the actual model. The discrepancy is directly proportional to the asteroid size, so obviously larger asteroids will have it worse.

By giving the asteroids the same min. and max. size, you've removed the random factor :) The randomness is still in ore content (some 70-90%) but not in size.

All asteroids are procedurally generated, you have a 'seed' in your save file which decides what is the asteroid looks like. Regardless, they all look very similar. There's a different layout of bumps, holes, hills and ridges, but they all have bumps, holes, hills and ridges, and it's quite hard to tell them apart just by looks if you don't remember the specific layout (and why would you do that?)

Expand  

hmm..thanks for that tip. I've spent the last few hours messing with the numbers, but haven't quite understood how they affect the final size. part of the problem is that I only take a few random samples with each change - a A or 2, a C or 2 and a couple of E's. 

Can you explain how the various settings work?

I'm assuming "Density" increases mass, but not size, while the other two limit min and max sizes. Although I'm confused that the default Max is 0.95 while Min is 1.25

Edited by Tyko
Link to comment
Share on other sites

  On 1/13/2017 at 11:31 PM, Tyko said:

hmm..thanks for that tip. I've spent the last few hours messing with the numbers, but haven't quite understood how they affect the final size. part of the problem is that I only take a few random samples with each change - a A or 2, a C or 2 and a couple of E's. 

Can you explain how the various settings work?

I'm assuming "Density" increases mass, but not size, while the other two limit min and max sizes. Although I'm confused that the default Max is 0.95 while Min is 1.25

Expand  

Sizes are radius multipliers, range between smallest and largest of given class. I'm not sure what the baseline is but the mass is asteroid volume (dependent on third power of radius) times density. So, Radius is the original "generated/regulated" value (this is what 'asteroid spawner' creates basing on config and random number), and the volume and mass is calculated from that.

Since we know mass is related to  e^(1.5 x class ), but mass is a derived value, uh... the formula for spawned radius will be rather nasty.

Link to comment
Share on other sites

  • 2 years later...
  On 1/14/2017 at 4:10 AM, Sharpy said:

Sizes are radius multipliers, range between smallest and largest of given class. I'm not sure what the baseline is but the mass is asteroid volume (dependent on third power of radius) times density. So, Radius is the original "generated/regulated" value (this is what 'asteroid spawner' creates basing on config and random number), and the volume and mass is calculated from that.

Since we know mass is related to  e^(1.5 x class ), but mass is a derived value, uh... the formula for spawned radius will be rather nasty.

Expand  

Has this idea been made into a mod ? I want bigger asteroids myself ! 

Link to comment
Share on other sites

  • 1 year later...
  On 12/25/2016 at 1:26 AM, Sharpy said:

Reading the files of ART, and KSP API if we sacrifice class A and B (I never really found any use for these),

@PART:HAS[@MODULE[ModuleAsteroid]]
{
	@MODULE[ModuleAsteroid]
	{
		maxRadiusMultiplier = 19.08 //Default is 0.95 
		minRadiusMultiplier = 25.1  //Default is 1.25
	}
}

this should simply bump all the asteroids two classes up size-wise. "New class C" would be "Old class E".  New class E would be  around 17 to 76 thousand tons. Further testing required.

Expand  

How can I find these parameters?

Link to comment
Share on other sites

  On 7/7/2020 at 4:35 PM, CarefreeFish said:

How can I find these parameters?

Expand  

This is a module manager patch, which will modify the values without actually changing the files. Download the mod, and copy/paste the text into an empty text file in your GameData folder. Make sure that the file extension is .cfg!

Link to comment
Share on other sites

NEW IDEA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Z CLASS ASTEROIDS                         

Link to comment
Share on other sites

  On 7/8/2020 at 4:07 AM, Souptime said:

NEW IDEA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Z CLASS ASTEROIDS                         

Expand  

That’s Gilly.

Link to comment
Share on other sites

NEW IDEA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Z Z  P L U S  A S T E R O I D S

Link to comment
Share on other sites

  On 7/8/2020 at 7:09 PM, Souptime said:

NEW IDEA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Z Z  P L U S  A S T E R O I D S

Expand  

That’s Dres Tylo.

              ^
              |
              |
What’s a Dres?

Link to comment
Share on other sites

NEW IDEA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 Z Z Z  P L U S  A S T E R O I D S

Link to comment
Share on other sites

  • 4 months later...
I have copernicus and sigma installed at 1.10 and redux. Asteroids with signatures from F to I are generated on the map by themselves. But when they approach, they have the mass and dimensions of the E class. Who saw this? And if somewhere in these mods new dimensions are already laid, how to correct the Phys. generation to match the size of the class.
Edited by redrem
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...