Jump to content

How does the Celestial Orb actually spawn?


Recommended Posts

I am considering activating Lunar Rifts at the start of my world by rushing Celestial Champion (b/c that is just something I want to try), but the big thing I'm having trouble understanding are the exact conditions for the Celestial Orb to spawn.

My understanding is this:

The celestial orb initially has a 34% chance to spawn. This increases by 34% every time a moon boulder spawns during a meteor shower.

The moon boulder has a 15% chance to spawn if the meteor that spawns is the largest meteor size (idk what the odds are for the size, but the sizes themselves are small, medium, and large).

If it's day 60, the chance for it to spawn is 100% but Idk if that means you need to wait for another meteor shower?

And there's something where if there are too many boulders (>5), there isn't room for meteors to spawn?

Any additional info would be appreciated.

afaik the 100% meteor chance after day 60 means that the next moonrock boulder that spawns will be guaranteed to be replaced by the smooth meteor, not that it will be guaranteed to land in the next meteor shower (basically there's no guarantee you'll ever even get the orb at all)

25 minutes ago, lakhnish said:

And there's something where if there are too many boulders (>5), there isn't room for meteors to spawn?

I heard meteors don't leave boulders behind if they land too close to an existing boulder but this is my first time hearing about this, this seems like a myth 

28 minutes ago, lakhnish said:

if that means you need to wait for another meteor shower?

 

Yes, you do. The first moon rock boulder to fall since day 60 is guaranteed to be the celestial orb boulder(if one hasn't spawned already), so you would have to wait for another meteor shower.

30 minutes ago, lakhnish said:

And there's something where if there are too many boulders (>5), there isn't room for meteors to spawn?

Yes, at any point, if there are 5 or more boulders in a 22.6* unit length radius circle around that point, boulders can't spawn on it.

*Actual value is 40/sqrt(pi), also 1 unit length is a quarter of 1 tile length

18 minutes ago, Guille6785 said:

heard meteors don't leave boulders behind if they land too close to an existing boulder but this is my first time hearing about this, this seems like a myth 

I read it on the wiki but also saw it in shadowmeteor.lua as well:

Spoiler
for i, v in ipairs(inst.loot) do
            if math.random() <= v.chance then
                local canspawn = true
                --Check if there's space to deploy rocks
                --Similar to CanDeployAtPoint check in map.lua
                local ents = TheSim:FindEntities(x, y, z, FIVERADIUS, BOULDER_TAGS)
                if #ents < 5 then --RIGHT HERE
                    ents = TheSim:FindEntities(x, y, z, EXCLUDE_RADIUS, nil, BOULDERSPAWNBLOCKER_TAGS)
                    for k, v in pairs(ents) do
                        if v ~= inst and
                            not launched[v] and
                            v.entity:IsValid() and
                            v.entity:IsVisible() and
                            v.components.placer == nil and
                            v.entity:GetParent() == nil then
                            canspawn = false
                            break
                        end
                    end
                else
                    canspawn = false
                end
                if canspawn then
                    local drop
                    if TheWorld.components.worldmeteorshower ~= nil then
                        drop = TheWorld.components.worldmeteorshower:SpawnMeteorLoot(v.prefab)
                    else
                        drop = SpawnPrefab(v.prefab)
                    end
                    if drop ~= nil then
                        drop.Transform:SetPosition(x, y, z)
                        if drop.components.inventoryitem ~= nil then
                            drop.components.inventoryitem:OnDropped(true)
                            launched[drop] = true
                        end
                    end
                end
            end
        end

 

 

9 minutes ago, _zwb said:

The first moon rock boulder to fall since day 60 is guaranteed to be the celestial orb boulder(if one hasn't spawned already), so you would have to wait for another meteor shower.

Okay, so once it hits 100% odd chance (or whatever spawn chance it's at), it replaces the next moon meteor, which has a 15% chance of actually spawning when the size of the meteor is large, and what I'm reading in meteorshower.lua is that a large meteor size is a 20% chance to spawn. Is that correct?

11 minutes ago, _zwb said:

Yes, at any point, if there are 5 or more boulders in a 22.6* unit length radius circle around that point, boulders can't spawn on it.

*Actual value is 40/sqrt(pi), also 1 unit length is a quarter of 1 tile length

Wait, this means that in a 22.6 tile radius, more boulders won't spawn in the radius if there are more than 5 boulders?

I guess all of these factors, if I understood them right, is the reason why some folks get orbs very late in their worlds?

1 hour ago, lakhnish said:

which has a 15% chance of actually spawning when the size of the meteor is large, and what I'm reading in meteorshower.lua is that a large meteor size is a 20% chance to spawn. Is that correct?

It is correct

1 hour ago, lakhnish said:

22.6 tile

Not 22.6 tile, 1 tile is 4 units wide. It won't spawn in a 22.6 unit distance radius circle if 5 or more is present.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...