Jump to content

How do I add rings?


A425

Recommended Posts

Hi everyone.

I've been having some trouble adding rings to a planet. I added a texture and tried to configure the rings based on what I've seen in other mods, but whatever I do, they don't seem  to appear anywhere. I'll show that part of my config file here, if anyone knows how to fix it.


Rings

        {

            Ring

            {

                angle = 0

                outerRadius = 32500
                innerRadius = 24500
                texture = PlanetaryMadnessWIP/IceGiants/Textures/SethRings.png                color = 1,1,1,1

                lockRotation = false

                unlit = false

            }

        }
If this is relevant for anything, the planet radius is 24000000m.

Edited by A425
Typo D:!
Link to comment
Share on other sites

1 hour ago, A425 said:

                texture = PlanetaryMadnessWIP/IceGiants/Textures/SethRings.png                color = 1,1,1,1

If this paste is accurate, this line is invalid because it has two lines' worth of data. Add a line break after the texture file name and before "color".

Link to comment
Share on other sites

1 hour ago, HebaruSan said:

If this paste is accurate, this line is invalid because it has two lines' worth of data. Add a line break after the texture file name and before "color".

That maybe happened when I was editing the texture file, I didn't notice that got messed up!

Thx for your help ^^

 

Link to comment
Share on other sites

Also beware that the inner and out radii are in units of planet radii, with 3 implied decimal places.  So 24500 and 32500 are 24.5 and 32.5 planet radii, measured from the center of the planet.  That's really far away, I kind of doubt that's what you have in mind.

Link to comment
Share on other sites

1 hour ago, OhioBob said:

Also beware that the inner and out radii are in units of planet radii, with 3 implied decimal places.  So 24500 and 32500 are 24.5 and 32.5 planet radii, measured from the center of the planet.  That's really far away, I kind of doubt that's what you have in mind.

Thanks for explaining that @OhioBob, I was kinda puzzled about what that number meant XD. So yeah, changed to 2450 and 3250

Edited by A425
Typo D:!
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...