Author Topic: Rich oil/lithium minimum area?  (Read 1553 times)

SavingPrivatePyle

  • Newbie
  • *
  • Posts: 19
    • View Profile
Rich oil/lithium minimum area?
« on: January 29, 2021, 09:28:59 pm »


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

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 2018
    • View Profile
Re: Rich oil/lithium minimum area?
« Reply #1 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:
Code: [Select]
Core.cpk/Scripts/Zones/Scripts/Resources/SpawnDepositGeothermalSpring.cs
Core.cpk/Scripts/Zones/Scripts/Resources/SpawnDepositOilSeep.cs

Find the line:
Code: [Select]
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!