Jump to content

Ore.cfg


MatterBeam

Recommended Posts

Hello.

Has anyone written a Module Manager config for the "Ore.cfg" file found in Gamedata/Squad/Resources?

If yes, can I see it?

It would allow me to modify the planetary distribution of the Ore resource. Currently, I can only do that by overwriting the original file.

Link to comment
Share on other sites

What do you want to change in there ?

The global node (the check for Ore is important because an other mod could add something else)


@GLOBAL_RESOURCE:HAS[#ResourceName[Ore]]
{
@Distribution
{
@PresenceChance = 90
}
}

A PLANETARY_RESOURCE nodes :


@PLANETARY_RESOURCE:HAS[#PlanetName[Eve],#BiomeName[Explodium?Sea]]
{
@Distribution
{
@PresenceChance = 2
}
}

And if you want to add a config for a specific planet/biome you just add them in your cfg if they are not already in the stock file


BIOME_RESOURCE
{
ResourceName = Ore
ResourceType = 0
PlanetName = Duna
BiomeName = Pole

Distribution
{
PresenceChance = 0
MinAbundance = 0
MaxAbundance = 0
Variance = 0
Dispersal = 0
}
}

Link to comment
Share on other sites

What do you want to change in there ?

The global node (the check for Ore is important because an other mod could add something else)


@GLOBAL_RESOURCE:HAS[#ResourceName[Ore]]
{
@Distribution
{
@PresenceChance = 90
}
}

A PLANETARY_RESOURCE nodes :


@PLANETARY_RESOURCE:HAS[#PlanetName[Eve],#BiomeName[Explodium?Sea]]
{
@Distribution
{
@PresenceChance = 2
}
}

And if you want to add a config for a specific planet/biome you just add them in your cfg if they are not already in the stock file


BIOME_RESOURCE
{
ResourceName = Ore
ResourceType = 0
PlanetName = Duna
BiomeName = Pole

Distribution
{
PresenceChance = 0
MinAbundance = 0
MaxAbundance = 0
Variance = 0
Dispersal = 0
}
}

Thank you so much.

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