Jump to content

I made a small planet sized asteroid and I have some questions...


sokid2k

Recommended Posts

I used someone else's asteroid and just made it REALLY big (which is perfectly okay to do and no..i'm not going to release this as a mod unless I create my own asteroid. This is for my own personal use). At 25 KM away it looks really big still but when I warp it disappears and as soon as i stop the warp it appears again. Also, when I get 30 KM away it disappears. I'm guessing that distance is where the game stops rendering random objects like debris, pods, etc. So my question is...would there be a way to make this into a planet so that it is visible from very far away kind of like minmus is from kerbin? I noticed this in the settings code.

PLANET
{
name = Kerbin
minDistance = 6
minSubdivision = 1
maxSubdivision = 9
}
PLANET
{
name = KerbinOcean
minDistance = 6
minSubdivision = 1
maxSubdivision = 7
}
PLANET
{
name = Mun
minDistance = 6
minSubdivision = 1
maxSubdivision = 8
}
PLANET
{
name = Minmus
minDistance = 6
minSubdivision = 1
maxSubdivision = 6

So could there be a way to add it to the list of planets and how exactly could I add gravity? Is there a way to copy the Muns code or something and use it on the asteroid? I'm not good with coding really. I just kind of know the basics but I would love to hear everyone's thoughts on how this can be done. There has to be a way. Nothing is impossible.

Link to comment
Share on other sites

Your first problem has to do with the unity floating point number system and its accuracy. Every time you go from physical to on-rail time warp the accuracy of it deminishes very quickly hence the teleporting of the object. As for gravity, that I cannot help you with but DRAkTEC Asteroids mod introduces I believe asteroids with limited gravity as well as a few other things. If this isn't the mod that has the gravity, someone has made a version of these asteroids that I am sure have gravity because I was a tester for it, but, atm, I do not have a link available.

Link to comment
Share on other sites

So could there be a way to add it to the list of planets

That list you've quoted is just the terrain detail level settings. They're not responsible for anything you're after, and indeed if you're using a solid model rather than a quadtree they won't apply to you anyway.

Try looking at the components attached to the existing planets in game, perhaps something like a celestialBody component would generate the gravity and keep it visible (you'd need a plugin, there's no support for adding planets in config files).

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