AtomicTorch Studio Forums

CryoFall => Bug reports => Topic started by: SavingPrivatePyle on January 29, 2021, 09:28:59 PM

Title: Rich oil/lithium minimum area?
Post by: SavingPrivatePyle on January 29, 2021, 09:28:59 PM
(https://i.imgur.com/NpDsQFt.png)

Is there a minimum amount of real estate required for rich lithium and subsequent oil to spawn?  Xeno has been available for 2.5 days and there is only a single oil node and 0 lithium nodes so far
Title: Re: Rich oil/lithium minimum area?
Post by: ai_enabled on January 30, 2021, 05:55:03 PM
Hello!

The number of oil/Li deposits depends on the zone size and configured spawn density.
As you intend to have a small map, I would suggest overriding the spawn density for the oil/Li deposits by including the override scripts into your map's MPK distribution.

Edit these two files:

Core.cpk/Scripts/Zones/Scripts/Resources/SpawnDepositGeothermalSpring.cs
Core.cpk/Scripts/Zones/Scripts/Resources/SpawnDepositOilSeep.cs


Find the line:
spawnList.CreatePreset(interval:
and change the interval constant there. The smaller the value, the higher spawn density you will get (the density is calculated as "1 / (interval * interval)").
Experiment with the numbers until you get a desired number of the deposits while using CryoFall Editor -> F8 -> Zone tool -> "Invoke select zone scripts" (press it several times as each call will spawn only a single node per biome).

Regards!