Jump to content

Asteroids editing


Matteoksp

Recommended Posts

On 11/20/2021 at 9:18 PM, OHara said:

A way to edit in a save-file is in this thread (inside a spoiler block): 

 

 

Thanks a lot.So essentially there are two ways to do this:

 

 

The first method is applicable if u have already entered in the asteroid's physics range(2.5km) or you are docked to it: in your savefile by searching your asteroid's name you will find a ModuleAsteroid and under it CurrentState. this needs to be set to 2 if you want your asteroid to be a magic boulder.

Example:

MODULE
                {
                    name = ModuleAsteroid
                    isEnabled = True
                    seed = -36783451
                    AsteroidName = Ast. KJH-264
                    prefabBaseURL = Procedural/PA_E
                    currentState = 1
                    stagingEnabled = True

The second method will change the probability that a new asteroid is a magic boulder.

inside your game data folder there is a file calledModuleManager.ConfigCache. inside this file you can search ModuleAsteroid and under it you will see SecondaryRate. This value is the probability that a new asteroid is a Magic Boulder(0 is 0%, 1 is 100%)

Example

name = ModuleAsteroid
            density = 0.03
            secondaryRate = 0.05

Hope this will be useful

 

 

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